2012-08-28 23:58:56 +08:00
|
|
|
{% extends "page.html" %}
|
|
|
|
|
2012-02-08 13:40:33 +08:00
|
|
|
{% block stylesheet %}
|
|
|
|
|
|
|
|
{% if mathjax_url %}
|
2012-11-01 17:11:13 +08:00
|
|
|
<script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script>
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endif %}
|
2012-02-08 13:40:33 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
// MathJax disabled, set as null to distingish from *missing* MathJax,
|
|
|
|
// where it will be undefined, and should prompt a dialog later.
|
|
|
|
window.mathjax_url = "{{mathjax_url}}";
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}">
|
|
|
|
<link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
|
|
|
|
|
2013-01-12 19:14:58 +08:00
|
|
|
<link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" />
|
2012-12-20 03:20:55 +08:00
|
|
|
<link rel="stylesheet/less" href="{{ static_url("css/notebook.less") }}" type="text/css" />
|
|
|
|
<link rel="stylesheet/less" href="{{ static_url("css/tooltip.less") }}" type="text/css" />
|
|
|
|
<link rel="stylesheet/less" href="{{ static_url("css/renderedhtml.less") }}" type="text/css" />
|
2012-02-08 13:40:33 +08:00
|
|
|
|
2012-12-20 03:20:55 +08:00
|
|
|
<link rel="stylesheet/less" href="{{ static_url("css/printnotebook.less") }}" type="text/css" media="print"/>
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2012-02-08 13:40:33 +08:00
|
|
|
|
|
|
|
{% block params %}
|
|
|
|
|
|
|
|
data-project={{project}}
|
|
|
|
data-base-project-url={{base_project_url}}
|
|
|
|
data-base-kernel-url={{base_kernel_url}}
|
|
|
|
data-read-only={{read_only and not logged_in}}
|
|
|
|
data-notebook-id={{notebook_id}}
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2012-02-08 13:40:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
|
|
|
|
<span id="save_widget">
|
|
|
|
<span id="notebook_name"></span>
|
|
|
|
<span id="save_status"></span>
|
|
|
|
</span>
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2012-02-08 13:40:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
{% block site %}
|
2011-03-18 12:09:04 +08:00
|
|
|
|
2012-02-01 13:42:01 +08:00
|
|
|
<div id="menubar_container">
|
2012-01-10 06:17:02 +08:00
|
|
|
<div id="menubar">
|
2012-01-07 06:13:30 +08:00
|
|
|
<ul id="menus">
|
|
|
|
<li><a href="#">File</a>
|
|
|
|
<ul>
|
2012-01-11 13:25:27 +08:00
|
|
|
<li id="new_notebook"><a href="#">New</a></li>
|
|
|
|
<li id="open_notebook"><a href="#">Open...</a></li>
|
|
|
|
<hr/>
|
|
|
|
<li id="copy_notebook"><a href="#">Make a Copy...</a></li>
|
|
|
|
<li id="rename_notebook"><a href="#">Rename...</a></li>
|
|
|
|
<li id="save_notebook"><a href="#">Save</a></li>
|
|
|
|
<hr/>
|
2012-01-07 06:13:30 +08:00
|
|
|
<li><a href="#">Download as</a>
|
|
|
|
<ul>
|
2012-01-10 06:17:02 +08:00
|
|
|
<li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
|
|
|
|
<li id="download_py"><a href="#">Python (.py)</a></li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
2012-01-11 13:25:27 +08:00
|
|
|
<hr/>
|
2012-01-12 14:35:24 +08:00
|
|
|
<li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>
|
2012-05-06 20:41:29 +08:00
|
|
|
<hr/>
|
|
|
|
<li id="kill_and_exit"><a href="#" >Close and halt</a></li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Edit</a>
|
|
|
|
<ul>
|
2012-01-28 08:16:22 +08:00
|
|
|
<li id="cut_cell"><a href="#">Cut Cell</a></li>
|
|
|
|
<li id="copy_cell"><a href="#">Copy Cell</a></li>
|
|
|
|
<li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
|
|
|
|
<li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
|
2012-11-13 06:47:43 +08:00
|
|
|
<li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell & Replace</a></li>
|
2012-01-11 13:25:27 +08:00
|
|
|
<li id="delete_cell"><a href="#">Delete</a></li>
|
|
|
|
<hr/>
|
2012-01-28 08:16:22 +08:00
|
|
|
<li id="split_cell"><a href="#">Split Cell</a></li>
|
|
|
|
<li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
|
|
|
|
<li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
|
2012-01-13 08:40:26 +08:00
|
|
|
<hr/>
|
2012-01-28 08:16:22 +08:00
|
|
|
<li id="move_cell_up"><a href="#">Move Cell Up</a></li>
|
|
|
|
<li id="move_cell_down"><a href="#">Move Cell Down</a></li>
|
2012-01-11 13:25:27 +08:00
|
|
|
<hr/>
|
2012-01-28 08:16:22 +08:00
|
|
|
<li id="select_previous"><a href="#">Select Previous Cell</a></li>
|
|
|
|
<li id="select_next"><a href="#">Select Next Cell</a></li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
2012-01-28 05:45:43 +08:00
|
|
|
<li><a href="#">View</a>
|
|
|
|
<ul>
|
|
|
|
<li id="toggle_header"><a href="#">Toggle Header</a></li>
|
|
|
|
<li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2012-01-07 06:13:30 +08:00
|
|
|
<li><a href="#">Insert</a>
|
|
|
|
<ul>
|
2012-01-11 13:25:27 +08:00
|
|
|
<li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
|
|
|
|
<li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Cell</a>
|
|
|
|
<ul>
|
2012-01-11 13:25:27 +08:00
|
|
|
<li id="run_cell"><a href="#">Run</a></li>
|
|
|
|
<li id="run_cell_in_place"><a href="#">Run in Place</a></li>
|
2012-01-10 06:17:02 +08:00
|
|
|
<li id="run_all_cells"><a href="#">Run All</a></li>
|
2012-10-27 06:21:04 +08:00
|
|
|
<li id="run_all_cells_above"><a href="#">Run All Above</a></li>
|
|
|
|
<li id="run_all_cells_below"><a href="#">Run All Below</a></li>
|
2012-01-11 13:25:27 +08:00
|
|
|
<hr/>
|
2012-01-27 09:07:00 +08:00
|
|
|
<li id="to_code"><a href="#">Code</a></li>
|
|
|
|
<li id="to_markdown"><a href="#">Markdown </a></li>
|
2012-03-15 06:07:55 +08:00
|
|
|
<li id="to_raw"><a href="#">Raw Text</a></li>
|
2012-01-27 09:07:00 +08:00
|
|
|
<li id="to_heading1"><a href="#">Heading 1</a></li>
|
|
|
|
<li id="to_heading2"><a href="#">Heading 2</a></li>
|
|
|
|
<li id="to_heading3"><a href="#">Heading 3</a></li>
|
|
|
|
<li id="to_heading4"><a href="#">Heading 4</a></li>
|
|
|
|
<li id="to_heading5"><a href="#">Heading 5</a></li>
|
|
|
|
<li id="to_heading6"><a href="#">Heading 6</a></li>
|
2012-01-11 13:25:27 +08:00
|
|
|
<hr/>
|
2012-06-01 12:00:45 +08:00
|
|
|
<li id="toggle_output"><a href="#">Toggle Current Output</a></li>
|
|
|
|
<li id="all_outputs"><a href="#">All Output</a>
|
|
|
|
<ul>
|
|
|
|
<li id="expand_all_output"><a href="#">Expand</a></li>
|
|
|
|
<li id="scroll_all_output"><a href="#">Scroll Long</a></li>
|
|
|
|
<li id="collapse_all_output"><a href="#">Collapse</a></li>
|
|
|
|
<li id="clear_all_output"><a href="#">Clear</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Kernel</a>
|
|
|
|
<ul>
|
2012-01-11 13:25:27 +08:00
|
|
|
<li id="int_kernel"><a href="#">Interrupt</a></li>
|
|
|
|
<li id="restart_kernel"><a href="#">Restart</a></li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Help</a>
|
|
|
|
<ul>
|
2012-01-10 06:17:02 +08:00
|
|
|
<li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
|
|
|
|
<li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
|
2012-01-11 13:25:27 +08:00
|
|
|
<li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
|
|
|
|
<hr/>
|
2012-01-10 06:17:02 +08:00
|
|
|
<li><a href="http://docs.python.org" target="_blank">Python</a></li>
|
|
|
|
<li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
|
|
|
|
<li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
|
|
|
|
<li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
|
|
|
|
<li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
|
2012-01-07 06:13:30 +08:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
2012-07-22 10:11:53 +08:00
|
|
|
<div id="notification_area">
|
|
|
|
</div>
|
2012-02-01 13:42:01 +08:00
|
|
|
</div>
|
|
|
|
|
2012-01-07 06:13:30 +08:00
|
|
|
|
2012-08-12 20:20:37 +08:00
|
|
|
<div id="maintoolbar"></div>
|
2012-01-28 04:31:28 +08:00
|
|
|
|
2011-08-05 13:57:01 +08:00
|
|
|
<div id="main_app">
|
2011-04-02 14:23:21 +08:00
|
|
|
|
2011-07-16 04:55:04 +08:00
|
|
|
<div id="notebook_panel">
|
|
|
|
<div id="notebook"></div>
|
|
|
|
<div id="pager_splitter"></div>
|
2012-08-22 16:24:21 +08:00
|
|
|
<div id="pager_container">
|
|
|
|
<div id='pager_button_area'>
|
|
|
|
</div>
|
|
|
|
<div id="pager"></div>
|
|
|
|
</div>
|
2011-04-02 14:23:21 +08:00
|
|
|
</div>
|
2011-03-18 12:09:04 +08:00
|
|
|
|
|
|
|
</div>
|
2012-12-20 05:36:38 +08:00
|
|
|
<div id='tooltip' class='ipython_tooltip' style='display:none'></div>
|
2012-03-05 01:20:12 +08:00
|
|
|
|
2011-03-18 12:09:04 +08:00
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2012-02-08 13:40:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
{% block script %}
|
2012-01-27 00:15:41 +08:00
|
|
|
|
2012-12-20 03:20:55 +08:00
|
|
|
<script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
|
2012-07-28 23:39:36 +08:00
|
|
|
<script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
|
|
|
|
|
|
|
|
<script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script>
|
|
|
|
|
|
|
|
<script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
|
|
|
|
|
2012-02-01 13:42:01 +08:00
|
|
|
<script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-02-08 13:40:33 +08:00
|
|
|
<script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-10-09 22:51:21 +08:00
|
|
|
<script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-05-09 13:00:53 +08:00
|
|
|
<script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
|
2013-01-12 19:14:58 +08:00
|
|
|
<script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-02-01 22:58:07 +08:00
|
|
|
<script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-07-11 22:24:25 +08:00
|
|
|
<script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-02-01 13:42:01 +08:00
|
|
|
<script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-07-22 10:11:53 +08:00
|
|
|
<script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-03-05 01:20:12 +08:00
|
|
|
<script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-07-28 23:39:36 +08:00
|
|
|
<script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
|
2011-08-10 02:37:14 +08:00
|
|
|
|
2012-07-21 01:02:05 +08:00
|
|
|
<script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script>
|
2012-08-28 23:58:56 +08:00
|
|
|
|
2013-01-14 15:38:27 +08:00
|
|
|
<script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
|
2013-01-16 04:05:17 +08:00
|
|
|
<script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-02-01 22:58:07 +08:00
|
|
|
|
2013-01-14 15:38:27 +08:00
|
|
|
{% endblock %}
|