Cleaned up the login modal a bit
authorArt Cancro <ajc@citadel.org>
Tue, 25 Jan 2011 04:29:27 +0000 (23:29 -0500)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 14:04:43 +0000 (14:04 +0000)
webcit/static/styles/webcit.css
webcit/static/t/get_logged_in.html

index 06643c1dfffc21c1c3643f23785f3651d3ed298c..a82789c43e63539ffa14eea0c384f017645de510 100644 (file)
@@ -1352,6 +1352,16 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
        background-color: #ddd;
 }
 
+#ajax_username_password_form {
+       margin: auto;
+       width: 20em;
+}
+
+#ajax_username_password_form label {
+       float: left;
+       width: 10em;
+}
+
 .openid_urlarea {
         background: url('../openid-small.gif') no-repeat scroll 0pt 50%;
         padding-left: 18px;
index 8434b3e338f408e3b5d1c45461fa0ee5809afa98..53c3240b7c455c2fdf4ba96eb9856ff9ee028387 100644 (file)
 <div class="authbox" id="authbox_userpass" style="display: block">
 <h2><?_("Log in using a user name and password")></h2>
 <form id="ajax_username_password_form" method="POST" action="ajax_login_username_password">
-<?_("User name:")>
+<label for="uname"><?_("User name:")></label>
 <input type="text" name="name" id="uname" onKeyPress="username_and_password_onkeypress(event);">
 <br><br>
-<?_("Password:")>
+<label for="pname"><?_("Password:")></label>
 <input type="password" name="pass" id="pname" onKeyPress="username_and_password_onkeypress(event);">
 <br><br>
 </form>
-<div class="buttons"><a href="javascript:ajax_try_username_and_password();"><?_("Log in")></a></div>
+<div class="logbuttons"><a href="javascript:ajax_try_username_and_password();"><?_("Log in")></a></div>
 </div>
 
 <div class="authbox" id="authbox_openid" style="display: none">
@@ -58,7 +58,7 @@
 <?_("OpenID URL:")>
 <input type="text" name="openid_url" id="openid_url" class="openid_urlarea">
 </form>
-<div class="buttons"><a href="javascript:ajax_try_openid();"><?_("Log in")></a></div>
+<div class="logbuttons"><a href="javascript:ajax_try_openid();"><?_("Log in")></a></div>
 </div>
 
 </div>