From 6ae9520b57a4419a3164c3677fd048ba7fee9796 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 22 Oct 2012 13:12:06 +0300 Subject: [PATCH] merged headers for login and reset forms --- web/login/index.php | 3 + web/reset/index.php | 3 +- web/templates/admin/add_cron.html | 1 + web/templates/admin/add_db.html | 1 + web/templates/admin/add_dns.html | 1 + web/templates/admin/add_dns_rec.html | 1 + web/templates/admin/add_ip.html | 1 + web/templates/admin/add_mail.html | 1 + web/templates/admin/add_mail_acc.html | 1 + web/templates/admin/add_package.html | 1 + web/templates/admin/add_user.html | 1 + web/templates/admin/add_web.html | 1 + web/templates/admin/edit_cron.html | 1 + web/templates/admin/panel.html | 7 ++ web/templates/header.html | 50 ++++++-- web/templates/login.html | 150 ++---------------------- web/templates/reset_1.html | 139 +--------------------- web/templates/reset_2.html | 137 +--------------------- web/templates/reset_3.html | 159 +++----------------------- web/templates/user/panel.html | 7 ++ 20 files changed, 110 insertions(+), 556 deletions(-) diff --git a/web/login/index.php b/web/login/index.php index ddd225970..c40f3c6d1 100644 --- a/web/login/index.php +++ b/web/login/index.php @@ -5,6 +5,8 @@ if (isset($_GET['logout'])) { session_destroy(); } +$TAB = 'LOGIN'; + if (isset($_SESSION['user'])) { if ($_SESSION['user'] == 'admin' && !empty($_GET['loginas'])) { if ($_GET['loginas'] == 'admin') { @@ -38,6 +40,7 @@ if (isset($_SESSION['user'])) { } } } + require_once '../templates/header.html'; require_once '../templates/login.html'; } ?> diff --git a/web/reset/index.php b/web/reset/index.php index 0b8017c68..f38019f2f 100644 --- a/web/reset/index.php +++ b/web/reset/index.php @@ -1,6 +1,6 @@ + + +
+ + +
diff --git a/web/templates/header.html b/web/templates/header.html index a38b9e90b..c58cc559b 100644 --- a/web/templates/header.html +++ b/web/templates/header.html @@ -657,6 +657,49 @@ min-height: 370px; } + .login { + font-family: Arial, sans-serif; + margin: 80px 0 80px 0; + padding: 0; + border-top: 1px solid #cccccc; + border-left: 1px solid #cccccc; + border-right: 1px solid #cccccc; + background: #ebe9dc; + text-align: left; + vertical-align:top; + width: 500px; + box-shadow: 0 0 2px 2px #d7d7d7; + } + + .login-box { + text-align: left; + vertical-align:top; + padding: 0 0 10px 40px; + color: #333; + } + + .login-bottom { + color: #574F51; + text-align: right; + width: 500px; + height: 50px; + background: #484243; + padding: 0 8px 0 0; + margin: 0; + } + + .vestacp{ + font-size: 8pt; + color: #CCCCB4; + text-align: right; + padding: 20px 0 0 0; + } + + .error { + font-size: 10pt; + color: #DE6C5D; + } +