1 | <html py:extends="'ndgpage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> |
---|
2 | <div py:def="loginForm()" class="loginForm" style="text-indent:5px"> |
---|
3 | <p> |
---|
4 | Enter your login details here or logon from another site using the |
---|
5 | OpenID sign in section below: |
---|
6 | </p> |
---|
7 | <form action="$c.actionURI" method="POST"> |
---|
8 | <input type="hidden" name="success_to" value="$c.successToURI" /> |
---|
9 | <input type="hidden" name="fail_to" value="$c.failToURI" /> |
---|
10 | <table cellspacing="0" border="0" cellpadding="5"> |
---|
11 | <tr> |
---|
12 | <td>Username:</td> |
---|
13 | <td><input type="text" name="username" value=""/></td> |
---|
14 | </tr><tr> |
---|
15 | <td>Password:</td> |
---|
16 | <td><input type="password" name="password"/></td> |
---|
17 | </tr><tr> |
---|
18 | <td colspan="2" align="right"> |
---|
19 | <input type="submit" name="submit" value="Login"/> |
---|
20 | <input type="submit" name="cancel" value="Cancel"/> |
---|
21 | </td> |
---|
22 | </tr> |
---|
23 | </table> |
---|
24 | </form> |
---|
25 | </div> |
---|
26 | |
---|
27 | <div py:def="openIDSignin()" class="openIDSignin" style="text-indent:5px"> |
---|
28 | <form action="$c.baseURL/verify" method="post"> |
---|
29 | <table cellspacing="0" border="0" cellpadding="5"> |
---|
30 | <tr> |
---|
31 | <td>OpenID:</td> |
---|
32 | <td> |
---|
33 | <input type="text" name="openid" value="" class='openid-identifier' size="30"/> |
---|
34 | </td> |
---|
35 | <td align="right"> |
---|
36 | <input type="submit" name="authform" value="Go"/> |
---|
37 | </td> |
---|
38 | <td> |
---|
39 | <a href="http://openid.net/what/" target="_blank"><small>What's this?</small></a> |
---|
40 | </td> |
---|
41 | </tr> |
---|
42 | </table> |
---|
43 | </form> |
---|
44 | </div> |
---|
45 | |
---|
46 | <head> |
---|
47 | <style> |
---|
48 | input.openid-identifier { |
---|
49 | background: url($c.baseURL/layout/openid-inputicon.gif) no-repeat; |
---|
50 | background-color: #fff; |
---|
51 | background-position: 0 50%; |
---|
52 | padding-left: 18px; |
---|
53 | } |
---|
54 | </style> |
---|
55 | <replace py:replace="pagehead()"/> |
---|
56 | </head> |
---|
57 | <body> |
---|
58 | <div py:replace="header()"/> |
---|
59 | <div class="signin" style="text-indent:5px"> |
---|
60 | <h2>Login</h2> |
---|
61 | <replace py:replace="loginForm()"/> |
---|
62 | <h2>Sign in from another trusted site</h2> |
---|
63 | <p>If you don't have an account with this site but you have an |
---|
64 | <a href="http://openid.net/">OpenID</a> |
---|
65 | you can use this to sign in instead: |
---|
66 | </p> |
---|
67 | <replace py:replace="openIDSignin()"/> |
---|
68 | $c.xml |
---|
69 | </div> |
---|
70 | <div py:replace="footer(showLoginStatus=False)"/> |
---|
71 | </body> |
---|
72 | </html> |
---|