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