##// END OF EJS Templates
manual rebase html notebook templates
Zachary Sailer -
Show More
@@ -1,261 +1,263 b''
1 {% extends "page.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 <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" />
18 <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" />
19
19
20 {% endblock %}
20 {% endblock %}
21
21
22 {% block params %}
22 {% block params %}
23
23
24 data-project={{project}}
24 data-project={{project}}
25 data-base-project-url={{base_project_url}}
25 data-base-project-url={{base_project_url}}
26 data-base-kernel-url={{base_kernel_url}}
26 data-base-kernel-url={{base_kernel_url}}
27 data-notebook-id={{notebook_id}}
27 data-notebook-name={{notebook_name}}
28 data-notebook-path={{notebook_path}}
28 class="notebook_app"
29 class="notebook_app"
29
30
30 {% endblock %}
31 {% endblock %}
31
32
32
33
33 {% block header %}
34 {% block header %}
34
35
35 <span id="save_widget" class="nav pull-left">
36 <span id="save_widget" class="nav pull-left">
36 <span id="notebook_name"></span>
37 <span id="notebook_name"></span>
37 <span id="checkpoint_status"></span>
38 <span id="checkpoint_status"></span>
38 <span id="autosave_status"></span>
39 <span id="autosave_status"></span>
39 </span>
40 </span>
40
41
41 {% endblock %}
42 {% endblock %}
42
43
43
44
44 {% block site %}
45 {% block site %}
45
46
46 <div id="menubar-container" class="container">
47 <div id="menubar-container" class="container">
47 <div id="menubar">
48 <div id="menubar">
48 <div class="navbar">
49 <div class="navbar">
49 <div class="navbar-inner">
50 <div class="navbar-inner">
50 <div class="container">
51 <div class="container">
51 <ul id="menus" class="nav">
52 <ul id="menus" class="nav">
52 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a>
53 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a>
53 <ul class="dropdown-menu">
54 <ul class="dropdown-menu">
54 <li id="new_notebook"><a href="#">New</a></li>
55 <li id="new_notebook"><a href="#">New</a></li>
55 <li id="open_notebook"><a href="#">Open...</a></li>
56 <li id="open_notebook"><a href="#">Open...</a></li>
56 <!-- <hr/> -->
57 <!-- <hr/> -->
57 <li class="divider"></li>
58 <li class="divider"></li>
58 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
59 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
59 <li id="rename_notebook"><a href="#">Rename...</a></li>
60 <li id="rename_notebook"><a href="#">Rename...</a></li>
60 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
61 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
61 <!-- <hr/> -->
62 <!-- <hr/> -->
62 <li class="divider"></li>
63 <li class="divider"></li>
63 <li id="restore_checkpoint" class="dropdown-submenu"><a href="#">Revert to Checkpoint</a>
64 <li id="restore_checkpoint" class="dropdown-submenu"><a href="#">Revert to Checkpoint</a>
64 <ul class="dropdown-menu">
65 <ul class="dropdown-menu">
65 <li><a href="#"></a></li>
66 <li><a href="#"></a></li>
66 <li><a href="#"></a></li>
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 </ul>
71 </ul>
71 </li>
72 </li>
72 <li class="divider"></li>
73 <li class="divider"></li>
73 <li class="dropdown-submenu"><a href="#">Download as</a>
74 <li class="dropdown-submenu"><a href="#">Download as</a>
74 <ul class="dropdown-menu">
75 <ul class="dropdown-menu">
75 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
76 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
76 <li id="download_py"><a href="#">Python (.py)</a></li>
77 <li id="download_py"><a href="#">Python (.py)</a></li>
77 </ul>
78 </ul>
78 </li>
79 </li>
79 <li class="divider"></li>
80 <li class="divider"></li>
80
81
81 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
82 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
82 </ul>
83 </ul>
83 </li>
84 </li>
84 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a>
85 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a>
85 <ul class="dropdown-menu">
86 <ul class="dropdown-menu">
86 <li id="cut_cell"><a href="#">Cut Cell</a></li>
87 <li id="cut_cell"><a href="#">Cut Cell</a></li>
87 <li id="copy_cell"><a href="#">Copy Cell</a></li>
88 <li id="copy_cell"><a href="#">Copy Cell</a></li>
88 <li id="paste_cell_above" class="disabled"><a href="#">Paste Cell Above</a></li>
89 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
89 <li id="paste_cell_below" class="disabled"><a href="#">Paste Cell Below</a></li>
90 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
90 <li id="paste_cell_replace" class="disabled"><a href="#">Paste Cell &amp; Replace</a></li>
91 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
91 <li id="delete_cell"><a href="#">Delete Cell</a></li>
92 <li id="delete_cell"><a href="#">Delete Cell</a></li>
92 <li id="undelete_cell" class="disabled"><a href="#">Undo Delete Cell</a></li>
93 <li id="undelete_cell" class="ui-state-disabled"><a href="#">Undo Delete Cell</a></li>
93 <li class="divider"></li>
94 <li class="divider"></li>
94 <li id="split_cell"><a href="#">Split Cell</a></li>
95 <li id="split_cell"><a href="#">Split Cell</a></li>
95 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
96 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
96 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
97 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
97 <li class="divider"></li>
98 <li class="divider"></li>
98 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
99 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
99 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
100 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
100 <li class="divider"></li>
101 <li class="divider"></li>
101 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
102 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
102 <li id="select_next"><a href="#">Select Next Cell</a></li>
103 <li id="select_next"><a href="#">Select Next Cell</a></li>
103 <li class="divider"></li>
104 <li class="divider"></li>
104 <li id="edit_nb_metadata"><a href="#">Edit Notebook Metadata</a></li>
105 <li id="edit_nb_metadata"><a href="#">Edit Notebook Metadata</a></li>
105 </ul>
106 </ul>
106 </li>
107 </li>
107 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a>
108 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a>
108 <ul class="dropdown-menu">
109 <ul class="dropdown-menu">
109 <li id="toggle_header"><a href="#">Toggle Header</a></li>
110 <li id="toggle_header"><a href="#">Toggle Header</a></li>
110 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
111 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
111 </ul>
112 </ul>
112 </li>
113 </li>
113 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Insert</a>
114 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Insert</a>
114 <ul class="dropdown-menu">
115 <ul class="dropdown-menu">
115 <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>
116 <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>
117 </ul>
118 </ul>
118 </li>
119 </li>
119 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Cell</a>
120 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Cell</a>
120 <ul class="dropdown-menu">
121 <ul class="dropdown-menu">
121 <li id="run_cell"><a href="#">Run</a></li>
122 <li id="run_cell"><a href="#">Run</a></li>
122 <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>
123 <li id="run_all_cells"><a href="#">Run All</a></li>
124 <li id="run_all_cells"><a href="#">Run All</a></li>
124 <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>
125 <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>
126 <li class="divider"></li>
127 <li class="divider"></li>
127 <li id="change_cell_type" class="dropdown-submenu"><a href="#">Cell Type</a>
128 <li id="change_cell_type" class="dropdown-submenu"><a href="#">Cell Type</a>
128 <ul class="dropdown-menu">
129 <ul class="dropdown-menu">
129 <li id="to_code"><a href="#">Code</a></li>
130 <li id="to_code"><a href="#">Code</a></li>
130 <li id="to_markdown"><a href="#">Markdown </a></li>
131 <li id="to_markdown"><a href="#">Markdown </a></li>
131 <li id="to_raw"><a href="#">Raw Text</a></li>
132 <li id="to_raw"><a href="#">Raw Text</a></li>
132 <li id="to_heading1"><a href="#">Heading 1</a></li>
133 <li id="to_heading1"><a href="#">Heading 1</a></li>
133 <li id="to_heading2"><a href="#">Heading 2</a></li>
134 <li id="to_heading2"><a href="#">Heading 2</a></li>
134 <li id="to_heading3"><a href="#">Heading 3</a></li>
135 <li id="to_heading3"><a href="#">Heading 3</a></li>
135 <li id="to_heading4"><a href="#">Heading 4</a></li>
136 <li id="to_heading4"><a href="#">Heading 4</a></li>
136 <li id="to_heading5"><a href="#">Heading 5</a></li>
137 <li id="to_heading5"><a href="#">Heading 5</a></li>
137 <li id="to_heading6"><a href="#">Heading 6</a></li>
138 <li id="to_heading6"><a href="#">Heading 6</a></li>
138 </ul>
139 </ul>
139 </li>
140 </li>
140 <li class="divider"></li>
141 <li class="divider"></li>
141 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
142 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
142 <li id="all_outputs" class="dropdown-submenu"><a href="#">All Output</a>
143 <li id="all_outputs" class="dropdown-submenu"><a href="#">All Output</a>
143 <ul class="dropdown-menu">
144 <ul class="dropdown-menu">
144 <li id="expand_all_output"><a href="#">Expand</a></li>
145 <li id="expand_all_output"><a href="#">Expand</a></li>
145 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
146 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
146 <li id="collapse_all_output"><a href="#">Collapse</a></li>
147 <li id="collapse_all_output"><a href="#">Collapse</a></li>
147 <li id="clear_all_output"><a href="#">Clear</a></li>
148 <li id="clear_all_output"><a href="#">Clear</a></li>
148 </ul>
149 </ul>
149 </li>
150 </li>
150 </ul>
151 </ul>
151 </li>
152 </li>
152 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a>
153 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a>
153 <ul class="dropdown-menu">
154 <ul class="dropdown-menu">
154 <li id="int_kernel"><a href="#">Interrupt</a></li>
155 <li id="int_kernel"><a href="#">Interrupt</a></li>
155 <li id="restart_kernel"><a href="#">Restart</a></li>
156 <li id="restart_kernel"><a href="#">Restart</a></li>
156 </ul>
157 </ul>
157 </li>
158 </li>
158 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
159 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
159 <ul class="dropdown-menu">
160 <ul class="dropdown-menu">
160 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
161 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
161 <li><a href="http://ipython.org/ipython-doc/stable/interactive/notebook.html" target="_blank">Notebook Help</a></li>
162 <li><a href="http://ipython.org/ipython-doc/stable/interactive/notebook.html" target="_blank">Notebook Help</a></li>
162 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
163 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
163 <li class="divider"></li>
164 <li class="divider"></li>
164 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
165 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
165 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
166 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
166 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
167 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
167 <li><a href="http://matplotlib.org/" target="_blank">Matplotlib</a></li>
168 <li><a href="http://matplotlib.org/" target="_blank">Matplotlib</a></li>
168 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
169 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
169 <li><a href="http://pandas.pydata.org/pandas-docs/stable/" target="_blank">pandas</a></li>
170 <li><a href="http://pandas.pydata.org/pandas-docs/stable/" target="_blank">pandas</a></li>
170 </ul>
171 </ul>
171 </li>
172 </li>
172 </ul>
173 </ul>
173 <div id="notification_area"></div>
174 <div id="notification_area"></div>
174 </div>
175 </div>
175 </div>
176 </div>
176 </div>
177 </div>
177 </div>
178 </div>
178 <div id="maintoolbar" class="navbar">
179 <div id="maintoolbar" class="navbar">
179 <div class="toolbar-inner navbar-inner navbar-nobg">
180 <div class="toolbar-inner navbar-inner navbar-nobg">
180 <div id="maintoolbar-container" class="container"></div>
181 <div id="maintoolbar-container" class="container"></div>
181 </div>
182 </div>
182 </div>
183 </div>
183 </div>
184 </div>
184
185
185 <div id="ipython-main-app">
186 <div id="ipython-main-app">
186
187
187 <div id="notebook_panel">
188 <div id="notebook_panel">
188 <div id="notebook"></div>
189 <div id="notebook"></div>
189 <div id="pager_splitter"></div>
190 <div id="pager_splitter"></div>
190 <div id="pager">
191 <div id="pager">
191 <div id='pager_button_area'>
192 <div id='pager_button_area'>
192 </div>
193 </div>
193 <div id="pager-container" class="container"></div>
194 <div id="pager-container" class="container"></div>
194 </div>
195 </div>
195 </div>
196 </div>
196
197
197 </div>
198 </div>
198 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
199 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
199
200
200
201
201 {% endblock %}
202 {% endblock %}
202
203
203
204
204 {% block script %}
205 {% block script %}
205
206
206 {{super()}}
207 {{super()}}
207
208
208 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
209 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
209 <script type="text/javascript">
210 <script type="text/javascript">
210 CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js") }}";
211 CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js") }}";
211 </script>
212 </script>
212 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
213 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
213 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
214 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
214 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
215 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
215 <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
216 <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
216 <script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
217 <script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
217 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
218 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
218 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
219 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
219 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
220 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
220 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
221 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
221 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
222 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
222 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
223 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
223 <script src="{{ static_url("components/codemirror/mode/gfm/gfm.js") }}" charset="utf-8"></script>
224 <script src="{{ static_url("components/codemirror/mode/gfm/gfm.js") }}" charset="utf-8"></script>
224 <script src="{{ static_url("components/codemirror/mode/python/python.js") }}" charset="utf-8"></script>
225 <script src="{{ static_url("components/codemirror/mode/python/python.js") }}" charset="utf-8"></script>
225 <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script>
226 <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script>
226
227
227 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
228 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
228
229
229 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
230 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
230
231
231 <script src="{{ static_url("base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
232 <script src="{{ static_url("base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
232 <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
233 <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
233 <script src="{{ static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
234 <script src="{{ static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
234 <script src="{{ static_url("notebook/js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
235 <script src="{{ static_url("notebook/js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
235 <script src="{{ static_url("notebook/js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
236 <script src="{{ static_url("notebook/js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
236 <script src="{{ static_url("notebook/js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
237 <script src="{{ static_url("notebook/js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
237 <script src="{{ static_url("notebook/js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
238 <script src="{{ static_url("notebook/js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
238 <script src="{{ static_url("notebook/js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
239 <script src="{{ static_url("notebook/js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
239 <script src="{{ static_url("notebook/js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
240 <script src="{{ static_url("notebook/js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
240 <script src="{{ static_url("notebook/js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
241 <script src="{{ static_url("notebook/js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
241 <script src="{{ static_url("notebook/js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
242 <script src="{{ static_url("notebook/js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
242 <script src="{{ static_url("services/kernels/js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
243 <script src="{{ static_url("services/kernels/js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
244 <script src="{{ static_url("services/sessions/js/session.js") }}" type="text/javascript" charset="utf-8"></script>
243 <script src="{{ static_url("notebook/js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
245 <script src="{{ static_url("notebook/js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
244 <script src="{{ static_url("notebook/js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
246 <script src="{{ static_url("notebook/js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
245 <script src="{{ static_url("notebook/js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
247 <script src="{{ static_url("notebook/js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
246 <script src="{{ static_url("notebook/js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
248 <script src="{{ static_url("notebook/js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
247 <script src="{{ static_url("notebook/js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
249 <script src="{{ static_url("notebook/js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
248 <script src="{{ static_url("notebook/js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
250 <script src="{{ static_url("notebook/js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
249 <script src="{{ static_url("notebook/js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
251 <script src="{{ static_url("notebook/js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
250 <script src="{{ static_url("notebook/js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
252 <script src="{{ static_url("notebook/js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
251 <script src="{{ static_url("notebook/js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
253 <script src="{{ static_url("notebook/js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
252 <script src="{{ static_url("notebook/js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
254 <script src="{{ static_url("notebook/js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
253 <script src="{{ static_url("notebook/js/config.js") }}" type="text/javascript" charset="utf-8"></script>
255 <script src="{{ static_url("notebook/js/config.js") }}" type="text/javascript" charset="utf-8"></script>
254 <script src="{{ static_url("notebook/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
256 <script src="{{ static_url("notebook/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
255
257
256 <script src="{{ static_url("notebook/js/contexthint.js") }}" charset="utf-8"></script>
258 <script src="{{ static_url("notebook/js/contexthint.js") }}" charset="utf-8"></script>
257
259
258 <script src="{{ static_url("notebook/js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
260 <script src="{{ static_url("notebook/js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
259 <script src="{{ static_url("notebook/js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
261 <script src="{{ static_url("notebook/js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
260
262
261 {% endblock %}
263 {% endblock %}
@@ -1,89 +1,91 b''
1 {% extends "page.html" %}
1 {% extends "page.html" %}
2
2
3 {% block title %}IPython Dashboard{% endblock %}
3 {% block title %}IPython Dashboard{% endblock %}
4
4
5
5
6 {% block stylesheet %}
6 {% block stylesheet %}
7 {{super()}}
7 {{super()}}
8 <link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" />
8 <link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" />
9 {% endblock %}
9 {% endblock %}
10
10
11 {% block params %}
11 {% block params %}
12
12
13 data-project={{project}}
13 data-project={{project}}
14 data-base-project-url={{base_project_url}}
14 data-base-project-url={{base_project_url}}
15 data-notebook-path={{notebook_path}}
16 data-notebook-name={{notebook_name}}
15 data-base-kernel-url={{base_kernel_url}}
17 data-base-kernel-url={{base_kernel_url}}
16
18
17 {% endblock %}
19 {% endblock %}
18
20
19
21
20 {% block site %}
22 {% block site %}
21
23
22 <div id="ipython-main-app" class="container">
24 <div id="ipython-main-app" class="container">
23
25
24 <div id="tabs" class="tabbable">
26 <div id="tabs" class="tabbable">
25 <ul class="nav nav-tabs" id="tabs">
27 <ul class="nav nav-tabs" id="tabs">
26 <li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li>
28 <li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li>
27 <li><a href="#clusters" data-toggle="tab">Clusters</a></li>
29 <li><a href="#clusters" data-toggle="tab">Clusters</a></li>
28 </ul>
30 </ul>
29
31
30 <div class="tab-content">
32 <div class="tab-content">
31 <div id="notebooks" class="tab-pane active">
33 <div id="notebooks" class="tab-pane active">
32 <div id="notebook_toolbar">
34 <div id="notebook_toolbar">
33 <form id='alternate_upload' class='alternate_upload' >
35 <form id='alternate_upload' class='alternate_upload' >
34 <span id="drag_info" style="position:absolute" >
36 <span id="drag_info" style="position:absolute" >
35 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
37 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
36 </span>
38 </span>
37 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
39 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
38 </form>
40 </form>
39 <span id="notebook_buttons">
41 <span id="notebook_buttons">
40 <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small">Refresh</button>
42 <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small">Refresh</button>
41 <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button>
43 <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button>
42 </span>
44 </span>
43 </div>
45 </div>
44
46
45 <div id="notebook_list">
47 <div id="notebook_list">
46 <div id="notebook_list_header" class="row-fluid list_header">
48 <div id="notebook_list_header" class="row-fluid list_header">
47 <div id="project_name">
49 <div id="project_name">
48 <ul class="breadcrumb">
50 <ul class="breadcrumb">
49 {% for component in project_component %}
51 {% for component in project_component %}
50 <li>{{component}} <span>/</span></li>
52 <li>{{component}} <span>/</span></li>
51 {% endfor %}
53 {% endfor %}
52 </ul>
54 </ul>
53 </div>
55 </div>
54 </div>
56 </div>
55 </div>
57 </div>
56 </div>
58 </div>
57
59
58 <div id="clusters" class="tab-pane">
60 <div id="clusters" class="tab-pane">
59
61
60 <div id="cluster_toolbar">
62 <div id="cluster_toolbar">
61 <span id="cluster_list_info">IPython parallel computing clusters</span>
63 <span id="cluster_list_info">IPython parallel computing clusters</span>
62
64
63 <span id="cluster_buttons">
65 <span id="cluster_buttons">
64 <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small">Refresh</button>
66 <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small">Refresh</button>
65 </span>
67 </span>
66 </div>
68 </div>
67
69
68 <div id="cluster_list">
70 <div id="cluster_list">
69 <div id="cluster_list_header" class="row-fluid list_header">
71 <div id="cluster_list_header" class="row-fluid list_header">
70 <span class="profile_col span4">profile</span>
72 <span class="profile_col span4">profile</span>
71 <span class="status_col span3">status</span>
73 <span class="status_col span3">status</span>
72 <span class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</span>
74 <span class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</span>
73 <span class="action_col span2">action</span>
75 <span class="action_col span2">action</span>
74 </div>
76 </div>
75 </div>
77 </div>
76 </div>
78 </div>
77 </div>
79 </div>
78
80
79 </div>
81 </div>
80
82
81 {% endblock %}
83 {% endblock %}
82
84
83 {% block script %}
85 {% block script %}
84 {{super()}}
86 {{super()}}
85 <script src="{{static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
87 <script src="{{static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
86 <script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
88 <script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
87 <script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
89 <script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
88 <script src="{{static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
90 <script src="{{static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
89 {% endblock %}
91 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now