forked from ipython/ipython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
53 lines (41 loc) · 1.23 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends "page.html" %}
{% block stylesheet %}
{{super()}}
<link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />
{% endblock %}
{% block login_widget %}
{% endblock %}
{% block site %}
<div id="ipython-main-app" class="container">
{% if login_available %}
<div class="row">
<div class="navbar col-sm-8 col-sm-offset2">
<div class="navbar-inner">
<div class="container">
<div class="center-nav">
<p class="navbar-text nav">Password:</p>
<form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left">
<input type="password" name="password" id="password_input">
<button type="submit" id="login_submit">Log in</button>
</form>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if message %}
<div class="row">
{% for key in message %}
<div class="message {{key}}">
{{message[key]}}
</div>
{% endfor %}
</div>
{% endif %}
<div/>
{% endblock %}
{% block script %}
{{super()}}
<script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}