##// END OF EJS Templates
Fixed status indicator region
jon -
Show More
@@ -1,45 +1,52 b''
1 #menubar {
1 #menubar {
2 }
2 }
3
3
4 #menubar .navbar-inner {
4 #menubar .navbar-inner {
5 min-height: 28px;
5 min-height: 28px;
6 border-top: 1px;
6 border-top: 1px;
7 border-radius: 0px 0px @border-radius-base @border-radius-base;
7 border-radius: 0px 0px @border-radius-base @border-radius-base;
8 }
8 }
9
9
10 #menubar .navbar {
10 #menubar .navbar {
11 margin-bottom: 8px;
11 margin-bottom: 8px;
12 }
12 }
13
13
14 .nav-wrapper {
14 .nav-wrapper {
15 border-bottom: 1px solid @navbar-default-border;
15 border-bottom: 1px solid @navbar-default-border;
16 }
16 }
17
17
18 #menubar li.dropdown {
18 #menubar li.dropdown {
19 line-height: 12px;
19 line-height: 12px;
20 }
20 }
21
21
22 #menubar .navbar-right {
23 // Add some padding to the right aligned items.
24 padding-top: 5px;
25 }
26
27
22 i.menu-icon {
28 i.menu-icon {
23 // add padding to account for float-right
29 // add padding to account for float-right
24 padding-top: 4px;
30 padding-top: 4px;
25 }
31 }
26
32
27 ul#help_menu li a{
33 ul#help_menu li a{
28 overflow: hidden;
34 overflow: hidden;
29 padding-right: 2.2em;
35 padding-right: 2.2em;
30 i {
36 i {
31 margin-right: -1.2em;
37 margin-right: -1.2em;
32 }
38 }
33 }
39 }
34
40
35 ul#menus {
41 ul#menus {
36 float: left;
42 float: left;
37 }
43 }
38
44
39 // http://www.bootply.com/86684
45 // Make sub menus work in BS3.
46 // Credit: http://www.bootply.com/86684
40 .dropdown-submenu{position:relative;}
47 .dropdown-submenu{position:relative;}
41 .dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
48 .dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
42 .dropdown-submenu:hover>.dropdown-menu{display:block;}
49 .dropdown-submenu:hover>.dropdown-menu{display:block;}
43 .dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
50 .dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
44 .dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
51 .dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
45 .dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
52 .dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
@@ -1,35 +1,46 b''
1 #notification_area {
1 #notification_area {
2 .pull-right();
3
2 z-index: 10;
4 z-index: 10;
3 }
5 }
4
6
5 .indicator_area {
7 .indicator_area {
6 color: @navbar-default-link-color;
8 color: @navbar-default-link-color;
7 padding: 4px 3px;
9 padding: 4px 3px;
8 margin: 0px;
10 margin: 0px;
9 width: 11px;
11 width: 11px;
10 z-index: 10;
12 z-index: 10;
11 text-align: center;
13 text-align: center;
12 }
14 }
13
15
14 #kernel_indicator {
16 #kernel_indicator {
15 // Pull it to the right, outside the container boundary
17 .pull-right();
16 margin-right: -16px;
18 .indicator_area();
19
20 margin-right: 12px;
21 }
22
23 #modal_indicator {
24 .pull-right();
25 .indicator_area();
26
27 margin-right: 5px;
17 }
28 }
18
29
19 .edit_mode_icon:before {
30 .edit_mode_icon:before {
20 .icon(@pencil);
31 .icon(@pencil);
21 }
32 }
22
33
23 .command_mode_icon:before {
34 .command_mode_icon:before {
24 .icon(' ');
35 .icon(' ');
25 }
36 }
26
37
27 .kernel_idle_icon:before {
38 .kernel_idle_icon:before {
28 .icon(@circle-blank);
39 .icon(@circle-blank);
29 }
40 }
30
41
31 .kernel_busy_icon:before {
42 .kernel_busy_icon:before {
32 .icon(@circle);
43 .icon(@circle);
33 }
44 }
34
45
35
46
@@ -1,362 +1,362 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/bootstrap-tour/build/css/bootstrap-tour.min.css") }}" type="text/css" />
14 <link rel="stylesheet" href="{{ static_url("components/bootstrap-tour/build/css/bootstrap-tour.min.css") }}" type="text/css" />
15 <link rel="stylesheet" href="{{ static_url("components/codemirror/lib/codemirror.css") }}">
15 <link rel="stylesheet" href="{{ static_url("components/codemirror/lib/codemirror.css") }}">
16
16
17 {{super()}}
17 {{super()}}
18
18
19 <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" />
19 <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" />
20
20
21 {% endblock %}
21 {% endblock %}
22
22
23 {% block params %}
23 {% block params %}
24
24
25 data-project="{{project}}"
25 data-project="{{project}}"
26 data-base-url="{{base_url}}"
26 data-base-url="{{base_url}}"
27 data-notebook-name="{{notebook_name}}"
27 data-notebook-name="{{notebook_name}}"
28 data-notebook-path="{{notebook_path}}"
28 data-notebook-path="{{notebook_path}}"
29 class="notebook_app"
29 class="notebook_app"
30
30
31 {% endblock %}
31 {% endblock %}
32
32
33
33
34 {% block header %}
34 {% block header %}
35
35
36 <span id="save_widget" class="nav pull-left">
36 <span id="save_widget" class="nav pull-left">
37 <span id="notebook_name"></span>
37 <span id="notebook_name"></span>
38 <span id="checkpoint_status"></span>
38 <span id="checkpoint_status"></span>
39 <span id="autosave_status"></span>
39 <span id="autosave_status"></span>
40 </span>
40 </span>
41
41
42 {% endblock %}
42 {% endblock %}
43
43
44
44
45 {% block site %}
45 {% block site %}
46
46
47 <div id="menubar-container" class="container">
47 <div id="menubar-container" class="container">
48 <div id="menubar">
48 <div id="menubar">
49 <div id="menus" class="navbar navbar-default" role="navigation">
49 <div id="menus" class="navbar navbar-default" role="navigation">
50 <div class="container-fluid">
50 <div class="container-fluid">
51 <ul class="nav navbar-nav">
51 <ul class="nav navbar-nav">
52 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a>
52 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a>
53 <ul id="file_menu" class="dropdown-menu">
53 <ul id="file_menu" class="dropdown-menu">
54 <li id="new_notebook"
54 <li id="new_notebook"
55 title="Make a new notebook (Opens a new window)">
55 title="Make a new notebook (Opens a new window)">
56 <a href="#">New</a></li>
56 <a href="#">New</a></li>
57 <li id="open_notebook"
57 <li id="open_notebook"
58 title="Opens a new window with the Dashboard view">
58 title="Opens a new window with the Dashboard view">
59 <a href="#">Open...</a></li>
59 <a href="#">Open...</a></li>
60 <!-- <hr/> -->
60 <!-- <hr/> -->
61 <li class="divider"></li>
61 <li class="divider"></li>
62 <li id="copy_notebook"
62 <li id="copy_notebook"
63 title="Open a copy of this notebook's contents and start a new kernel">
63 title="Open a copy of this notebook's contents and start a new kernel">
64 <a href="#">Make a Copy...</a></li>
64 <a href="#">Make a Copy...</a></li>
65 <li id="rename_notebook"><a href="#">Rename...</a></li>
65 <li id="rename_notebook"><a href="#">Rename...</a></li>
66 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
66 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
67 <!-- <hr/> -->
67 <!-- <hr/> -->
68 <li class="divider"></li>
68 <li class="divider"></li>
69 <li id="restore_checkpoint" class="dropdown-submenu"><a href="#">Revert to Checkpoint</a>
69 <li id="restore_checkpoint" class="dropdown-submenu"><a href="#">Revert to Checkpoint</a>
70 <ul class="dropdown-menu">
70 <ul class="dropdown-menu">
71 <li><a href="#"></a></li>
71 <li><a href="#"></a></li>
72 <li><a href="#"></a></li>
72 <li><a href="#"></a></li>
73 <li><a href="#"></a></li>
73 <li><a href="#"></a></li>
74 <li><a href="#"></a></li>
74 <li><a href="#"></a></li>
75 <li><a href="#"></a></li>
75 <li><a href="#"></a></li>
76 </ul>
76 </ul>
77 </li>
77 </li>
78 <li class="divider"></li>
78 <li class="divider"></li>
79 <li id="print_preview"><a href="#">Print Preview</a></li>
79 <li id="print_preview"><a href="#">Print Preview</a></li>
80 <li class="dropdown-submenu"><a href="#">Download as</a>
80 <li class="dropdown-submenu"><a href="#">Download as</a>
81 <ul class="dropdown-menu">
81 <ul class="dropdown-menu">
82 <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li>
82 <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li>
83 <li id="download_py"><a href="#">Python (.py)</a></li>
83 <li id="download_py"><a href="#">Python (.py)</a></li>
84 <li id="download_html"><a href="#">HTML (.html)</a></li>
84 <li id="download_html"><a href="#">HTML (.html)</a></li>
85 <li id="download_rst"><a href="#">reST (.rst)</a></li>
85 <li id="download_rst"><a href="#">reST (.rst)</a></li>
86 <li id="download_pdf"><a href="#">PDF (.pdf)</a></li>
86 <li id="download_pdf"><a href="#">PDF (.pdf)</a></li>
87 </ul>
88 </li>
89 <li class="divider"></li>
90 <li id="trust_notebook"
91 title="Trust the output of this notebook">
92 <a href="#" >Trust Notebook</a></li>
93 <li class="divider"></li>
94 <li id="kill_and_exit"
95 title="Shutdown this notebook's kernel, and close this window">
96 <a href="#" >Close and halt</a></li>
87 </ul>
97 </ul>
88 </li>
98 </li>
89 <li class="divider"></li>
99 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a>
90 <li id="trust_notebook"
100 <ul id="edit_menu" class="dropdown-menu">
91 title="Trust the output of this notebook">
101 <li id="cut_cell"><a href="#">Cut Cell</a></li>
92 <a href="#" >Trust Notebook</a></li>
102 <li id="copy_cell"><a href="#">Copy Cell</a></li>
93 <li class="divider"></li>
103 <li id="paste_cell_above" class="disabled"><a href="#">Paste Cell Above</a></li>
94 <li id="kill_and_exit"
104 <li id="paste_cell_below" class="disabled"><a href="#">Paste Cell Below</a></li>
95 title="Shutdown this notebook's kernel, and close this window">
105 <li id="paste_cell_replace" class="disabled"><a href="#">Paste Cell &amp; Replace</a></li>
96 <a href="#" >Close and halt</a></li>
106 <li id="delete_cell"><a href="#">Delete Cell</a></li>
97 </ul>
107 <li id="undelete_cell" class="disabled"><a href="#">Undo Delete Cell</a></li>
98 </li>
108 <li class="divider"></li>
99 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a>
109 <li id="split_cell"><a href="#">Split Cell</a></li>
100 <ul id="edit_menu" class="dropdown-menu">
110 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
101 <li id="cut_cell"><a href="#">Cut Cell</a></li>
111 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
102 <li id="copy_cell"><a href="#">Copy Cell</a></li>
112 <li class="divider"></li>
103 <li id="paste_cell_above" class="disabled"><a href="#">Paste Cell Above</a></li>
113 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
104 <li id="paste_cell_below" class="disabled"><a href="#">Paste Cell Below</a></li>
114 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
105 <li id="paste_cell_replace" class="disabled"><a href="#">Paste Cell &amp; Replace</a></li>
115 <li class="divider"></li>
106 <li id="delete_cell"><a href="#">Delete Cell</a></li>
116 <li id="edit_nb_metadata"><a href="#">Edit Notebook Metadata</a></li>
107 <li id="undelete_cell" class="disabled"><a href="#">Undo Delete Cell</a></li>
108 <li class="divider"></li>
109 <li id="split_cell"><a href="#">Split Cell</a></li>
110 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
111 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
112 <li class="divider"></li>
113 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
114 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
115 <li class="divider"></li>
116 <li id="edit_nb_metadata"><a href="#">Edit Notebook Metadata</a></li>
117 </ul>
118 </li>
119 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a>
120 <ul id="view_menu" class="dropdown-menu">
121 <li id="toggle_header"
122 title="Show/Hide the IPython Notebook logo and notebook title (above menu bar)">
123 <a href="#">Toggle Header</a></li>
124 <li id="toggle_toolbar"
125 title="Show/Hide the action icons (below menu bar)">
126 <a href="#">Toggle Toolbar</a></li>
127 </ul>
128 </li>
129 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Insert</a>
130 <ul id="insert_menu" class="dropdown-menu">
131 <li id="insert_cell_above"
132 title="Insert an empty Code cell above the currently active cell">
133 <a href="#">Insert Cell Above</a></li>
134 <li id="insert_cell_below"
135 title="Insert an empty Code cell below the currently active cell">
136 <a href="#">Insert Cell Below</a></li>
137 </ul>
138 </li>
139 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Cell</a>
140 <ul id="cell_menu" class="dropdown-menu">
141 <li id="run_cell" title="Run this cell, and move cursor to the next one">
142 <a href="#">Run</a></li>
143 <li id="run_cell_select_below" title="Run this cell, select below">
144 <a href="#">Run and Select Below</a></li>
145 <li id="run_cell_insert_below" title="Run this cell, insert below">
146 <a href="#">Run and Insert Below</a></li>
147 <li id="run_all_cells" title="Run all cells in the notebook">
148 <a href="#">Run All</a></li>
149 <li id="run_all_cells_above" title="Run all cells above (but not including) this cell">
150 <a href="#">Run All Above</a></li>
151 <li id="run_all_cells_below" title="Run this cell and all cells below it">
152 <a href="#">Run All Below</a></li>
153 <li class="divider"></li>
154 <li id="change_cell_type" class="dropdown-submenu"
155 title="All cells in the notebook have a cell type. By default, new cells are created as 'Code' cells">
156 <a href="#">Cell Type</a>
157 <ul class="dropdown-menu">
158 <li id="to_code"
159 title="Contents will be sent to the kernel for execution, and output will display in the footer of cell">
160 <a href="#">Code</a></li>
161 <li id="to_markdown"
162 title="Contents will be rendered as HTML and serve as explanatory text">
163 <a href="#">Markdown</a></li>
164 <li id="to_raw"
165 title="Contents will pass through nbconvert unmodified">
166 <a href="#">Raw NBConvert</a></li>
167 <li id="to_heading1"><a href="#">Heading 1</a></li>
168 <li id="to_heading2"><a href="#">Heading 2</a></li>
169 <li id="to_heading3"><a href="#">Heading 3</a></li>
170 <li id="to_heading4"><a href="#">Heading 4</a></li>
171 <li id="to_heading5"><a href="#">Heading 5</a></li>
172 <li id="to_heading6"><a href="#">Heading 6</a></li>
173 </ul>
117 </ul>
174 </li>
118 </li>
175 <li class="divider"></li>
119 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a>
176 <li id="current_outputs" class="dropdown-submenu"><a href="#">Current Output</a>
120 <ul id="view_menu" class="dropdown-menu">
177 <ul class="dropdown-menu">
121 <li id="toggle_header"
178 <li id="toggle_current_output"
122 title="Show/Hide the IPython Notebook logo and notebook title (above menu bar)">
179 title="Hide/Show the output of the current cell">
123 <a href="#">Toggle Header</a></li>
180 <a href="#">Toggle</a>
124 <li id="toggle_toolbar"
181 </li>
125 title="Show/Hide the action icons (below menu bar)">
182 <li id="toggle_current_output_scroll"
126 <a href="#">Toggle Toolbar</a></li>
183 title="Scroll the output of the current cell">
184 <a href="#">Toggle Scrolling</a>
185 </li>
186 <li id="clear_current_output"
187 title="Clear the output of the current cell">
188 <a href="#">Clear</a>
189 </li>
190 </ul>
127 </ul>
191 </li>
128 </li>
192 <li id="all_outputs" class="dropdown-submenu"><a href="#">All Output</a>
129 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Insert</a>
193 <ul class="dropdown-menu">
130 <ul id="insert_menu" class="dropdown-menu">
194 <li id="toggle_all_output"
131 <li id="insert_cell_above"
195 title="Hide/Show the output of all cells">
132 title="Insert an empty Code cell above the currently active cell">
196 <a href="#">Toggle</a>
133 <a href="#">Insert Cell Above</a></li>
134 <li id="insert_cell_below"
135 title="Insert an empty Code cell below the currently active cell">
136 <a href="#">Insert Cell Below</a></li>
137 </ul>
138 </li>
139 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Cell</a>
140 <ul id="cell_menu" class="dropdown-menu">
141 <li id="run_cell" title="Run this cell, and move cursor to the next one">
142 <a href="#">Run</a></li>
143 <li id="run_cell_select_below" title="Run this cell, select below">
144 <a href="#">Run and Select Below</a></li>
145 <li id="run_cell_insert_below" title="Run this cell, insert below">
146 <a href="#">Run and Insert Below</a></li>
147 <li id="run_all_cells" title="Run all cells in the notebook">
148 <a href="#">Run All</a></li>
149 <li id="run_all_cells_above" title="Run all cells above (but not including) this cell">
150 <a href="#">Run All Above</a></li>
151 <li id="run_all_cells_below" title="Run this cell and all cells below it">
152 <a href="#">Run All Below</a></li>
153 <li class="divider"></li>
154 <li id="change_cell_type" class="dropdown-submenu"
155 title="All cells in the notebook have a cell type. By default, new cells are created as 'Code' cells">
156 <a href="#">Cell Type</a>
157 <ul class="dropdown-menu">
158 <li id="to_code"
159 title="Contents will be sent to the kernel for execution, and output will display in the footer of cell">
160 <a href="#">Code</a></li>
161 <li id="to_markdown"
162 title="Contents will be rendered as HTML and serve as explanatory text">
163 <a href="#">Markdown</a></li>
164 <li id="to_raw"
165 title="Contents will pass through nbconvert unmodified">
166 <a href="#">Raw NBConvert</a></li>
167 <li id="to_heading1"><a href="#">Heading 1</a></li>
168 <li id="to_heading2"><a href="#">Heading 2</a></li>
169 <li id="to_heading3"><a href="#">Heading 3</a></li>
170 <li id="to_heading4"><a href="#">Heading 4</a></li>
171 <li id="to_heading5"><a href="#">Heading 5</a></li>
172 <li id="to_heading6"><a href="#">Heading 6</a></li>
173 </ul>
197 </li>
174 </li>
198 <li id="toggle_all_output_scroll"
175 <li class="divider"></li>
199 title="Scroll the output of all cells">
176 <li id="current_outputs" class="dropdown-submenu"><a href="#">Current Output</a>
200 <a href="#">Toggle Scrolling</a>
177 <ul class="dropdown-menu">
178 <li id="toggle_current_output"
179 title="Hide/Show the output of the current cell">
180 <a href="#">Toggle</a>
181 </li>
182 <li id="toggle_current_output_scroll"
183 title="Scroll the output of the current cell">
184 <a href="#">Toggle Scrolling</a>
185 </li>
186 <li id="clear_current_output"
187 title="Clear the output of the current cell">
188 <a href="#">Clear</a>
189 </li>
190 </ul>
201 </li>
191 </li>
202 <li id="clear_all_output"
192 <li id="all_outputs" class="dropdown-submenu"><a href="#">All Output</a>
203 title="Clear the output of all cells">
193 <ul class="dropdown-menu">
204 <a href="#">Clear</a>
194 <li id="toggle_all_output"
195 title="Hide/Show the output of all cells">
196 <a href="#">Toggle</a>
197 </li>
198 <li id="toggle_all_output_scroll"
199 title="Scroll the output of all cells">
200 <a href="#">Toggle Scrolling</a>
201 </li>
202 <li id="clear_all_output"
203 title="Clear the output of all cells">
204 <a href="#">Clear</a>
205 </li>
206 </ul>
205 </li>
207 </li>
206 </ul>
208 </ul>
207 </li>
209 </li>
208 </ul>
210 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a>
209 </li>
211 <ul id="kernel_menu" class="dropdown-menu">
210 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a>
212 <li id="int_kernel"
211 <ul id="kernel_menu" class="dropdown-menu">
213 title="Send KeyboardInterrupt (CTRL-C) to the Kernel">
212 <li id="int_kernel"
214 <a href="#">Interrupt</a></li>
213 title="Send KeyboardInterrupt (CTRL-C) to the Kernel">
215 <li id="restart_kernel"
214 <a href="#">Interrupt</a></li>
216 title="Restart the Kernel">
215 <li id="restart_kernel"
217 <a href="#">Restart</a></li>
216 title="Restart the Kernel">
218 </ul>
217 <a href="#">Restart</a></li>
219 </li>
218 </ul>
220 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
219 </li>
221 <ul id="help_menu" class="dropdown-menu">
220 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
222 <li id="notebook_tour" title="A quick tour of the notebook user interface"><a href="#">User Interface Tour</a></li>
221 <ul id="help_menu" class="dropdown-menu">
223 <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li>
222 <li id="notebook_tour" title="A quick tour of the notebook user interface"><a href="#">User Interface Tour</a></li>
223 <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li>
224 <li class="divider"></li>
225 {% set
226 sections = (
227 (
228 ("http://ipython.org/documentation.html","IPython Help",True),
229 ("http://nbviewer.ipython.org/github/ipython/ipython/tree/2.x/examples/Index.ipynb", "Notebook Help", True),
230 ),(
231 ("http://docs.python.org","Python",True),
232 ("http://help.github.com/articles/github-flavored-markdown","Markdown",True),
233 ("http://docs.scipy.org/doc/numpy/reference/","NumPy",True),
234 ("http://docs.scipy.org/doc/scipy/reference/","SciPy",True),
235 ("http://matplotlib.org/contents.html","Matplotlib",True),
236 ("http://docs.sympy.org/latest/index.html","SymPy",True),
237 ("http://pandas.pydata.org/pandas-docs/stable/","pandas", True)
238 )
239 )
240 %}
241
242 {% for helplinks in sections %}
243 {% for link in helplinks %}
244 <li><a href="{{link[0]}}" {{'target="_blank" title="Opens in a new window"' if link[2]}}>
245 {{'<i class="icon-external-link menu-icon pull-right"></i>' if link[2]}}
246 {{link[1]}}
247 </a></li>
248 {% endfor %}
249 {% if not loop.last %}
250 <li class="divider"></li>
224 <li class="divider"></li>
251 {% endif %}
225 {% set
252 {% endfor %}
226 sections = (
227 (
228 ("http://ipython.org/documentation.html","IPython Help",True),
229 ("http://nbviewer.ipython.org/github/ipython/ipython/tree/2.x/examples/Index.ipynb", "Notebook Help", True),
230 ),(
231 ("http://docs.python.org","Python",True),
232 ("http://help.github.com/articles/github-flavored-markdown","Markdown",True),
233 ("http://docs.scipy.org/doc/numpy/reference/","NumPy",True),
234 ("http://docs.scipy.org/doc/scipy/reference/","SciPy",True),
235 ("http://matplotlib.org/contents.html","Matplotlib",True),
236 ("http://docs.sympy.org/latest/index.html","SymPy",True),
237 ("http://pandas.pydata.org/pandas-docs/stable/","pandas", True)
238 )
239 )
240 %}
241
242 {% for helplinks in sections %}
243 {% for link in helplinks %}
244 <li><a href="{{link[0]}}" {{'target="_blank" title="Opens in a new window"' if link[2]}}>
245 {{'<i class="icon-external-link menu-icon pull-right"></i>' if link[2]}}
246 {{link[1]}}
247 </a></li>
248 {% endfor %}
249 {% if not loop.last %}
250 <li class="divider"></li>
251 {% endif %}
252 {% endfor %}
253 </li>
254 </ul>
253 </li>
255 </li>
254 </ul>
256 </ul>
255 </li>
257 <ul class="nav navbar-nav navbar-right">
256 </ul>
258 <div id="kernel_indicator">
257 </div>
258 </div>
259
260 <!-- float to the right of the menu bar -->
261 <div id="kernel_indicator" class="indicator_area pull-right">
262 <i id="kernel_indicator_icon"></i>
259 <i id="kernel_indicator_icon"></i>
263 </div>
260 </div>
264 <div id="modal_indicator" class="indicator_area pull-right">
261 <div id="modal_indicator">
265 <i id="modal_indicator_icon"></i>
262 <i id="modal_indicator_icon"></i>
266 </div>
263 </div>
267 <div id="notification_area"></div>
264 <div id="notification_area"></div>
265 </ul>
266 </div>
267 </div>
268 </div>
268 </div>
269 <div id="maintoolbar" class="navbar">
269 <div id="maintoolbar" class="navbar">
270 <div class="toolbar-inner navbar-inner navbar-nobg">
270 <div class="toolbar-inner navbar-inner navbar-nobg">
271 <div id="maintoolbar-container" class="container"></div>
271 <div id="maintoolbar-container" class="container"></div>
272 </div>
272 </div>
273 </div>
273 </div>
274 </div>
274 </div>
275
275
276 <div id="ipython-main-app">
276 <div id="ipython-main-app">
277
277
278 <div id="notebook_panel">
278 <div id="notebook_panel">
279 <div id="notebook"></div>
279 <div id="notebook"></div>
280 <div id="pager_splitter"></div>
280 <div id="pager_splitter"></div>
281 <div id="pager">
281 <div id="pager">
282 <div id='pager_button_area'>
282 <div id='pager_button_area'>
283 </div>
283 </div>
284 <div id="pager-container" class="container"></div>
284 <div id="pager-container" class="container"></div>
285 </div>
285 </div>
286 </div>
286 </div>
287
287
288 </div>
288 </div>
289 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
289 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
290
290
291
291
292 {% endblock %}
292 {% endblock %}
293
293
294
294
295 {% block script %}
295 {% block script %}
296
296
297 {{super()}}
297 {{super()}}
298
298
299 <script src="{{ static_url("components/google-caja/html-css-sanitizer-minified.js") }}" charset="utf-8"></script>
299 <script src="{{ static_url("components/google-caja/html-css-sanitizer-minified.js") }}" charset="utf-8"></script>
300 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
300 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
301 <script type="text/javascript">
301 <script type="text/javascript">
302 CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js", include_version=False) }}";
302 CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js", include_version=False) }}";
303 </script>
303 </script>
304 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
304 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
305 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
305 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
306 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
306 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
307 <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
307 <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
308 <script src="{{ static_url("components/codemirror/addon/edit/closebrackets.js") }}" charset="utf-8"></script>
308 <script src="{{ static_url("components/codemirror/addon/edit/closebrackets.js") }}" charset="utf-8"></script>
309 <script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
309 <script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
310 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
310 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
311 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
311 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
312 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
312 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
313 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
313 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
314 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
314 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
315 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
315 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
316 <script src="{{ static_url("components/codemirror/mode/python/python.js") }}" charset="utf-8"></script>
316 <script src="{{ static_url("components/codemirror/mode/python/python.js") }}" charset="utf-8"></script>
317 <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script>
317 <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script>
318 <script src="{{ static_url("notebook/js/codemirror-ipythongfm.js") }}" charset="utf-8"></script>
318 <script src="{{ static_url("notebook/js/codemirror-ipythongfm.js") }}" charset="utf-8"></script>
319
319
320 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
320 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
321
321
322 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
322 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
323
323
324 <script src="{{ static_url("base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
324 <script src="{{ static_url("base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
325 <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
325 <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
326 <script src="{{ static_url("base/js/keyboard.js") }}" type="text/javascript" charset="utf-8"></script>
326 <script src="{{ static_url("base/js/keyboard.js") }}" type="text/javascript" charset="utf-8"></script>
327 <script src="{{ static_url("base/js/security.js") }}" type="text/javascript" charset="utf-8"></script>
327 <script src="{{ static_url("base/js/security.js") }}" type="text/javascript" charset="utf-8"></script>
328 <script src="{{ static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
328 <script src="{{ static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
329 <script src="{{ static_url("services/kernels/js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
329 <script src="{{ static_url("services/kernels/js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
330 <script src="{{ static_url("services/kernels/js/comm.js") }}" type="text/javascript" charset="utf-8"></script>
330 <script src="{{ static_url("services/kernels/js/comm.js") }}" type="text/javascript" charset="utf-8"></script>
331 <script src="{{ static_url("services/sessions/js/session.js") }}" type="text/javascript" charset="utf-8"></script>
331 <script src="{{ static_url("services/sessions/js/session.js") }}" type="text/javascript" charset="utf-8"></script>
332 <script src="{{ static_url("notebook/js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
332 <script src="{{ static_url("notebook/js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
333 <script src="{{ static_url("notebook/js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
333 <script src="{{ static_url("notebook/js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
334 <script src="{{ static_url("notebook/js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
334 <script src="{{ static_url("notebook/js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
335 <script src="{{ static_url("notebook/js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
335 <script src="{{ static_url("notebook/js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
336 <script src="{{ static_url("notebook/js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
336 <script src="{{ static_url("notebook/js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
337 <script src="{{ static_url("notebook/js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
337 <script src="{{ static_url("notebook/js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
338 <script src="{{ static_url("notebook/js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
338 <script src="{{ static_url("notebook/js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
339 <script src="{{ static_url("notebook/js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
339 <script src="{{ static_url("notebook/js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
340 <script src="{{ static_url("notebook/js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
340 <script src="{{ static_url("notebook/js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
341 <script src="{{ static_url("notebook/js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
341 <script src="{{ static_url("notebook/js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
342 <script src="{{ static_url("notebook/js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
342 <script src="{{ static_url("notebook/js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
343 <script src="{{ static_url("notebook/js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
343 <script src="{{ static_url("notebook/js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
344 <script src="{{ static_url("notebook/js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
344 <script src="{{ static_url("notebook/js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
345 <script src="{{ static_url("notebook/js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
345 <script src="{{ static_url("notebook/js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
346 <script src="{{ static_url("notebook/js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
346 <script src="{{ static_url("notebook/js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
347 <script src="{{ static_url("notebook/js/keyboardmanager.js") }}" type="text/javascript" charset="utf-8"></script>
347 <script src="{{ static_url("notebook/js/keyboardmanager.js") }}" type="text/javascript" charset="utf-8"></script>
348 <script src="{{ static_url("notebook/js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
348 <script src="{{ static_url("notebook/js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
349 <script src="{{ static_url("notebook/js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
349 <script src="{{ static_url("notebook/js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
350 <script src="{{ static_url("notebook/js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
350 <script src="{{ static_url("notebook/js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
351 <script src="{{ static_url("notebook/js/tour.js") }}" type="text/javascript" charset="utf-8"></script>
351 <script src="{{ static_url("notebook/js/tour.js") }}" type="text/javascript" charset="utf-8"></script>
352
352
353 <script src="{{ static_url("notebook/js/config.js") }}" type="text/javascript" charset="utf-8"></script>
353 <script src="{{ static_url("notebook/js/config.js") }}" type="text/javascript" charset="utf-8"></script>
354 <script src="{{ static_url("notebook/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
354 <script src="{{ static_url("notebook/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
355
355
356 <script src="{{ static_url("notebook/js/contexthint.js") }}" charset="utf-8"></script>
356 <script src="{{ static_url("notebook/js/contexthint.js") }}" charset="utf-8"></script>
357
357
358 <script src="{{ static_url("notebook/js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
358 <script src="{{ static_url("notebook/js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
359 <script src="{{ static_url("notebook/js/celltoolbarpresets/rawcell.js") }}" type="text/javascript" charset="utf-8"></script>
359 <script src="{{ static_url("notebook/js/celltoolbarpresets/rawcell.js") }}" type="text/javascript" charset="utf-8"></script>
360 <script src="{{ static_url("notebook/js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
360 <script src="{{ static_url("notebook/js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
361
361
362 {% endblock %}
362 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now