95f49d2f9b34d572fe32a0619546b1dc6db2ce49
[citadel.git] / webcit / static / t / get_logged_in.html
1 <html>
2 <body>
3 <div id="loginbox_topline_container">
4 <div id="loginbox_title">
5 <?_("You must be logged in to access this page.")>
6 </div>
7 <div id="loginbox_closebutton">
8 <a href="javascript:toggleModal(0);">
9 <?_("Close window")>&nbsp;<img src="static/webcit_icons/closewindow.gif" border="0"></a>
10 </div>
11 </div>
12 <br><br>
13 <div class="login_message" id="login_errmsg"></div>
14 <div id="auth_container">
15 <div id="authbar">
16 <ul id="button">
17 <li class="ib_button" style='background-image: url("/static/webcit_icons/citadel-button-32x32.gif");'>
18     <a class="ib_button_link" href="javascript:authtoggle('authbox_userpass');" title="<?SERV:HUMANNODE>"><span>
19         <?SERV:HUMANNODE>
20     </span></a>
21 </li>
22 <?!("COND:SERV:OPENID",1)><li class="ib_button" style='background-image: url("/static/webcit_icons/openid-32x32.gif");'>
23     <a class="ib_button_link" href="javascript:authtoggle('authbox_openid');" title="OpenID"><span>
24         OpenID
25     </span></a>
26
27 </li><??("X", 1)>
28 <?!("COND:SERV:OPENID",2)><li class="ib_button" style='background-image: url("/static/webcit_icons/openid-32x32.gif");'>
29     <a class="ib_button_link" href="javascript:authtoggle('authbox_google');" title="Google"><span>
30         Google
31     </span></a>
32 </li><??("X", 2)>
33 <?!("COND:SERV:OPENID",3)><li class="ib_button" style='background-image: url("/static/webcit_icons/openid-32x32.gif");'>
34     <a class="ib_button_link" href="javascript:authtoggle('authbox_yahoo');" title="Yahoo"><span>
35         Yahoo
36     </span></a>
37 </li><??("X", 3)>
38 <li class="ib_button">
39 </li>
40 <li class="ib_button">
41 </li>
42 <li class="ib_button">
43 </li>
44 <li class="ib_button">
45 </li>
46 </ul>
47 </div>
48
49 <div class="authbox" id="authbox_userpass" style="display: block">
50 <h2><?_("Log in using a user name and password")></h2>
51 <form id="ajax_username_password_form" method="POST" action="ajax_login_username_password">
52 <label for="uname"><?_("User name:")></label>
53 <input type="text" name="name" id="uname" onKeyPress="username_and_password_onkeypress(event);">
54 <br><br>
55 <label for="pname"><?_("Password:")></label>
56 <input type="password" name="pass" id="pname" onKeyPress="username_and_password_onkeypress(event);">
57 <br><br>
58 </form>
59 <div class="logbuttons"><a href="javascript:ajax_try_username_and_password();"><?_("Log in")></a></div>
60 <div class="registernow"><a href="javascript:authtoggle('authbox_newuser');"><?_("New user?  Register now")></a></div>
61 </div>
62
63 <div class="authbox" id="authbox_newuser" style="display: none">
64 <h2><?_("New user?  Register now")></h2>
65 <?_("enter the name and password you wish to use, and click &quot;New User.&quot; ")><br><br>
66 <form id="ajax_newuser_form" method="POST" action="ajax_login_newuser">
67 <label for="uname"><?_("User name:")></label>
68 <input type="text" name="name" id="uname" onKeyPress="newuser_onkeypress(event);">
69 <br><br>
70 <label for="pname"><?_("Password:")></label>
71 <input type="password" name="pass" id="pname" onKeyPress="newuser_onkeypress(event);">
72 <br><br>
73 </form>
74 <div class="logbuttons"><a href="javascript:ajax_try_newuser();"><?_("New User")></a></div>
75 </div>
76
77 <div class="authbox" id="authbox_openid" style="display: none">
78 <h2><?_("Log in using OpenID")></h2>
79 <form id="ajax_openid_form" method="POST" action="ajax_login_openid">
80 <?_("OpenID URL:")>
81 <input type="text" name="openid_url" id="openid_url" class="openid_urlarea" onKeyPress="return openid_onkeypress(event);">
82 </form>
83 <div class="logbuttons"><a href="javascript:ajax_try_openid();"><?_("Log in")></a></div>
84 </div>
85
86 <div class="authbox" id="authbox_google" style="display: none">
87 <h2><?_("Log in using Google")></h2>
88 <div class="logbuttons"><a href="javascript:ajax_try_google();"><?_("Log in")></a></div>
89 </div>
90
91 <div class="authbox" id="authbox_yahoo" style="display: none">
92 <h2><?_("Log in using Yahoo")></h2>
93 <div class="logbuttons"><a href="javascript:ajax_try_yahoo();"><?_("Log in")></a></div>
94 </div>
95
96 </div>
97 </body>
98 </html>