]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/get_logged_in.html
Began implementation of authpopout
[citadel.git] / webcit / static / t / get_logged_in.html
index 6d5c60646b53c0865978cea16699459505015e6a..3d9a5a92656e85c6cd8757a8a44b45e23fda1b4d 100644 (file)
 <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:")>
-<input type="text" name="name" id="uname">
+<input type="text" name="name" id="uname" onKeyPress="username_and_password_onkeypress(event);">
 <br><br>
 <?_("Password:")>
-<input type="password" name="pass" id="pname">
+<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="authbox" id="authbox_openid" style="display: none">
 <h2><?_("Log in using OpenID")></h2>
-ju gunna put da openid login here, haina?
+<form id="ajax_openid_form" method="POST" action="ajax_login_openid">
+<?_("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>
 
 </div>