From 42663774545bb9689f22af96ad7531c8807ee13f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 17 Jun 2014 23:02:02 +0200 Subject: [PATCH] Better button layout on error page --- public/css/vroom.css | 3 +++ templates/default/error.html.ep | 23 +++++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/public/css/vroom.css b/public/css/vroom.css index 3dc986f..ce3b871 100644 --- a/public/css/vroom.css +++ b/public/css/vroom.css @@ -257,6 +257,9 @@ text-align: justify; text-justify: inter-word; } +.btn-full { + width: 100% !important; +} html, body { height: 100%; diff --git a/templates/default/error.html.ep b/templates/default/error.html.ep index fada988..d7cc88b 100644 --- a/templates/default/error.html.ep +++ b/templates/default/error.html.ep @@ -5,16 +5,19 @@

<%=l 'ERROR_OCCURRED' %>

<%= $msg %>

-
- <%=l 'BACK_TO_MAIN_MENU' %> - <% if ($err eq 'ERROR_NAME_CONFLICT'){ %> - <%=l 'JOIN_THIS_ROOM' %> - <% } elsif ($err eq 'WRONG_PASSWORD'){ %> - <%=l 'TRY_AGAIN' %> - <% } elsif ($err eq 'ERROR_ROOM_s_LOCKED' && stash 'ownerPass'){ %> - <%=l 'AUTH_IF_OWNER' %> - <% } elsif ($err eq 'ERROR_ROOM_s_DOESNT_EXIST'){ %> - +
+ +
+ <% if ($err eq 'ERROR_NAME_CONFLICT'){ %> + <%=l 'JOIN_THIS_ROOM' %> + <% } elsif ($err eq 'WRONG_PASSWORD'){ %> + <%=l 'TRY_AGAIN' %> + <% } elsif ($err eq 'ERROR_ROOM_s_LOCKED' && stash 'ownerPass'){ %> + <%=l 'AUTH_IF_OWNER' %> + <% } elsif ($err eq 'ERROR_ROOM_s_DOESNT_EXIST'){ %> + <% } %>
<% if ($err eq 'ERROR_ROOM_s_DOESNT_EXIST'){ %>