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