Topic Text   Topic Comments (0)   Topic Properties   Topic Information asdfdfjklsdfajjk@163...
Topic title: Test from east. Tuesday September 21, 2010 03:15:00

Download topic text | View in variable-width font | Tab width set to 4 (change to 8)

Files in topic: (view all files)  
htdocs/css/common.css   {+13,-0}
templates/accounts/login.html   {+43,-25}
urls.py   {+7,-1}

[Add General Comment] to topic.

File templates/accounts/login.html (Revision 0.1) [Add File Comment] [<<] [Top] [>>]
 
Line 3 Line 3
3 {% block title %}Log in{% endblock %} 3 {% block title %}Log in{% endblock %}
4 4
5 {% block content %} 5 {% block content %}
6 <div class="section"> 6 {% box important %}
7 <h1>Log in</h1> 7 {% if BUILTIN_AUTH %}
8 <div class="body"> 8 <h1>New user?</h1>
9 {% if error %} 9 <p>
10 {% errorbox %} 10 If you don't yet have an account, you'll need to
11 {{ error }} 11 <a href="/account/register/">register</a> one. It will only take a
12 {% enderrorbox %} 12 minute.
13 {% endif %} 13 </p>
14 <form method="post" action="."> 14 {% else %}
15 <table id="login_form"> 15 <h1>Log in with your standard username and password</h1>
16 <tr> 16 <p>
17 <td class="label"><label for="id_username">Username:</label></td> 17 There's no need to register a new account. Your standard username and
18 <td class="field"><input type="text" name="username" id="id_username" /></td> 18 password should work fine.
19 </tr> 19 </p>
20 <tr> 20 {% endif %}
21 <td class="label"><label for="id_password">Password:</label></td> 21 {% endbox %}
22 <td class="field"><input type="password" name="password" id="id_password" /></td> 22
23 </tr> 23 {% box loginform %}
24 <tr> 24 <form method="post" action=".">
25 <td>&nbsp;</td> 25 <h1 class="title">Log In</h1>
26 <td class="field"><input type="submit" value="Log in" /></td> 26 <div class="main">
27 </tr> 27 {% if error %}
28 </table> 28 {% errorbox %}
29 </form> 29 {{ error }}
30 {% enderrorbox %}
31 {% endif %}
32 <table>
33 <tr>
34 <td class="label"><label for="id_username">Username:</label></td>
35 <td class="field"><input type="text" name="username" id="id_username" /></td>
36 </tr>
37 <tr>
38 <td class="label"><label for="id_password">Password:</label></td>
39 <td class="field"><input type="password" name="password" id="id_password" /></td>
40 </tr>
41 <tr>
42 <td>&nbsp;</td>
43 <td class="field"><input type="submit" value="Log in" /></td>
44 </tr>
45 </table>
30 </div> 46 </div>
31 </div> 47 </form>
48 {% endbox %}
49
32 {% endblock %} 50 {% endblock %}
 
File templates/accounts/login.html (Revision 0.1) [Add File Comment] [<<] [Top] [>>]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.