##// END OF EJS Templates
Notice for users who disable javascript
Paul Ivanov -
Show More
@@ -1,88 +1,95 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("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" />
15 <link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" />
16 <meta name="viewport" content="width=device-width, initial-scale=1.0">
16 <meta name="viewport" content="width=device-width, initial-scale=1.0">
17
17
18 <link rel="stylesheet" href="{{static_url("base/css/boilerplate.css") }}" type="text/css" />
18 <link rel="stylesheet" href="{{static_url("base/css/boilerplate.css") }}" type="text/css" />
19 {% block stylesheet %}
19 {% block stylesheet %}
20 {% block lesscss %}
20 {% block lesscss %}
21 {% if use_less %}
21 {% if use_less %}
22 <link rel="stylesheet/less" href="{{ static_url("style/style.less") }}" type="text/css" />
22 <link rel="stylesheet/less" href="{{ static_url("style/style.less") }}" type="text/css" />
23 {% else %}
23 {% else %}
24 <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
24 <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
25 {% endif %}
25 {% endif %}
26 {% endblock %}
26 {% endblock %}
27 {% endblock %}
27 {% endblock %}
28 <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" />
28 <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" />
29 <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
29 <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
30 <script>
30 <script>
31 require.config({
31 require.config({
32 baseUrl: '{{static_url() }}',
32 baseUrl: '{{static_url() }}',
33 });
33 });
34 </script>
34 </script>
35
35
36 {% block meta %}
36 {% block meta %}
37 {% endblock %}
37 {% endblock %}
38
38
39 </head>
39 </head>
40
40
41 <body {% block params %}{% endblock %}>
41 <body {% block params %}{% endblock %}>
42
42
43 <noscript>
44 <div id='noscript' style='width: auto; padding-top: 5px, padding-bottom: 5px; text-align: center; font-size: 22px; color: red; font-weight: bold;'>
45 IPython Notebook requires JavaScript.<br>
46 Please enable it to proceed.
47 </div>
48 </noscript>
49
43 <div id="header" class="navbar navbar-static-top">
50 <div id="header" class="navbar navbar-static-top">
44 <div class="navbar-inner navbar-nobg">
51 <div class="navbar-inner navbar-nobg">
45 <div class="container">
52 <div class="container">
46 <div id="ipython_notebook" class="nav brand pull-left"><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("base/images/ipynblogo.png") }}' alt='IPython Notebook'/></a></div>
53 <div id="ipython_notebook" class="nav brand pull-left"><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("base/images/ipynblogo.png") }}' alt='IPython Notebook'/></a></div>
47
54
48 {% block login_widget %}
55 {% block login_widget %}
49
56
50 <span id="login_widget">
57 <span id="login_widget">
51 {% if logged_in %}
58 {% if logged_in %}
52 <button id="logout">Logout</button>
59 <button id="logout">Logout</button>
53 {% elif login_available and not logged_in %}
60 {% elif login_available and not logged_in %}
54 <button id="login">Login</button>
61 <button id="login">Login</button>
55 {% endif %}
62 {% endif %}
56 </span>
63 </span>
57
64
58 {% endblock %}
65 {% endblock %}
59
66
60 {% block header %}
67 {% block header %}
61 {% endblock %}
68 {% endblock %}
62 </div>
69 </div>
63 </div>
70 </div>
64 </div>
71 </div>
65
72
66 <div id="site">
73 <div id="site">
67 {% block site %}
74 {% block site %}
68 {% endblock %}
75 {% endblock %}
69 </div>
76 </div>
70
77
71 <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>
78 <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>
72 <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
79 <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
73 <script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script>
80 <script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script>
74 <script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
81 <script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
75 <script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script>
82 <script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script>
76 <script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
83 <script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
77
84
78 {% block script %}
85 {% block script %}
79 {% if use_less %}
86 {% if use_less %}
80 <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script>
87 <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script>
81 {% endif %}
88 {% endif %}
82 {% endblock %}
89 {% endblock %}
83
90
84 <script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script>
91 <script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script>
85
92
86 </body>
93 </body>
87
94
88 </html>
95 </html>
General Comments 0
You need to be logged in to leave comments. Login now