]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/login.html
Initial (not yet working) version of modal/ajax login box
[citadel.git] / webcit / static / t / login.html
index 495e4919eb435383ff5e8639d05a3f0c2555b926..0583a8cb772e7e0f511a20df66a69129bdc83c56 100644 (file)
@@ -1,23 +1,54 @@
-<?=("beginbox")>
-<?HELLO>
-<div class="login_message"><?MESG></div>
+<?=("head")>
+<!-- start login.html -->
+<noscript><div id="noscript_warning">
+<?_("WARNING: You have JavaScript disabled in your web browser.  Many functions of this system will not work properly.")>
+</div></noscript>
+<div id="login_screen">
+<div class="box">
+<div class="boxlabel"><?SERV:HUMANNODE> - <?_("powered by")> <a href="http://www.citadel.org">Citadel</a></div>
+<div class="boxcontent">
+<div id="hellomsg">
+<?SERV:MESG("hello")>
+</div>
+<?!("COND:IMPMSG", 1)>
+<div class="login_message"><?IMPORTANTMESSAGE></div>
+<?!("X", 1)>
+<div class="login_image"><img src="image?name=hello" alt=""></div>
 <form action="login" method="POST"  class="box" id="login_form">
-        <label for="uname"><?USERNAME_BOX></label>
+<div>
+        <label for="uname"><?_("User name:")></label>
         <input type="text" name="name" id="uname" > <br>
-        <label for="pname"><?PASSWORD_BOX></label>
+        <label for="pname"><?_("Password:")></label>
         <input type="password" name="pass" id="pname" > <br>
-        <label for="lname"><?LANGUAGE_BOX></label>
-        <?DO_LANGUAGE_BOX> <br>
+        <label for="lname"><?_("Language:")></label>
+        <?LANG:SELECT> <br>
+</div>
         <div class="logbuttons">
-        <input type="submit" name="login_action" value="<?LOGIN_BUTTON>" class="logbutton">
-        <?NEWUSER_BUTTON_PRE>
-        <input type="submit" name="newuser_action" value="<?NEWUSER_BUTTON>" class="logbutton" >
-        <?NEWUSER_BUTTON_POST>
-        <input type="submit" name="exit_action" value="<?EXIT_BUTTON>"  class="logbutton">
+        <input type="submit" name="login_action" value="<?_("Log in")>" class="button">
+       <??("COND:SERV:NEWU", 1)>
+        <input name="newuser_action" value="<?_("New User")>" class="button" type="submit">
+       <??("X", 1)>
+        <input type="submit" name="exit_action" value="<?_("Exit")>" class="button">
         <br>
         </div>
 </form>
-<?OFFER_OPENID_LOGIN>
-<div class="login_image"><img src="image&name=hello"></div>
-<div class="login_infos"><?LOGIN_INSTRUCTIONS></div>
+<?!("COND:SERV:OPENID", 3)>
+  <div id="openid" class="login_using_openid_link">
+  <a href="display_openid_login">
+  <img src="static/openid-small.gif" alt="" border="0" valign="middle">
+  <?_("Log in using OpenID")></a>
+  </div>
+<??("X", 3)>
+<div class="login_infos">
+<ul><li><b><?_("If you already have an account on")> <?SERV:HUMANNODE></b>,
+<?_("enter your user name and password and click &quot;Log in.&quot;")></li>
+<li><?_("<b>If you are a new user</b>, enter the name and password you wish to use, and click &quot;New User.&quot; ")></li>
+<li><?_("Please log off properly when finished. ")></li>
+<li><?_("See the")> <a href="http://www.citadel.org/doku.php/faq:everydayuse:webcit_browser"><?_("recommended browser list")></a> <?_("if you have trouble using Webcit.</li> <li>You must have <i>cookies</i> turned on. ")></li>
+<li><?_("Also keep in mind that if your browser is configured to block pop-up windows, you will not be able to receive any instant messages.")></li></ul>
+</div>
+</div>
+<!-- end login.html -->
 <?=("endbox")>
+<?=("trailing")>