From ec35616a2707909fd3c5860573401247482513e5 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 8 Jul 2015 23:14:42 +0200 Subject: [PATCH] Resposnify other frontend pages. --- src/application/views/general/error404.php | 23 +++++++++++-- .../views/user/forgot_password.php | 3 +- src/application/views/user/login.php | 19 +++++------ src/application/views/user/logout.php | 16 ++++----- src/application/views/user/no_privileges.php | 34 ++++++++++++------- 5 files changed, 60 insertions(+), 35 deletions(-) diff --git a/src/application/views/general/error404.php b/src/application/views/general/error404.php index 01fc25f0..6f64c38c 100644 --- a/src/application/views/general/error404.php +++ b/src/application/views/general/error404.php @@ -1,8 +1,11 @@ + + + + <?php echo $this->lang->line('page_not_found') . ' - ' . $company_name; ?> - diff --git a/src/application/views/user/forgot_password.php b/src/application/views/user/forgot_password.php index 235b9358..e257ed0c 100644 --- a/src/application/views/user/forgot_password.php +++ b/src/application/views/user/forgot_password.php @@ -58,8 +58,7 @@ @media(max-width: 640px) { #forgot-password-frame { width: 100%; - - padding: 15px; + padding: 20px; } } diff --git a/src/application/views/user/login.php b/src/application/views/user/login.php index 53154d7c..066dea8e 100644 --- a/src/application/views/user/login.php +++ b/src/application/views/user/login.php @@ -37,28 +37,25 @@ @@ -107,7 +104,9 @@ window.location.href = GlobalVariables.destUrl; } else { $('.alert').text(EALang['login_failed']); - $('.alert').removeClass('hidden'); + $('.alert') + .removeClass('hidden alert-danger alert-success') + .addClass('alert-danger'); } }, 'json'); }); diff --git a/src/application/views/user/logout.php b/src/application/views/user/logout.php index 79a5741c..c204151d 100644 --- a/src/application/views/user/logout.php +++ b/src/application/views/user/logout.php @@ -30,12 +30,16 @@