##// END OF EJS Templates
More work on the less setup.
Brian E. Granger -
Show More
@@ -0,0 +1,4 b''
1 @import "../../base/less/base.less";
2 @import "variables.less";
3 @import "login.less";
4 @import "logout.less";
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
1 NO CONTENT: file renamed from IPython/frontend/html/notebook/static/notebooks/celltoolbarpresets/default.js to IPython/frontend/html/notebook/static/notebooks/js/celltoolbarpresets/default.js
NO CONTENT: file renamed from IPython/frontend/html/notebook/static/notebooks/celltoolbarpresets/default.js to IPython/frontend/html/notebook/static/notebooks/js/celltoolbarpresets/default.js
1 NO CONTENT: file renamed from IPython/frontend/html/notebook/static/notebooks/celltoolbarpresets/example.js to IPython/frontend/html/notebook/static/notebooks/js/celltoolbarpresets/example.js
NO CONTENT: file renamed from IPython/frontend/html/notebook/static/notebooks/celltoolbarpresets/example.js to IPython/frontend/html/notebook/static/notebooks/js/celltoolbarpresets/example.js
1 NO CONTENT: file renamed from IPython/frontend/html/notebook/static/notebooks/celltoolbarpresets/slideshow.js to IPython/frontend/html/notebook/static/notebooks/js/celltoolbarpresets/slideshow.js
NO CONTENT: file renamed from IPython/frontend/html/notebook/static/notebooks/celltoolbarpresets/slideshow.js to IPython/frontend/html/notebook/static/notebooks/js/celltoolbarpresets/slideshow.js
@@ -1,42 +1,44 b''
1 {% extends "base.html" %}
1 {% extends "page.html" %}
2
2
3 {% block stylesheet %}
3 {% block lesscss %}
4
4 {% if use_less %}
5 <link rel="stylesheet" href="{{static_url("css/login.css") }}" type="text/css"/>
5 <link rel="stylesheet/less" href="{{ static_url("auth/less/style.less") }}" type="text/css" />
6
6 {% else %}
7 {% endblock %}
7 <link rel="stylesheet" href="{{ static_url("auth/css/style.min.css") }}" type="text/css"/>
8 {% endif %}
9 {% endblock lesscss%}
8
10
9
11
10 {% block login_widget %}
12 {% block login_widget %}
11 {% endblock %}
13 {% endblock %}
12
14
13
15
14 {% block site %}
16 {% block site %}
15
17
16 <div id="ipython-main-app">
18 <div id="ipython-main-app">
17
19
18 {% if login_available %}
20 {% if login_available %}
19 <form action="{{base_project_url}}login?next={{next}}" method="post">
21 <form action="{{base_project_url}}login?next={{next}}" method="post">
20 Password: <input type="password" class='ui-widget ui-widget-content' name="password" id="password_input">
22 Password: <input type="password" class='ui-widget ui-widget-content' name="password" id="password_input">
21 <input type="submit" value="Log in" id="login_submit">
23 <input type="submit" value="Log in" id="login_submit">
22 </form>
24 </form>
23 {% endif %}
25 {% endif %}
24
26
25 {% if message %}
27 {% if message %}
26 {% for key in message %}
28 {% for key in message %}
27 <div class="message {{key}}">
29 <div class="message {{key}}">
28 {{message[key]}}
30 {{message[key]}}
29 </div>
31 </div>
30 {% endfor %}
32 {% endfor %}
31 {% endif %}
33 {% endif %}
32
34
33 <div/>
35 <div/>
34
36
35 {% endblock %}
37 {% endblock %}
36
38
37
39
38 {% block script %}
40 {% block script %}
39
41
40 <script src="{{static_url("js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>
42 <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>
41
43
42 {% endblock %}
44 {% endblock %}
@@ -1,40 +1,43 b''
1 {% extends "base.html" %}
1 {% extends "page.html" %}
2
2
3 {% block stylesheet %}
3 {% block lesscss %}
4
4 {% if use_less %}
5 <link rel="stylesheet" href="{{static_url("css/logout.css") }}" type="text/css"/>
5 <link rel="stylesheet/less" href="{{ static_url("auth/less/style.less") }}" type="text/css" />
6 {% else %}
7 <link rel="stylesheet" href="{{ static_url("auth/css/style.min.css") }}" type="text/css"/>
8 {% endif %}
9 {% endblock lesscss%}
6
10
7 {% endblock %}
8
11
9
12
10 {% block login_widget %}
13 {% block login_widget %}
11 {% endblock %}
14 {% endblock %}
12
15
13 {% block site %}
16 {% block site %}
14
17
15 <div id="ipython-main-app">
18 <div id="ipython-main-app">
16
19
17 {% if message %}
20 {% if message %}
18 {% for key in message %}
21 {% for key in message %}
19 <div class="message {{key}}">
22 <div class="message {{key}}">
20 {{message[key]}}
23 {{message[key]}}
21 </div>
24 </div>
22 {% endfor %}
25 {% endfor %}
23 {% endif %}
26 {% endif %}
24
27
25 {% if read_only or not login_available %}
28 {% if read_only or not login_available %}
26 Proceed to the <a href="{{base_project_url}}">dashboard</a>.
29 Proceed to the <a href="{{base_project_url}}">dashboard</a>.
27 {% else %}
30 {% else %}
28 Proceed to the <a href="{{base_project_url}}login">login page</a>.
31 Proceed to the <a href="{{base_project_url}}login">login page</a>.
29 {% endif %}
32 {% endif %}
30
33
31
34
32 <div/>
35 <div/>
33
36
34 {% endblock %}
37 {% endblock %}
35
38
36 {% block script %}
39 {% block script %}
37
40
38 <script src="{{static_url("js/logoutmain.js") }}" type="text/javascript" charset="utf-8"></script>
41 <script src="{{static_url("auth/js/logoutmain.js") }}" type="text/javascript" charset="utf-8"></script>
39
42
40 {% endblock %}
43 {% endblock %}
@@ -1,248 +1,248 b''
1 {% extends "base.html" %}
1 {% extends "page.html" %}
2
2
3 {% block stylesheet %}
3 {% block stylesheet %}
4
4
5 {% if mathjax_url %}
5 {% if mathjax_url %}
6 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script>
6 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script>
7 {% endif %}
7 {% endif %}
8 <script type="text/javascript">
8 <script type="text/javascript">
9 // MathJax disabled, set as null to distingish from *missing* MathJax,
9 // MathJax disabled, set as null to distingish from *missing* MathJax,
10 // where it will be undefined, and should prompt a dialog later.
10 // where it will be undefined, and should prompt a dialog later.
11 window.mathjax_url = "{{mathjax_url}}";
11 window.mathjax_url = "{{mathjax_url}}";
12 </script>
12 </script>
13
13
14 <link rel="stylesheet" href="{{ static_url("components/codemirror/lib/codemirror.css") }}">
14 <link rel="stylesheet" href="{{ static_url("components/codemirror/lib/codemirror.css") }}">
15
15
16 {{super()}}
16 {{super()}}
17
17
18 {% endblock %}
18 {% endblock %}
19
19
20 {% block lesscss %}
20 {% block lesscss %}
21 {% if use_less %}
21 {% if use_less %}
22 <link rel="stylesheet/less" href="{{ static_url("ipython/notebooks/less/style.less") }}" type="text/css" />
22 <link rel="stylesheet/less" href="{{ static_url("notebooks/less/style.less") }}" type="text/css" />
23 {% else %}
23 {% else %}
24 <link rel="stylesheet" href="{{ static_url("ipython/notebooks/css/style.min.css") }}" type="text/css"/>
24 <link rel="stylesheet" href="{{ static_url("notebooks/css/style.min.css") }}" type="text/css"/>
25 {% endif %}
25 {% endif %}
26 {% endblock lesscss%}
26 {% endblock lesscss%}
27
27
28 {% block params %}
28 {% block params %}
29
29
30 data-project={{project}}
30 data-project={{project}}
31 data-base-project-url={{base_project_url}}
31 data-base-project-url={{base_project_url}}
32 data-base-kernel-url={{base_kernel_url}}
32 data-base-kernel-url={{base_kernel_url}}
33 data-read-only={{read_only and not logged_in}}
33 data-read-only={{read_only and not logged_in}}
34 data-notebook-id={{notebook_id}}
34 data-notebook-id={{notebook_id}}
35 class="notebook_app"
35 class="notebook_app"
36
36
37 {% endblock %}
37 {% endblock %}
38
38
39
39
40 {% block header %}
40 {% block header %}
41
41
42 <span id="save_widget">
42 <span id="save_widget">
43 <span id="notebook_name"></span>
43 <span id="notebook_name"></span>
44 <span id="checkpoint_status"></span>
44 <span id="checkpoint_status"></span>
45 <span id="autosave_status"></span>
45 <span id="autosave_status"></span>
46 </span>
46 </span>
47
47
48 {% endblock %}
48 {% endblock %}
49
49
50
50
51 {% block site %}
51 {% block site %}
52
52
53 <div id="menubar_container">
53 <div id="menubar_container">
54 <div id="menubar">
54 <div id="menubar">
55 <ul id="menus">
55 <ul id="menus">
56 <li><a href="#">File</a>
56 <li><a href="#">File</a>
57 <ul>
57 <ul>
58 <li id="new_notebook"><a href="#">New</a></li>
58 <li id="new_notebook"><a href="#">New</a></li>
59 <li id="open_notebook"><a href="#">Open...</a></li>
59 <li id="open_notebook"><a href="#">Open...</a></li>
60 <hr/>
60 <hr/>
61 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
61 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
62 <li id="rename_notebook"><a href="#">Rename...</a></li>
62 <li id="rename_notebook"><a href="#">Rename...</a></li>
63 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
63 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
64 <hr/>
64 <hr/>
65 <li id="restore_checkpoint"><a href="#">Revert to Checkpoint</a>
65 <li id="restore_checkpoint"><a href="#">Revert to Checkpoint</a>
66 <ul>
66 <ul>
67 <li><a href="#"></a></li>
67 <li><a href="#"></a></li>
68 <li><a href="#"></a></li>
68 <li><a href="#"></a></li>
69 <li><a href="#"></a></li>
69 <li><a href="#"></a></li>
70 <li><a href="#"></a></li>
70 <li><a href="#"></a></li>
71 <li><a href="#"></a></li>
71 <li><a href="#"></a></li>
72 </ul>
72 </ul>
73 </li>
73 </li>
74 <hr/>
74 <hr/>
75 <li><a href="#">Download as</a>
75 <li><a href="#">Download as</a>
76 <ul>
76 <ul>
77 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
77 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
78 <li id="download_py"><a href="#">Python (.py)</a></li>
78 <li id="download_py"><a href="#">Python (.py)</a></li>
79 </ul>
79 </ul>
80 </li>
80 </li>
81 <!--<hr/>
81 <!--<hr/>
82 <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>-->
82 <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>-->
83 <hr/>
83 <hr/>
84 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
84 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
85 </ul>
85 </ul>
86 </li>
86 </li>
87 <li><a href="#">Edit</a>
87 <li><a href="#">Edit</a>
88 <ul>
88 <ul>
89 <li id="cut_cell"><a href="#">Cut Cell</a></li>
89 <li id="cut_cell"><a href="#">Cut Cell</a></li>
90 <li id="copy_cell"><a href="#">Copy Cell</a></li>
90 <li id="copy_cell"><a href="#">Copy Cell</a></li>
91 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
91 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
92 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
92 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
93 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
93 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
94 <li id="delete_cell"><a href="#">Delete Cell</a></li>
94 <li id="delete_cell"><a href="#">Delete Cell</a></li>
95 <li id="undelete_cell" class="ui-state-disabled"><a href="#">Undo Delete Cell</a></li>
95 <li id="undelete_cell" class="ui-state-disabled"><a href="#">Undo Delete Cell</a></li>
96 <hr/>
96 <hr/>
97 <li id="split_cell"><a href="#">Split Cell</a></li>
97 <li id="split_cell"><a href="#">Split Cell</a></li>
98 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
98 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
99 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
99 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
100 <hr/>
100 <hr/>
101 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
101 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
102 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
102 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
103 <hr/>
103 <hr/>
104 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
104 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
105 <li id="select_next"><a href="#">Select Next Cell</a></li>
105 <li id="select_next"><a href="#">Select Next Cell</a></li>
106 </ul>
106 </ul>
107 </li>
107 </li>
108 <li><a href="#">View</a>
108 <li><a href="#">View</a>
109 <ul>
109 <ul>
110 <li id="toggle_header"><a href="#">Toggle Header</a></li>
110 <li id="toggle_header"><a href="#">Toggle Header</a></li>
111 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
111 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
112 </ul>
112 </ul>
113 </li>
113 </li>
114 <li><a href="#">Insert</a>
114 <li><a href="#">Insert</a>
115 <ul>
115 <ul>
116 <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
116 <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
117 <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
117 <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
118 </ul>
118 </ul>
119 </li>
119 </li>
120 <li><a href="#">Cell</a>
120 <li><a href="#">Cell</a>
121 <ul>
121 <ul>
122 <li id="run_cell"><a href="#">Run</a></li>
122 <li id="run_cell"><a href="#">Run</a></li>
123 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
123 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
124 <li id="run_all_cells"><a href="#">Run All</a></li>
124 <li id="run_all_cells"><a href="#">Run All</a></li>
125 <li id="run_all_cells_above"><a href="#">Run All Above</a></li>
125 <li id="run_all_cells_above"><a href="#">Run All Above</a></li>
126 <li id="run_all_cells_below"><a href="#">Run All Below</a></li>
126 <li id="run_all_cells_below"><a href="#">Run All Below</a></li>
127 <hr/>
127 <hr/>
128 <li id="to_code"><a href="#">Code</a></li>
128 <li id="to_code"><a href="#">Code</a></li>
129 <li id="to_markdown"><a href="#">Markdown </a></li>
129 <li id="to_markdown"><a href="#">Markdown </a></li>
130 <li id="to_raw"><a href="#">Raw Text</a></li>
130 <li id="to_raw"><a href="#">Raw Text</a></li>
131 <li id="to_heading1"><a href="#">Heading 1</a></li>
131 <li id="to_heading1"><a href="#">Heading 1</a></li>
132 <li id="to_heading2"><a href="#">Heading 2</a></li>
132 <li id="to_heading2"><a href="#">Heading 2</a></li>
133 <li id="to_heading3"><a href="#">Heading 3</a></li>
133 <li id="to_heading3"><a href="#">Heading 3</a></li>
134 <li id="to_heading4"><a href="#">Heading 4</a></li>
134 <li id="to_heading4"><a href="#">Heading 4</a></li>
135 <li id="to_heading5"><a href="#">Heading 5</a></li>
135 <li id="to_heading5"><a href="#">Heading 5</a></li>
136 <li id="to_heading6"><a href="#">Heading 6</a></li>
136 <li id="to_heading6"><a href="#">Heading 6</a></li>
137 <hr/>
137 <hr/>
138 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
138 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
139 <li id="all_outputs"><a href="#">All Output</a>
139 <li id="all_outputs"><a href="#">All Output</a>
140 <ul>
140 <ul>
141 <li id="expand_all_output"><a href="#">Expand</a></li>
141 <li id="expand_all_output"><a href="#">Expand</a></li>
142 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
142 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
143 <li id="collapse_all_output"><a href="#">Collapse</a></li>
143 <li id="collapse_all_output"><a href="#">Collapse</a></li>
144 <li id="clear_all_output"><a href="#">Clear</a></li>
144 <li id="clear_all_output"><a href="#">Clear</a></li>
145 </ul>
145 </ul>
146 </li>
146 </li>
147 </ul>
147 </ul>
148 </li>
148 </li>
149 <li><a href="#">Kernel</a>
149 <li><a href="#">Kernel</a>
150 <ul>
150 <ul>
151 <li id="int_kernel"><a href="#">Interrupt</a></li>
151 <li id="int_kernel"><a href="#">Interrupt</a></li>
152 <li id="restart_kernel"><a href="#">Restart</a></li>
152 <li id="restart_kernel"><a href="#">Restart</a></li>
153 </ul>
153 </ul>
154 </li>
154 </li>
155 <li><a href="#">Help</a>
155 <li><a href="#">Help</a>
156 <ul>
156 <ul>
157 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
157 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
158 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
158 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
159 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
159 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
160 <hr/>
160 <hr/>
161 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
161 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
162 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
162 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
163 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
163 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
164 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
164 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
165 <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
165 <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
166 </ul>
166 </ul>
167 </li>
167 </li>
168 </ul>
168 </ul>
169
169
170 </div>
170 </div>
171 <div id="notification_area">
171 <div id="notification_area">
172 </div>
172 </div>
173 </div>
173 </div>
174
174
175
175
176 <div id="maintoolbar"></div>
176 <div id="maintoolbar"></div>
177
177
178 <div id="ipython-main-app">
178 <div id="ipython-main-app">
179
179
180 <div id="notebook_panel">
180 <div id="notebook_panel">
181 <div id="notebook"></div>
181 <div id="notebook"></div>
182 <div id="pager_splitter"></div>
182 <div id="pager_splitter"></div>
183 <div id="pager_container">
183 <div id="pager_container">
184 <div id='pager_button_area'>
184 <div id='pager_button_area'>
185 </div>
185 </div>
186 <div id="pager"></div>
186 <div id="pager"></div>
187 </div>
187 </div>
188 </div>
188 </div>
189
189
190 </div>
190 </div>
191 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
191 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
192
192
193
193
194 {% endblock %}
194 {% endblock %}
195
195
196
196
197 {% block script %}
197 {% block script %}
198
198
199 {{super()}}
199 {{super()}}
200
200
201 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
201 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
202 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
202 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
203 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
203 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
204 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
204 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
205 <script src="{{ static_url("ipython/notebooks/js/codemirror-ipython.js") }}" charset="utf-8"></script>
205 <script src="{{ static_url("notebooks/js/codemirror-ipython.js") }}" charset="utf-8"></script>
206 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
206 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
207 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
207 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
208 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
208 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
209 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
209 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
210 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
210 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
211 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
211 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
212 <script src="{{ static_url("components/codemirror/mode/gfm/gfm.js") }}" charset="utf-8"></script>
212 <script src="{{ static_url("components/codemirror/mode/gfm/gfm.js") }}" charset="utf-8"></script>
213
213
214 <script src="{{ static_url("components/marked/lib/marked.js") }}" charset="utf-8"></script>
214 <script src="{{ static_url("components/marked/lib/marked.js") }}" charset="utf-8"></script>
215 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
215 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
216
216
217 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
217 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
218
218
219 <script src="{{ static_url("ipython/base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
219 <script src="{{ static_url("base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
220 <script src="{{ static_url("ipython/base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
220 <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
221 <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
221 <script src="{{ static_url("notebooks/js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
222 <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
222 <script src="{{ static_url("notebooks/js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
223 <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
223 <script src="{{ static_url("notebooks/js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
224 <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
224 <script src="{{ static_url("notebooks/js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
225 <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
225 <script src="{{ static_url("notebooks/js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
226 <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
226 <script src="{{ static_url("notebooks/js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
227 <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
227 <script src="{{ static_url("notebooks/js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
228 <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
228 <script src="{{ static_url("notebooks/js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
229 <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
229 <script src="{{ static_url("kernels/js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
230 <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
230 <script src="{{ static_url("notebooks/js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
231 <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
231 <script src="{{ static_url("notebooks/js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
232 <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
232 <script src="{{ static_url("notebooks/js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
233 <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
233 <script src="{{ static_url("notebooks/js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
234 <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
234 <script src="{{ static_url("notebooks/js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
235 <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
235 <script src="{{ static_url("notebooks/js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
236 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
236 <script src="{{ static_url("notebooks/js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
237 <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
237 <script src="{{ static_url("notebooks/js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
238 <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
238 <script src="{{ static_url("notebooks/js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
239 <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
239 <script src="{{ static_url("notebooks/js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
240 <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script>
240 <script src="{{ static_url("notebooks/js/config.js") }}" type="text/javascript" charset="utf-8"></script>
241 <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
241 <script src="{{ static_url("notebooks/js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
242
242
243 <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script>
243 <script src="{{ static_url("notebooks/js/contexthint.js") }}" charset="utf-8"></script>
244
244
245 <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
245 <script src="{{ static_url("notebooks/js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
246 <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
246 <script src="{{ static_url("notebooks/js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
247
247
248 {% endblock %}
248 {% endblock %}
@@ -1,70 +1,70 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 <meta http-equiv="X-UA-Compatible" content="chrome=1">
13 <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" />
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("ipython/base/css/boilerplate.css") }}" type="text/css" />
15 <link rel="stylesheet" href="{{static_url("base/css/boilerplate.css") }}" type="text/css" />
16 {% block stylesheet %}
16 {% block stylesheet %}
17 {% block lesscss %}
17 {% block lesscss %}
18 {% endblock lesscss%}
18 {% endblock lesscss%}
19 {% endblock %}
19 {% endblock %}
20 <!-- <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" /> -->
20 <!-- <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" /> -->
21
21
22
22
23 {% block meta %}
23 {% block meta %}
24 {% endblock %}
24 {% endblock %}
25
25
26 </head>
26 </head>
27
27
28 <body {% block params %}{% endblock %}>
28 <body {% block params %}{% endblock %}>
29
29
30 <div id="header">
30 <div id="header">
31 <span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span>
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
32
33 {% block login_widget %}
33 {% block login_widget %}
34
34
35 <span id="login_widget">
35 <span id="login_widget">
36 {% if logged_in %}
36 {% if logged_in %}
37 <button id="logout">Logout</button>
37 <button id="logout">Logout</button>
38 {% elif login_available and not logged_in %}
38 {% elif login_available and not logged_in %}
39 <button id="login">Login</button>
39 <button id="login">Login</button>
40 {% endif %}
40 {% endif %}
41 </span>
41 </span>
42
42
43 {% endblock %}
43 {% endblock %}
44
44
45 {% block header %}
45 {% block header %}
46 {% endblock %}
46 {% endblock %}
47 </div>
47 </div>
48
48
49 <div id="site">
49 <div id="site">
50 {% block site %}
50 {% block site %}
51 {% endblock %}
51 {% endblock %}
52 </div>
52 </div>
53
53
54 <script src="{{static_url("jquery/js/jquery-1.7.1.min.js") }}" type="text/javascript" charset="utf-8"></script>
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-ui.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("ipython/base/js/namespace.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("ipython/base/js/page.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("ipython/auth/js/loginwidget.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
59
60 {% block script %}
60 {% block script %}
61 {% if use_less %}
61 {% if use_less %}
62 <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script>
62 <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script>
63 {% endif %}
63 {% endif %}
64 {% endblock %}
64 {% endblock %}
65
65
66 <!-- <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script> -->
66 <!-- <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script> -->
67
67
68 </body>
68 </body>
69
69
70 </html>
70 </html>
@@ -1,90 +1,92 b''
1 {% extends "base.html" %}
1 {% extends "page.html" %}
2
2
3 {% block title %}IPython Dashboard{% endblock %}
3 {% block title %}IPython Dashboard{% endblock %}
4
4
5 {% block stylesheet %}
5 {% block lesscss %}
6 {{super()}}
6 {% if use_less %}
7 <link rel="stylesheet" href="{{static_url("css/alternateuploadform.css") }}" type="text/css" />
7 <link rel="stylesheet/less" href="{{ static_url("tree/less/style.less") }}" type="text/css" />
8 <link rel="stylesheet" href="{{static_url("css/style.min.css") }}" type="text/css" />
8 {% else %}
9 <link rel="stylesheet" href="{{static_url("css/projectdashboard.css") }}" type="text/css" />
9 <link rel="stylesheet" href="{{ static_url("tree/css/style.min.css") }}" type="text/css"/>
10 {% endblock %}
10 {% endif %}
11 {% endblock lesscss%}
12
11
13
12
14
13 {% block params %}
15 {% block params %}
14
16
15 data-project={{project}}
17 data-project={{project}}
16 data-base-project-url={{base_project_url}}
18 data-base-project-url={{base_project_url}}
17 data-base-kernel-url={{base_kernel_url}}
19 data-base-kernel-url={{base_kernel_url}}
18 data-read-only={{read_only}}
20 data-read-only={{read_only}}
19
21
20 {% endblock %}
22 {% endblock %}
21
23
22
24
23 {% block site %}
25 {% block site %}
24
26
25 <div id="ipython-main-app">
27 <div id="ipython-main-app">
26
28
27 <div id="tabs">
29 <div id="tabs">
28 <ul>
30 <ul>
29 <li><a href="#tab1">Notebooks</a></li>
31 <li><a href="#tab1">Notebooks</a></li>
30 <li><a href="#tab2">Clusters</a></li>
32 <li><a href="#tab2">Clusters</a></li>
31 </ul>
33 </ul>
32
34
33 <div id="tab1">
35 <div id="tab1">
34 {% if logged_in or not read_only %}
36 {% if logged_in or not read_only %}
35 <div id="notebook_toolbar">
37 <div id="notebook_toolbar">
36 <form id='alternate_upload' class='alternate_upload' >
38 <form id='alternate_upload' class='alternate_upload' >
37 <span id="drag_info" style="position:absolute" >
39 <span id="drag_info" style="position:absolute" >
38 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
40 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
39 </span>
41 </span>
40 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
42 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
41 </form>
43 </form>
42 <span id="notebook_buttons">
44 <span id="notebook_buttons">
43 <button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button>
45 <button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button>
44 <button id="new_notebook" title="Create new notebook">New Notebook</button>
46 <button id="new_notebook" title="Create new notebook">New Notebook</button>
45 </span>
47 </span>
46 </div>
48 </div>
47 {% endif %}
49 {% endif %}
48
50
49 <div id="notebook_list">
51 <div id="notebook_list">
50 <div id="project_name">
52 <div id="project_name">
51 <ul class="breadcrumb">
53 <ul class="breadcrumb">
52 {% for component in project_component %}
54 {% for component in project_component %}
53 <li>{{component}} <span>/</span></li>
55 <li>{{component}} <span>/</span></li>
54 {% endfor %}
56 {% endfor %}
55 </ul>
57 </ul>
56 </div>
58 </div>
57 </div>
59 </div>
58 </div>
60 </div>
59 <div id="tab2">
61 <div id="tab2">
60
62
61 <div id="cluster_toolbar">
63 <div id="cluster_toolbar">
62 <span id="cluster_list_info">IPython parallel computing clusters</span>
64 <span id="cluster_list_info">IPython parallel computing clusters</span>
63
65
64 <span id="cluster_buttons">
66 <span id="cluster_buttons">
65 <button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button>
67 <button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button>
66 </span>
68 </span>
67 </div>
69 </div>
68
70
69 <div id="cluster_list">
71 <div id="cluster_list">
70 <div id="cluster_header">
72 <div id="cluster_header">
71 <span>profile</span>
73 <span>profile</span>
72 <span>action</span>
74 <span>action</span>
73 <span title="Enter the number of engines to start or empty for default"># of engines</span>
75 <span title="Enter the number of engines to start or empty for default"># of engines</span>
74 <span>status</span>
76 <span>status</span>
75 </div>
77 </div>
76 </div>
78 </div>
77
79
78 </div>
80 </div>
79 </div>
81 </div>
80
82
81 </div>
83 </div>
82
84
83 {% endblock %}
85 {% endblock %}
84
86
85 {% block script %}
87 {% block script %}
86 {{super()}}
88 {{super()}}
87 <script src="{{static_url("js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
89 <script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
88 <script src="{{static_url("js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
90 <script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
89 <script src="{{static_url("js/projectdashboardmain.js") }}" type="text/javascript" charset="utf-8"></script>
91 <script src="{{static_url("tree/js/projectdashboardmain.js") }}" type="text/javascript" charset="utf-8"></script>
90 {% endblock %}
92 {% endblock %}
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (6585 lines changed) Show them Hide them
General Comments 0
You need to be logged in to leave comments. Login now