notebook.html
240 lines
| 11.3 KiB
| text/html
|
HtmlLexer
|
r8350 | {% extends "page.html" %} | ||
|
r6193 | {% block stylesheet %} | ||
{% if mathjax_url %} | ||||
|
r8662 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script> | ||
|
r8350 | {% endif %} | ||
|
r6193 | <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") }}"/> | ||||
|
r9065 | <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" /> | ||
|
r6193 | |||
|
r9268 | {% if use_less %} | ||
<link rel="stylesheet/less" href="{{ static_url("less/notebook.less") }}" type="text/css" /> | ||||
<link rel="stylesheet/less" href="{{ static_url("less/tooltip.less") }}" type="text/css" /> | ||||
<link rel="stylesheet/less" href="{{ static_url("less/renderedhtml.less") }}" type="text/css" /> | ||||
<link rel="stylesheet/less" href="{{ static_url("less/printnotebook.less") }}" type="text/css"/> | ||||
{% else %} | ||||
<link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/> | ||||
{% endif %} | ||||
|
r8350 | {% endblock %} | ||
|
r6193 | |||
{% 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}} | ||||
|
r8350 | {% endblock %} | ||
|
r6193 | |||
{% block header %} | ||||
<span id="save_widget"> | ||||
<span id="notebook_name"></span> | ||||
<span id="save_status"></span> | ||||
</span> | ||||
|
r8350 | {% endblock %} | ||
|
r6193 | |||
{% block site %} | ||||
|
r4292 | |||
|
r6047 | <div id="menubar_container"> | ||
|
r5857 | <div id="menubar"> | ||
|
r5856 | <ul id="menus"> | ||
<li><a href="#">File</a> | ||||
<ul> | ||||
|
r5869 | <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/> | ||||
|
r5856 | <li><a href="#">Download as</a> | ||
<ul> | ||||
|
r5857 | <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li> | ||
<li id="download_py"><a href="#">Python (.py)</a></li> | ||||
|
r5856 | </ul> | ||
</li> | ||||
|
r5869 | <hr/> | ||
|
r5875 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li> | ||
|
r6850 | <hr/> | ||
<li id="kill_and_exit"><a href="#" >Close and halt</a></li> | ||||
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Edit</a> | ||||
<ul> | ||||
|
r5996 | <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> | ||||
|
r8716 | <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell & Replace</a></li> | ||
|
r5869 | <li id="delete_cell"><a href="#">Delete</a></li> | ||
<hr/> | ||||
|
r5996 | <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> | ||||
|
r5896 | <hr/> | ||
|
r5996 | <li id="move_cell_up"><a href="#">Move Cell Up</a></li> | ||
<li id="move_cell_down"><a href="#">Move Cell Down</a></li> | ||||
|
r5869 | <hr/> | ||
|
r5996 | <li id="select_previous"><a href="#">Select Previous Cell</a></li> | ||
<li id="select_next"><a href="#">Select Next Cell</a></li> | ||||
|
r5856 | </ul> | ||
</li> | ||||
|
r5994 | <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> | ||||
|
r5856 | <li><a href="#">Insert</a> | ||
<ul> | ||||
|
r5869 | <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li> | ||
<li id="insert_cell_below"><a href="#">Insert Cell Below</a></li> | ||||
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Cell</a> | ||||
<ul> | ||||
|
r5869 | <li id="run_cell"><a href="#">Run</a></li> | ||
<li id="run_cell_in_place"><a href="#">Run in Place</a></li> | ||||
|
r5857 | <li id="run_all_cells"><a href="#">Run All</a></li> | ||
|
r8606 | <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> | ||||
|
r5869 | <hr/> | ||
|
r6019 | <li id="to_code"><a href="#">Code</a></li> | ||
<li id="to_markdown"><a href="#">Markdown </a></li> | ||||
|
r6258 | <li id="to_raw"><a href="#">Raw Text</a></li> | ||
|
r6019 | <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> | ||||
|
r5869 | <hr/> | ||
|
r7362 | <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> | ||||
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Kernel</a> | ||||
<ul> | ||||
|
r5869 | <li id="int_kernel"><a href="#">Interrupt</a></li> | ||
<li id="restart_kernel"><a href="#">Restart</a></li> | ||||
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Help</a> | ||||
<ul> | ||||
|
r5857 | <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> | ||||
|
r5869 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> | ||
<hr/> | ||||
|
r5857 | <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> | ||||
|
r5856 | </ul> | ||
</li> | ||||
</ul> | ||||
</div> | ||||
|
r8011 | <div id="notification_area"> | ||
</div> | ||||
|
r6047 | </div> | ||
|
r5856 | |||
|
r8207 | <div id="maintoolbar"></div> | ||
|
r5993 | |||
|
r9265 | <div id="ipython-main-app"> | ||
|
r4305 | |||
|
r4355 | <div id="notebook_panel"> | ||
<div id="notebook"></div> | ||||
<div id="pager_splitter"></div> | ||||
|
r8265 | <div id="pager_container"> | ||
<div id='pager_button_area'> | ||||
</div> | ||||
<div id="pager"></div> | ||||
</div> | ||||
|
r4305 | </div> | ||
|
r4292 | |||
</div> | ||||
|
r9263 | <div id='tooltip' class='ipython_tooltip' style='display:none'></div> | ||
|
r7144 | |||
|
r4292 | |||
|
r8350 | {% endblock %} | ||
|
r6193 | |||
{% block script %} | ||||
|
r6002 | |||
|
r9268 | {% if use_less %} | ||
|
r9259 | <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script> | ||
|
r9268 | {% endif %} | ||
|
r6002 | <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script> | ||
|
r8202 | <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> | ||||
|
r6002 | <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> | ||||
|
r6047 | <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6193 | <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r8565 | <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r7177 | <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r9065 | <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r7131 | <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <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> | ||||
|
r7834 | <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6047 | <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r8011 | <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r7144 | <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r8202 | <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r4508 | |||
|
r7924 | <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script> | ||
|
r8350 | |||
|
r9079 | <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r9100 | <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r7131 | |||
|
r9079 | {% endblock %} | ||