Show More
@@ -1,1 +1,6 b'' | |||||
1 | // Custom styles for login.html No newline at end of file |
|
1 | // Custom styles for login.html | |
|
2 | .center-nav { | |||
|
3 | display: inline-block; | |||
|
4 | // pull the lower margin back | |||
|
5 | margin-bottom: -4px; | |||
|
6 | } No newline at end of file |
@@ -1,47 +1,49 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="navbar"> |
|
17 | <div class="navbar span8 offset2"> | |
18 | <div class="navbar-inner"> |
|
18 | <div class="navbar-inner"> | |
19 | <div class="container"> |
|
19 | <div class="container"> | |
20 | <p class="nav navbar-text">Password:</p> |
|
20 | <div class="center-nav"> | |
21 | <form action="{{base_project_url}}login?next={{next}}" method="post" class="navbar-form pull-left"> |
|
21 | <p class="navbar-text nav">Password:</p> | |
22 | <input type="password" name="password" id="password_input"> |
|
22 | <form action="{{base_project_url}}login?next={{next}}" method="post" class="navbar-form pull-left"> | |
23 | <button type="submit" id="login_submit">Log in</button> |
|
23 | <input type="password" name="password" id="password_input"> | |
24 | </form> |
|
24 | <button type="submit" id="login_submit">Log in</button> | |
|
25 | </form> | |||
|
26 | </div> | |||
25 | </div> |
|
27 | </div> | |
26 | </div> |
|
28 | </div> | |
27 | </div> |
|
29 | </div> | |
28 | {% endif %} |
|
30 | {% endif %} | |
29 |
|
31 | |||
30 | {% if message %} |
|
32 | {% if message %} | |
31 | {% for key in message %} |
|
33 | {% for key in message %} | |
32 | <div class="message {{key}}"> |
|
34 | <div class="message {{key}}"> | |
33 | {{message[key]}} |
|
35 | {{message[key]}} | |
34 | </div> |
|
36 | </div> | |
35 | {% endfor %} |
|
37 | {% endfor %} | |
36 | {% endif %} |
|
38 | {% endif %} | |
37 |
|
39 | |||
38 | <div/> |
|
40 | <div/> | |
39 |
|
41 | |||
40 | {% endblock %} |
|
42 | {% endblock %} | |
41 |
|
43 | |||
42 |
|
44 | |||
43 | {% block script %} |
|
45 | {% block script %} | |
44 |
|
46 | |||
45 | <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script> |
|
47 | <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script> | |
46 |
|
48 | |||
47 | {% endblock %} |
|
49 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now