notebook.html
221 lines
| 9.8 KiB
| text/html
|
HtmlLexer
Brian Granger
|
r4292 | <!DOCTYPE HTML> | ||
<html> | ||||
<head> | ||||
<meta charset="utf-8"> | ||||
<title>IPython Notebook</title> | ||||
Brian Granger
|
r4305 | |||
MinRK
|
r5557 | {% if mathjax_url %} | ||
<script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script> | ||||
{% end %} | ||||
Brian Granger
|
r4325 | <script type="text/javascript"> | ||
MinRK
|
r5547 | // MathJax disabled, set as null to distingish from *missing* MathJax, | ||
// where it will be undefined, and should prompt a dialog later. | ||||
MinRK
|
r5557 | window.mathjax_url = "{{mathjax_url}}"; | ||
Brian Granger
|
r4325 | </script> | ||
Brian Granger
|
r4301 | |||
Brian Granger
|
r5869 | <link rel="stylesheet" href="/static/jquery/css/themes/base/jquery-ui.min.css" type="text/css" /> | ||
MinRK
|
r5825 | <link rel="stylesheet" href="/static/codemirror/lib/codemirror.css"> | ||
<link rel="stylesheet" href="/static/codemirror/theme/ipython.css"> | ||||
Brian Granger
|
r4332 | |||
MinRK
|
r5825 | <link rel="stylesheet" href="/static/prettify/prettify.css"/> | ||
Stefan van der Walt
|
r4655 | |||
MinRK
|
r5825 | <link rel="stylesheet" href="/static/css/boilerplate.css" type="text/css" /> | ||
<link rel="stylesheet" href="/static/css/layout.css" type="text/css" /> | ||||
<link rel="stylesheet" href="/static/css/base.css" type="text/css" /> | ||||
<link rel="stylesheet" href="/static/css/notebook.css" type="text/css" /> | ||||
<link rel="stylesheet" href="/static/css/renderedhtml.css" type="text/css" /> | ||||
Stefan van der Walt
|
r5725 | |||
{% comment In the notebook, the read-only flag is used to determine %} | ||||
{% comment whether to hide the side panels and switch off input %} | ||||
<meta name="read_only" content="{{read_only and not logged_in}}"/> | ||||
Brian Granger
|
r4332 | |||
Brian Granger
|
r4292 | </head> | ||
MinRK
|
r5547 | <body | ||
Brian E. Granger
|
r5105 | data-project={{project}} data-notebook-id={{notebook_id}} | ||
data-base-project-url={{base_project_url}} data-base-kernel-url={{base_kernel_url}} | ||||
> | ||||
Brian Granger
|
r4292 | |||
<div id="header"> | ||||
MinRK
|
r5825 | <span id="ipython_notebook"><h1><a href='..' alt='dashboard'><img src='/static/ipynblogo.png' alt='IPython Notebook'/></a></h1></span> | ||
Brian E. Granger
|
r4372 | <span id="save_widget"> | ||
Brian Granger
|
r5859 | <span id="notebook_name"></span> | ||
Brian Granger
|
r5874 | <span id="save_status"></span> | ||
Brian E. Granger
|
r4372 | </span> | ||
Stefan van der Walt
|
r5345 | |||
Stefan van der Walt
|
r5325 | <span id="login_widget"> | ||
Stefan van der Walt
|
r5345 | {% comment This is a temporary workaround to hide the logout button %} | ||
{% comment when appropriate until notebook.html is templated %} | ||||
Stefan van der Walt
|
r5722 | {% if logged_in %} | ||
Stefan van der Walt
|
r5345 | <button id="logout">Logout</button> | ||
Stefan van der Walt
|
r5722 | {% elif not logged_in and login_available %} | ||
Stefan van der Walt
|
r5718 | <button id="login">Login</button> | ||
Stefan van der Walt
|
r5345 | {% end %} | ||
MinRK
|
r5200 | </span> | ||
Stefan van der Walt
|
r5345 | |||
MinRK
|
r5129 | <span id="kernel_status">Idle</span> | ||
Brian Granger
|
r4292 | </div> | ||
Brian Granger
|
r5857 | <div id="menubar"> | ||
Brian Granger
|
r5856 | <ul id="menus"> | ||
<li><a href="#">File</a> | ||||
<ul> | ||||
Brian Granger
|
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/> | ||||
Brian Granger
|
r5856 | <li><a href="#">Download as</a> | ||
<ul> | ||||
Brian Granger
|
r5857 | <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li> | ||
<li id="download_py"><a href="#">Python (.py)</a></li> | ||||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
Brian Granger
|
r5869 | <hr/> | ||
Brian Granger
|
r5875 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li> | ||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Edit</a> | ||||
<ul> | ||||
Brian Granger
|
r5879 | <li id="cut_cell"><a href="#">Cut</a></li> | ||
<li id="copy_cell"><a href="#">Copy</a></li> | ||||
<li id="paste_cell" class="ui-state-disabled"><a href="#">Paste</a></li> | ||||
<li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Above</a></li> | ||||
<li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Below</a></li> | ||||
Brian Granger
|
r5869 | <li id="delete_cell"><a href="#">Delete</a></li> | ||
<hr/> | ||||
Brian Granger
|
r5896 | <li id="split_cell"><a href="#">Split</a></li> | ||
<li id="merge_cell_above"><a href="#">Merge Above</a></li> | ||||
<li id="merge_cell_below"><a href="#">Merge Below</a></li> | ||||
<hr/> | ||||
Brian Granger
|
r5880 | <li id="move_cell_up"><a href="#">Move Up</a></li> | ||
<li id="move_cell_down"><a href="#">Move Down</a></li> | ||||
Brian Granger
|
r5869 | <hr/> | ||
<li id="select_previous"><a href="#">Select Previous</a></li> | ||||
<li id="select_next"><a href="#">Select Next</a></li> | ||||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Insert</a> | ||||
<ul> | ||||
Brian Granger
|
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> | ||||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Cell</a> | ||||
<ul> | ||||
Brian Granger
|
r5869 | <li id="run_cell"><a href="#">Run</a></li> | ||
<li id="run_cell_in_place"><a href="#">Run in Place</a></li> | ||||
Brian Granger
|
r5857 | <li id="run_all_cells"><a href="#">Run All</a></li> | ||
Brian Granger
|
r5869 | <hr/> | ||
<li id="to_code"><a href="#">Code Cell</a></li> | ||||
<li id="to_markdown"><a href="#">Markdown Cell</a></li> | ||||
<hr/> | ||||
<li id="toggle_output"><a href="#">Toggle Output</a></li> | ||||
Brian Granger
|
r5857 | <li id="clear_all_output"><a href="#">Clear All Output</a></li> | ||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Kernel</a> | ||||
<ul> | ||||
Brian Granger
|
r5869 | <li id="int_kernel"><a href="#">Interrupt</a></li> | ||
<li id="restart_kernel"><a href="#">Restart</a></li> | ||||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
<li><a href="#">Help</a> | ||||
<ul> | ||||
Brian Granger
|
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> | ||||
Brian Granger
|
r5869 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> | ||
<hr/> | ||||
Brian Granger
|
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> | ||||
Brian Granger
|
r5856 | </ul> | ||
</li> | ||||
</ul> | ||||
</div> | ||||
Brian Granger
|
r5993 | <div id="toolbar"> | ||
<span> | ||||
<button id="save_b">Save</button> | ||||
</span> | ||||
<span id="cut_copy_paste"> | ||||
<button id="cut_b" title="Cut">Cut</button> | ||||
<button id="copy_b" title="Copy">Copy</button> | ||||
<button id="paste_b" title="Paste">Paste</button> | ||||
</span> | ||||
<span id="move_up_down"> | ||||
<button id="move_up_b" title="Move Up">Move Up</button> | ||||
<button id="move_down_b" title="Move Down">Move Down</button> | ||||
</span> | ||||
<span id="insert_above_below"> | ||||
<button id="insert_above_b" title="Insert Above">Insert Above</button> | ||||
<button id="insert_below_b" title="Insert Below">Insert Below</button> | ||||
</span> | ||||
<span id="run_int"> | ||||
<button id="run_b" title="Run">Run</button> | ||||
<button id="interrupt_b" title="Interrupt">Interrupt</button> | ||||
</span> | ||||
<span> | ||||
<select id="cell_type"> | ||||
<option value="code">Code</option> | ||||
<option value="markdown">Markdown</option> | ||||
</select> | ||||
</span> | ||||
</div> | ||||
Brian E. Granger
|
r4488 | <div id="main_app"> | ||
Brian Granger
|
r4305 | |||
Brian E. Granger
|
r4355 | <div id="notebook_panel"> | ||
<div id="notebook"></div> | ||||
<div id="pager_splitter"></div> | ||||
Brian E. Granger
|
r4356 | <div id="pager"></div> | ||
Brian Granger
|
r4305 | </div> | ||
Brian Granger
|
r4292 | |||
</div> | ||||
Brian Granger
|
r5869 | <script src="/static/jquery/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="/static/jquery/js/jquery-ui.min.js" type="text/javascript" charset="utf-8"></script> | ||||
Brian Granger
|
r4508 | |||
MinRK
|
r5825 | <script src="/static/codemirror/lib/codemirror.js" charset="utf-8"></script> | ||
<script src="/static/codemirror/mode/python/python.js" charset="utf-8"></script> | ||||
<script src="/static/codemirror/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script> | ||||
<script src="/static/codemirror/mode/xml/xml.js" charset="utf-8"></script> | ||||
<script src="/static/codemirror/mode/javascript/javascript.js" charset="utf-8"></script> | ||||
<script src="/static/codemirror/mode/css/css.js" charset="utf-8"></script> | ||||
<script src="/static/codemirror/mode/rst/rst.js" charset="utf-8"></script> | ||||
<script src="/static/codemirror/mode/markdown/markdown.js" charset="utf-8"></script> | ||||
Brian Granger
|
r4508 | |||
MinRK
|
r5825 | <script src="/static/pagedown/Markdown.Converter.js" charset="utf-8"></script> | ||
Brian Granger
|
r4508 | |||
MinRK
|
r5825 | <script src="/static/prettify/prettify.js" charset="utf-8"></script> | ||
Brian Granger
|
r5874 | <script src="/static/dateformat/date.format.js" charset="utf-8"></script> | ||
Stefan van der Walt
|
r4655 | |||
MinRK
|
r5825 | <script src="/static/js/namespace.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="/static/js/utils.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/cell.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/codecell.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/textcell.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/kernel.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/layout.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/quickhelp.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="/static/js/pager.js" type="text/javascript" charset="utf-8"></script> | ||||
Brian Granger
|
r5857 | <script src="/static/js/menubar.js" type="text/javascript" charset="utf-8"></script> | ||
Brian Granger
|
r5993 | <script src="/static/js/toolbar.js" type="text/javascript" charset="utf-8"></script> | ||
MinRK
|
r5825 | <script src="/static/js/notebook.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="/static/js/notebookmain.js" type="text/javascript" charset="utf-8"></script> | ||||
Brian Granger
|
r4508 | |||
Brian Granger
|
r4292 | </body> | ||
Brian E. Granger
|
r4350 | </html> | ||