Show More
@@ -1,85 +1,85 b'' | |||||
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 | <link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}"> | |
14 | <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
|
14 | <meta http-equiv="X-UA-Compatible" content="chrome=1"> | |
15 |
<link rel="stylesheet" href="{{static_url(" |
|
15 | <link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" /> | |
16 | <link rel="stylesheet" href="{{static_url("components/bootstrap/bootstrap/css/bootstrap.min.css") }}" type="text/css" /> |
|
16 | <link rel="stylesheet" href="{{static_url("components/bootstrap/bootstrap/css/bootstrap.min.css") }}" type="text/css" /> | |
17 | <link rel="stylesheet" href="{{static_url("components/bootstrap/bootstrap/css/bootstrap-responsive.min.css") }}" type="text/css" /> |
|
17 | <link rel="stylesheet" href="{{static_url("components/bootstrap/bootstrap/css/bootstrap-responsive.min.css") }}" type="text/css" /> | |
18 |
|
18 | |||
19 | <link rel="stylesheet" href="{{static_url("base/css/boilerplate.css") }}" type="text/css" /> |
|
19 | <link rel="stylesheet" href="{{static_url("base/css/boilerplate.css") }}" type="text/css" /> | |
20 | {% block stylesheet %} |
|
20 | {% block stylesheet %} | |
21 | {% block lesscss %} |
|
21 | {% block lesscss %} | |
22 | {% if use_less %} |
|
22 | {% if use_less %} | |
23 | <link rel="stylesheet/less" href="{{ static_url("style/style.less") }}" type="text/css" /> |
|
23 | <link rel="stylesheet/less" href="{{ static_url("style/style.less") }}" type="text/css" /> | |
24 | {% else %} |
|
24 | {% else %} | |
25 | <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/> |
|
25 | <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/> | |
26 | {% endif %} |
|
26 | {% endif %} | |
27 | {% endblock %} |
|
27 | {% endblock %} | |
28 | {% endblock %} |
|
28 | {% endblock %} | |
29 | <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" /> |
|
29 | <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" /> | |
30 | <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script> |
|
30 | <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script> | |
31 | <script> |
|
31 | <script> | |
32 | require.config({ |
|
32 | require.config({ | |
33 | baseUrl: '{{static_url() }}', |
|
33 | baseUrl: '{{static_url() }}', | |
34 | }); |
|
34 | }); | |
35 | </script> |
|
35 | </script> | |
36 |
|
36 | |||
37 | {% block meta %} |
|
37 | {% block meta %} | |
38 | {% endblock %} |
|
38 | {% endblock %} | |
39 |
|
39 | |||
40 | </head> |
|
40 | </head> | |
41 |
|
41 | |||
42 | <body {% block params %}{% endblock %}> |
|
42 | <body {% block params %}{% endblock %}> | |
43 |
|
43 | |||
44 | <div id="header"> |
|
44 | <div id="header"> | |
45 | <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> |
|
45 | <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> | |
46 |
|
46 | |||
47 | {% block login_widget %} |
|
47 | {% block login_widget %} | |
48 |
|
48 | |||
49 | <span id="login_widget"> |
|
49 | <span id="login_widget"> | |
50 | {% if logged_in %} |
|
50 | {% if logged_in %} | |
51 | <button id="logout">Logout</button> |
|
51 | <button id="logout">Logout</button> | |
52 | {% elif login_available and not logged_in %} |
|
52 | {% elif login_available and not logged_in %} | |
53 | <button id="login">Login</button> |
|
53 | <button id="login">Login</button> | |
54 | {% endif %} |
|
54 | {% endif %} | |
55 | </span> |
|
55 | </span> | |
56 |
|
56 | |||
57 | {% endblock %} |
|
57 | {% endblock %} | |
58 |
|
58 | |||
59 | {% block header %} |
|
59 | {% block header %} | |
60 | {% endblock %} |
|
60 | {% endblock %} | |
61 | </div> |
|
61 | </div> | |
62 |
|
62 | |||
63 | <div id="site"> |
|
63 | <div id="site"> | |
64 | {% block site %} |
|
64 | {% block site %} | |
65 | {% endblock %} |
|
65 | {% endblock %} | |
66 | </div> |
|
66 | </div> | |
67 |
|
67 | |||
68 | <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script> |
|
68 | <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script> | |
69 | <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script> |
|
69 | <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script> | |
70 | <script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script> |
|
70 | <script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script> | |
71 | <script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script> |
|
71 | <script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script> | |
72 | <script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script> |
|
72 | <script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script> | |
73 | <script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script> |
|
73 | <script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script> | |
74 |
|
74 | |||
75 | {% block script %} |
|
75 | {% block script %} | |
76 | {% if use_less %} |
|
76 | {% if use_less %} | |
77 | <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script> |
|
77 | <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script> | |
78 | {% endif %} |
|
78 | {% endif %} | |
79 | {% endblock %} |
|
79 | {% endblock %} | |
80 |
|
80 | |||
81 | <script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script> |
|
81 | <script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script> | |
82 |
|
82 | |||
83 | </body> |
|
83 | </body> | |
84 |
|
84 | |||
85 | </html> |
|
85 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now