From: stevetruckstuff Date: Thu, 24 Aug 2006 20:35:49 +0000 (+0000) Subject: New login page as a templating demo. Feedback welcome! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6c026667ad89ac320d0e3d1e8dd9d7f201f3f660;p=squirrelmail.git New login page as a templating demo. Feedback welcome! git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11636 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default_advanced/images/login1.png b/templates/default_advanced/images/login1.png new file mode 100644 index 00000000..0c0dc0c5 Binary files /dev/null and b/templates/default_advanced/images/login1.png differ diff --git a/templates/default_advanced/images/login2.png b/templates/default_advanced/images/login2.png new file mode 100644 index 00000000..d1c91e2c Binary files /dev/null and b/templates/default_advanced/images/login2.png differ diff --git a/templates/default_advanced/images/login_submit.png b/templates/default_advanced/images/login_submit.png new file mode 100644 index 00000000..2a4119b5 Binary files /dev/null and b/templates/default_advanced/images/login_submit.png differ diff --git a/templates/default_advanced/login.tpl b/templates/default_advanced/login.tpl new file mode 100644 index 00000000..90e7bdc6 --- /dev/null +++ b/templates/default_advanced/login.tpl @@ -0,0 +1,81 @@ + +
+ + + + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + + + + + + + + + +
+ + + +
+ + + + +
+ " /> +
+
+
\ No newline at end of file diff --git a/templates/default_advanced/stylesheet_advanced.tpl b/templates/default_advanced/stylesheet_advanced.tpl index 01c11938..b04bea45 100644 --- a/templates/default_advanced/stylesheet_advanced.tpl +++ b/templates/default_advanced/stylesheet_advanced.tpl @@ -37,6 +37,79 @@ /* retrieve the template vars */ extract($t); ?> +/* advacned login page defs */ +#sqm_login { + margin-top: 25px; + text-align: center; +} + +#sqm_login table { + border: 0; + padding: 0; + margin-left: auto; + margin-right: auto; + width: auto; +} + +#sqm_login td { + padding-left: 2px; + padding-right: 2px; + padding-top: 0px; + padding-bottom: 0px; + color: #726b58; + font-family: verdana, sans-serif; + width: auto; + text-align: center; +} + +#sqm_login td.orgName { + font-weight: bold; + background: none; + font-size: 90%; +} + +#sqm_login td.orgLogo { + width: 155px; + text-align: center; + vertical-align: center; +} + +#sqm_login td.orgLogo img { + width: 150px; + padding:0; +} + +#sqm_login td.attr { + font-size: 70%; + padding-top:5px; + padding-bottom: 10px; +} + +#sqm_login td.fieldName { + font-size: 10pt; + font-weight: bold; + text-align: right; + width: 50%; +} + +#sqm_login td.fieldInput { + text-align: left; + padding-top: 1px; + padding-bottom: 1px; +} + +#sqm_login td.loginSubmit { + padding-top: 15px; +} + +#sqm_login input.input { + font-size: 80%; + color: #110f08; + border: 1px solid #726b58; + padding: 1px; + background: url(/login2.png) repeat-y; + width: 160px; +} /* advanced option order defs */ #optionHighlight td.divider { diff --git a/templates/default_advanced/template.php b/templates/default_advanced/template.php index 80fde498..cb2c8e16 100644 --- a/templates/default_advanced/template.php +++ b/templates/default_advanced/template.php @@ -21,6 +21,7 @@ $templates_provided = array ( 'options_order.tpl', 'options_highlight_list.tpl', 'options_highlight_addedit.tpl', + 'login.tpl' ); /**