* rework login screen to utilize more modern templating
[citadel.git] / webcit / static / t / login.html
1 <?=("head")>
2 <div id="login_screen">
3 <div class="box">
4 <div class="boxlabel"><?SERV:HUMANNODE> - <?_("powered by")> <a href="http://www.citadel.org">Citadel</a></div>
5 <div class="boxcontent">
6 <?SERV:MESG("hello")>
7
8 <?!("COND:IMPMSG", 1)>
9 <?IMPORTANTMESSAGE>
10 <?!("X", 1)>
11
12 <div class="login_message"></div>
13 <form action="login" method="POST"  class="box" id="login_form">
14         <label for="uname"><?_("User name:")></label>
15         <input type="text" name="name" id="uname" > <br>
16         <label for="pname"><?_("Password:")></label>
17         <input type="password" name="pass" id="pname" > <br>
18         <label for="lname"><?_("Language:")></label>
19         <?LANG:SELECT> <br>
20         <div class="logbuttons">
21         <input type="submit" name="login_action" value="<?_("Login")>" class="logbutton">
22         <??("COND:SERV:NEWU", 1)>
23         <div style="display:none;">
24         <input type="submit" name="newuser_action" value="<?_("New User")>" class="logbutton" >
25         </div>
26         <??("X", 1)>
27         <input type="submit" name="exit_action" value="<?_("Exit")>"  class="logbutton">
28         <br>
29         </div>
30 </form>
31 <??("COND:SERV:OPENID", 3)>
32   <div align=center>
33   <a href="display_openid_login">
34   <img src="static/openid-small.gif" border="0" valign="middle">
35   <?_("Log in using OpenID")></a>
36   </div>
37 <??("X", 3)>
38 <div class="login_image"><img src="image&name=hello"></div>
39 <div class="login_infos">
40 <ul><li><b><?_("If you already have an account on")> <?SERV:HUMANNODE></b>,
41 <?_("enter your user name and password and click &quot;Login.&quot;<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>Please log off properly when finished. <li>You must use a browser that supports <i>frames</i> and <i>cookies</i>. <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.")>
42 <br /> </ul>
43  
44 </div>
45 <?=("endbox")>
46 <?=("trailing")>