From a0112ba724b43dae8c9526a0fcc70192ed69c4f0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 11 Dec 2014 21:38:53 +0100 Subject: [PATCH] Better position of elements --- htdocs/core/tpl/login.tpl.php | 22 +++++++++++++--------- htdocs/core/tpl/passwordforgotten.tpl.php | 21 +++++++++++++-------- htdocs/theme/eldy/style.css.php | 7 ++++--- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 8ce6e631a4a..eabf4c2ad89 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -89,17 +89,17 @@ $(document).ready(function () { - -resArray['options'])) { ?> - @@ -158,7 +162,7 @@ if ($forgetpasslink || $helpcenterlink) if ($dol_use_jmobile) $moreparam.=(strpos($moreparam,'?')===false?'?':'&').'dol_use_jmobile='.$dol_use_jmobile; echo '
'; - echo '
'; + echo '
'; if ($forgetpasslink) { echo '('; echo $langs->trans('PasswordForgotten'); diff --git a/htdocs/core/tpl/passwordforgotten.tpl.php b/htdocs/core/tpl/passwordforgotten.tpl.php index f75804ea524..c517ec611d1 100644 --- a/htdocs/core/tpl/passwordforgotten.tpl.php +++ b/htdocs/core/tpl/passwordforgotten.tpl.php @@ -71,13 +71,13 @@ $(document).ready(function () {
-
+ -" name="username" class="flat input-icon-user" size="15" value="" tabindex="1" autofocus="autofocus" /> +" name="username" class="flat input-icon-user" size="20" value="" tabindex="1" autofocus="autofocus" />
+ -" name="password" class="flat input-icon-password" type="password" size="15" value="" tabindex="2" autocomplete="off" /> +" name="password" class="flat input-icon-password" type="password" size="20" value="" tabindex="2" autocomplete="off" />
+ - + - +
+
- @@ -94,19 +94,24 @@ if (! empty($hookmanager->resArray['options'])) { } ?> - + - @@ -127,7 +132,7 @@ if (! empty($hookmanager->resArray['options'])) {
class="button" name="password" value="trans('SendNewPassword'); ?>" tabindex="4" />
-
+
dol_hide_topmenu)) $moreparam.=(strpos($moreparam,'?')===false?'?':'&').'dol_hide_topmenu='.$conf->dol_hide_topmenu; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 9d29707e1bf..89c779785d5 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -849,7 +849,7 @@ form#login { vertical-align: middle; } .login_table_title { - max-width: 560px; + max-width: 530px; color: #888888; text-shadow: 1px 1px 1px #FFF; } @@ -861,7 +861,7 @@ form#login { margin-right: 10px; padding-left:6px; padding-right:6px; - padding-top:12px; + padding-top:16px; padding-bottom:12px; max-width: 560px; @@ -973,10 +973,11 @@ img.login, img.printer, img.entity { background-image: url(); background-repeat: no-repeat; } +/* .span-icon-user input, .span-icon-password input { margin-right: 30px; - width: 98%; } +*/ /* ============================================================================== */ /* Menu gauche */
+ -" id="username" name="username" class="flat input-icon-user" size="15" value="" tabindex="1" /> +" id="username" name="username" class="flat input-icon-user" size="20" value="" tabindex="1" />
+ - + - +