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