Initial (not yet working) version of modal/ajax login box
[citadel.git] / webcit / static / t / get_logged_in.html
index f9e371e47f733a0f9ce78799efc58bec0cdd49db..3f6986470c90a66f87b817802073b36f3f473077 100644 (file)
@@ -1,10 +1,23 @@
 <html>
 <body>
-<center>
-FIXME
-You have to log in now<br>
+<div align="right">
+<a href="javascript:toggleModal(0);"><img src="static/closewindow.gif" border="0"></a>
+</div>
+<div align="center">
+To complete this action, you must log in.<br>
+<hr>
+<form method="POST" id="ajax_login_form">
+<table border=0 cellspacing=0 cellpadding=0><tr>
+<td><?_("User name:")></td>
+<td><input type="text" name="name" id="uname"></td>
+</tr><tr>
+<td><?_("Password:")></td>
+<td><input type="password" name="pass" id="pname"></td>
+</tr></table>
+</form>
+<hr>
 <a href="<?BSTR("destination_url")>">Proceed and fail</a><br>
-<a href="javascript:toggleModal(0);"><img src="static/closewindow.gif" border="0">&nbsp;<?_("Cancel")></a>
-</center>
+<a href="javascript:toggleModal(0);"><?_("Cancel")></a>
+</div>
 </body>
 </html>