]> 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 40124ea57cfdd9c222e5505c4e5247ad86813952..3d9a5a92656e85c6cd8757a8a44b45e23fda1b4d 100644 (file)
@@ -2,7 +2,7 @@
 <body>
 <div id="loginbox_topline_container">
 <div id="loginbox_title">
-FIXME login to continue
+<?_("You must be logged in to access this page.")>
 </div>
 <div id="loginbox_closebutton">
 <a href="javascript:toggleModal(0);">
@@ -39,18 +39,22 @@ FIXME login to continue
 <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">
-<br>
+<input type="text" name="name" id="uname" onKeyPress="username_and_password_onkeypress(event);">
+<br><br>
 <?_("Password:")>
-<input type="password" name="pass" id="pname">
-<br>
+<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('<?BSTR("destination_url")>');"><?_("Log in")></a></div>
+<div class="buttons"><a href="javascript:ajax_try_username_and_password();"><?_("Log in")></a></div>
 </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>