Show More
@@ -1,76 +1,76 b'' | |||
|
1 | 1 | |
|
2 | 2 | |
|
3 | 3 | <!DOCTYPE HTML> |
|
4 | 4 | {% macro static_url(name) -%} |
|
5 | 5 | {{ base_project_url }}static/{{ name }} |
|
6 | 6 | {%- endmacro %} |
|
7 | 7 | <html> |
|
8 | 8 | |
|
9 | 9 | <head> |
|
10 | 10 | <meta charset="utf-8"> |
|
11 | 11 | |
|
12 | 12 | <title>{% block title %}IPython Notebook{% endblock %}</title> |
|
13 | 13 | <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
|
14 | 14 | <link rel="stylesheet" href="{{static_url("jquery/css/themes/base/jquery-ui.min.css") }}" type="text/css" /> |
|
15 | 15 | <link rel="stylesheet" href="{{static_url("css/boilerplate.css") }}" type="text/css" /> |
|
16 | 16 | <link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/> |
|
17 | {% block stylesheet %} | |
|
18 | {% endblock %} | |
|
19 | 17 | {% block lesscss %} |
|
20 | 18 | {% if use_less %} |
|
21 | 19 | <link rel="stylesheet/less" href="{{ static_url("less/style.less") }}" type="text/css" /> |
|
22 | 20 | {% else %} |
|
23 | 21 | <link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/> |
|
24 | 22 | {% endif %} |
|
25 | 23 | {% endblock lesscss%} |
|
24 | {% block stylesheet %} | |
|
25 | {% endblock %} | |
|
26 | 26 | <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" /> |
|
27 | 27 | |
|
28 | 28 | |
|
29 | 29 | {% block meta %} |
|
30 | 30 | {% endblock %} |
|
31 | 31 | |
|
32 | 32 | </head> |
|
33 | 33 | |
|
34 | 34 | <body {% block params %}{% endblock %}> |
|
35 | 35 | |
|
36 | 36 | <div id="header"> |
|
37 | 37 | <span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span> |
|
38 | 38 | |
|
39 | 39 | {% block login_widget %} |
|
40 | 40 | |
|
41 | 41 | <span id="login_widget"> |
|
42 | 42 | {% if logged_in %} |
|
43 | 43 | <button id="logout">Logout</button> |
|
44 | 44 | {% elif login_available and not logged_in %} |
|
45 | 45 | <button id="login">Login</button> |
|
46 | 46 | {% endif %} |
|
47 | 47 | </span> |
|
48 | 48 | |
|
49 | 49 | {% endblock %} |
|
50 | 50 | |
|
51 | 51 | {% block header %} |
|
52 | 52 | {% endblock %} |
|
53 | 53 | </div> |
|
54 | 54 | |
|
55 | 55 | <div id="site"> |
|
56 | 56 | {% block site %} |
|
57 | 57 | {% endblock %} |
|
58 | 58 | </div> |
|
59 | 59 | |
|
60 | 60 | <script src="{{static_url("jquery/js/jquery-1.7.1.min.js") }}" type="text/javascript" charset="utf-8"></script> |
|
61 | 61 | <script src="{{static_url("jquery/js/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script> |
|
62 | 62 | <script src="{{static_url("js/namespace.js") }}" type="text/javascript" charset="utf-8"></script> |
|
63 | 63 | <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script> |
|
64 | 64 | <script src="{{static_url("js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script> |
|
65 | 65 | |
|
66 | 66 | {% block script %} |
|
67 | 67 | {% if use_less %} |
|
68 | 68 | <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script> |
|
69 | 69 | {% endif %} |
|
70 | 70 | {% endblock %} |
|
71 | 71 | |
|
72 | 72 | <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script> |
|
73 | 73 | |
|
74 | 74 | </body> |
|
75 | 75 | |
|
76 | 76 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now