Show More
@@ -1,49 +1,52 b'' | |||||
1 | {% extends "page.html" %} |
|
1 | {% extends "page.html" %} | |
2 |
|
2 | |||
3 |
|
3 | |||
4 | {% block stylesheet %} |
|
4 | {% block stylesheet %} | |
5 | {{super()}} |
|
5 | {{super()}} | |
6 | <link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" /> |
|
6 | <link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" /> | |
7 | {% endblock %} |
|
7 | {% endblock %} | |
8 |
|
8 | |||
9 | {% block login_widget %} |
|
9 | {% block login_widget %} | |
10 | {% endblock %} |
|
10 | {% endblock %} | |
11 |
|
11 | |||
12 | {% block site %} |
|
12 | {% block site %} | |
13 |
|
13 | |||
14 | <div id="ipython-main-app" class="container"> |
|
14 | <div id="ipython-main-app" class="container"> | |
15 |
|
15 | |||
16 | {% if login_available %} |
|
16 | {% if login_available %} | |
|
17 | <div class="row"> | |||
17 | <div class="navbar span8 offset2"> |
|
18 | <div class="navbar span8 offset2"> | |
18 | <div class="navbar-inner"> |
|
19 | <div class="navbar-inner"> | |
19 | <div class="container"> |
|
20 | <div class="container"> | |
20 | <div class="center-nav"> |
|
21 | <div class="center-nav"> | |
21 | <p class="navbar-text nav">Password:</p> |
|
22 | <p class="navbar-text nav">Password:</p> | |
22 | <form action="{{base_project_url}}login?next={{next}}" method="post" class="navbar-form pull-left"> |
|
23 | <form action="{{base_project_url}}login?next={{next}}" method="post" class="navbar-form pull-left"> | |
23 | <input type="password" name="password" id="password_input"> |
|
24 | <input type="password" name="password" id="password_input"> | |
24 | <button type="submit" id="login_submit">Log in</button> |
|
25 | <button type="submit" id="login_submit">Log in</button> | |
25 | </form> |
|
26 | </form> | |
26 | </div> |
|
27 | </div> | |
27 | </div> |
|
28 | </div> | |
28 | </div> |
|
29 | </div> | |
29 | </div> |
|
30 | </div> | |
|
31 | </div> | |||
30 | {% endif %} |
|
32 | {% endif %} | |
31 |
|
||||
32 | {% if message %} |
|
33 | {% if message %} | |
|
34 | <div class="row"> | |||
33 | {% for key in message %} |
|
35 | {% for key in message %} | |
34 | <div class="message {{key}}"> |
|
36 | <div class="message {{key}}"> | |
35 | {{message[key]}} |
|
37 | {{message[key]}} | |
36 | </div> |
|
38 | </div> | |
37 | {% endfor %} |
|
39 | {% endfor %} | |
|
40 | </div> | |||
38 | {% endif %} |
|
41 | {% endif %} | |
39 |
|
42 | |||
40 | <div/> |
|
43 | <div/> | |
41 |
|
44 | |||
42 | {% endblock %} |
|
45 | {% endblock %} | |
43 |
|
46 | |||
44 |
|
47 | |||
45 | {% block script %} |
|
48 | {% block script %} | |
46 |
|
49 | |||
47 | <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script> |
|
50 | <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script> | |
48 |
|
51 | |||
49 | {% endblock %} |
|
52 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now