From: skodak Date: Fri, 5 Jan 2007 16:31:44 +0000 (+0000) Subject: MDL-7861 xhtml strict fixes for login page revisited X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4b873929be2f6b0806b3fbca48e77288a9b6e578;p=moodle.git MDL-7861 xhtml strict fixes for login page revisited --- diff --git a/login/index_form.html b/login/index_form.html index f4abb985ba..26ddcf795c 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -1,107 +1,85 @@ - - - - - - - - - - + + - + + - -
- - - -
-
: +
+
+
+
+

+
+
+ usesid)) { + echo '
'; + echo '('.get_string("cookiesenabled").')'; + helpbutton("cookies", get_string("cookiesenabled")); + } + ?> +
usesid)) { - echo "
("; - print_string("cookiesenabled"); - echo ")"; - helpbutton("cookies", get_string("cookiesenabled")); - } - if (!empty($errormsg)) { - echo '
'; - formerr($errormsg); - echo '
'; - } + if (!empty($errormsg)) { + echo '
'; + formerr($errormsg); + echo '
'; + } ?> +
+
+
+
+ +
+
+
+
+ + " /> + +
+
+
+
-
- - - - - -
- - - - - - - - - -
- - - -
- - - -
-
- " /> - -
-
guestloginbutton) { ?> -
-
: +
+
-
- - - - " /> -
+
+ + + + " /> +
- -
-
+
+
-
- - -
+
+ + " /> +
-
+
+

+
-
+
" />
@@ -120,7 +98,7 @@ if ($show_instructions) { $authplugin = get_auth_plugin($CFG->auth); if (!empty($CFG->auth_user_create) and method_exists($authplugin, 'user_create') ){ ?> -
+
" />
@@ -128,7 +106,9 @@ if ($show_instructions) { -
\ No newline at end of file +
+ + diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index 05856fa3f2..3d9a1ddaae 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -626,7 +626,8 @@ body#grade-index .grades .r1 { *** Login ***/ -.loginbox .content { +.loginbox .content, +.loginbox .twocolumns .divider { border-color:#DDDDDD; } diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 2cb2010944..814fcae94f 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1440,21 +1440,69 @@ body#grade-index .grades .weighted { } .loginbox .content { - border-width:1px; - border-style:solid; - padding:15px; + border:1px solid; + width:90%; + margin-left:5%; + overflow:hidden; } -.loginform .c1, -.logintable .c1 { - text-align: left; +.loginbox .content .header h2 { + margin:5px; + padding:10px; + text-align:center; +} + +.loginbox .content .subcontent { + margin:5px; + padding:10px; +} + +.loginbox .content .left .subcontent { + text-align:center; +} + +.loginbox .content .signupform { + text-align:center; +} + +.loginbox .content .loginform { + text-align:left; +} + +.loginbox .content .loginform .form-label { + float:left; + text-align:right; + width:40%; } -.loginform .c1 input, -.logintable .c1 input { +.loginbox .content .loginform .form-item { + float:right; + width:59%; +} + +.loginbox .content .loginform .form-item input { width: 6em; } + +.loginbox .twocolumns .divider { + border-right:1px solid; + margin-top:-2000px;padding-top:2000px; + margin-bottom:-2000px;padding-bottom:2000px; +} + +.loginbox .twocolumns .left { + float:left; + width:50%; + margin-bottom:-2000px;padding-bottom:2000px; +} + +.loginbox .twocolumns .right { + float:right; + width:50%; + margin-bottom:-2000px; padding-bottom:2000px; +} + .block_login .loginform div { margin:0.3em 0.8em; text-align:right;