notebook.html
298 lines
| 13.7 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 E. Granger
|
r5104 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> | ||
Fernando Perez
|
r4935 | <link rel="stylesheet" href="static/codemirror/lib/codemirror.css"> | ||
<link rel="stylesheet" href="static/codemirror/mode/markdown/markdown.css"> | ||||
<link rel="stylesheet" href="static/codemirror/mode/rst/rst.css"> | ||||
<link rel="stylesheet" href="static/codemirror/theme/ipython.css"> | ||||
<link rel="stylesheet" href="static/codemirror/theme/default.css"> | ||||
Brian Granger
|
r4332 | |||
Stefan van der Walt
|
r4655 | <link rel="stylesheet" href="static/prettify/prettify.css"/> | ||
Brian E. Granger
|
r4488 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> | ||
Brian Granger
|
r4332 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> | ||
Brian E. Granger
|
r4488 | <link rel="stylesheet" href="static/css/base.css" type="text/css" /> | ||
Brian Granger
|
r4332 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> | ||
Brian Granger
|
r4508 | <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"> | ||||
Matthias BUSSONNIER
|
r5702 | <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"> | ||
<input type="text" id="notebook_name" size="20"></textarea> | ||||
MinRK
|
r4660 | <button id="save_notebook"><u>S</u>ave</button> | ||
Brian E. Granger
|
r4372 | </span> | ||
Fernando Perez
|
r5023 | <span id="quick_help_area"> | ||
Fernando Perez
|
r5070 | <button id="quick_help">Quick<u>H</u>elp</button> | ||
MinRK
|
r5200 | </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 E. Granger
|
r4488 | <div id="main_app"> | ||
Brian Granger
|
r4305 | |||
Brian E. Granger
|
r4372 | <div id="left_panel"> | ||
<div id="notebook_section"> | ||||
MinRK
|
r5116 | <div class="section_header"> | ||
<h3>Notebook</h3> | ||||
</div> | ||||
Brian E. Granger
|
r4372 | <div class="section_content"> | ||
<div class="section_row"> | ||||
<span id="new_open" class="section_row_buttons"> | ||||
<button id="new_notebook">New</button> | ||||
<button id="open_notebook">Open</button> | ||||
</span> | ||||
<span class="section_row_header">Actions</span> | ||||
</div> | ||||
Brian E. Granger
|
r4484 | <div class="section_row"> | ||
<span> | ||||
<select id="download_format"> | ||||
Brian E. Granger
|
r4638 | <option value="json">ipynb</option> | ||
Brian E. Granger
|
r4484 | <option value="py">py</option> | ||
</select> | ||||
</span> | ||||
Brian Granger
|
r4510 | <span class="section_row_buttons"> | ||
Brian E. Granger
|
r4640 | <button id="download_notebook">Download</button> | ||
</span> | ||||
</div> | ||||
<div class="section_row"> | ||||
<span class="section_row_buttons"> | ||||
Stefan van der Walt
|
r4615 | <span id="print_widget"> | ||
Brian E. Granger
|
r4625 | <button id="print_notebook">Print</button> | ||
Stefan van der Walt
|
r4615 | </span> | ||
Brian Granger
|
r4510 | </span> | ||
Brian E. Granger
|
r4484 | </div> | ||
Brian E. Granger
|
r4372 | </div> | ||
</div> | ||||
<div id="cell_section"> | ||||
MinRK
|
r5116 | <div class="section_header"> | ||
<h3>Cell</h3> | ||||
</div> | ||||
Brian E. Granger
|
r4372 | <div class="section_content"> | ||
<div class="section_row"> | ||||
<span class="section_row_buttons"> | ||||
MinRK
|
r4660 | <button id="delete_cell"><u>D</u>elete</button> | ||
Brian E. Granger
|
r4372 | </span> | ||
<span class="section_row_header">Actions</span> | ||||
</div> | ||||
<div class="section_row"> | ||||
Brian Granger
|
r4508 | <span id="cell_type" class="section_row_buttons"> | ||
MinRK
|
r4660 | <button id="to_code"><u>C</u>ode</button> | ||
Brian E. Granger
|
r4614 | <!-- <button id="to_html">HTML</button>--> | ||
MinRK
|
r4660 | <button id="to_markdown"><u>M</u>arkdown</button> | ||
Brian Granger
|
r4508 | </span> | ||
Brian E. Granger
|
r4543 | <span class="button_label">Format</span> | ||
</div> | ||||
<div class="section_row"> | ||||
Brian E. Granger
|
r4639 | <span id="cell_output" class="section_row_buttons"> | ||
MinRK
|
r4660 | <button id="toggle_output"><u>T</u>oggle</button> | ||
Brian E. Granger
|
r4559 | <button id="clear_all_output">ClearAll</button> | ||
Brian E. Granger
|
r4543 | </span> | ||
<span class="button_label">Output</span> | ||||
Brian Granger
|
r4508 | </div> | ||
<div class="section_row"> | ||||
Brian E. Granger
|
r4372 | <span id="insert" class="section_row_buttons"> | ||
MinRK
|
r4660 | <button id="insert_cell_above"><u>A</u>bove</button> | ||
<button id="insert_cell_below"><u>B</u>elow</button> | ||||
Brian E. Granger
|
r4372 | </span> | ||
<span class="button_label">Insert</span> | ||||
</div> | ||||
<div class="section_row"> | ||||
<span id="move" class="section_row_buttons"> | ||||
<button id="move_cell_up">Up</button> | ||||
<button id="move_cell_down">Down</button> | ||||
</span> | ||||
<span class="button_label">Move</span> | ||||
</div> | ||||
<div class="section_row"> | ||||
<span id="run_cells" class="section_row_buttons"> | ||||
<button id="run_selected_cell">Selected</button> | ||||
<button id="run_all_cells">All</button> | ||||
</span> | ||||
<span class="button_label">Run</span> | ||||
</div> | ||||
Brian E. Granger
|
r4512 | <div class="section_row"> | ||
<span id="autoindent_span"> | ||||
Brian E. Granger
|
r4529 | <input type="checkbox" id="autoindent" checked="true"></input> | ||
Brian E. Granger
|
r4512 | </span> | ||
MinRK
|
r5097 | <span class="checkbox_label" id="autoindent_label">Autoindent:</span> | ||
Brian E. Granger
|
r4512 | </div> | ||
Brian E. Granger
|
r4372 | </div> | ||
</div> | ||||
<div id="kernel_section"> | ||||
MinRK
|
r5116 | <div class="section_header"> | ||
<h3>Kernel</h3> | ||||
</div> | ||||
Brian E. Granger
|
r4372 | <div class="section_content"> | ||
<div class="section_row"> | ||||
<span id="int_restart" class="section_row_buttons"> | ||||
Fernando Perez
|
r5020 | <button id="int_kernel"><u>I</u>nterrupt</button> | ||
Brian E. Granger
|
r4372 | <button id="restart_kernel">Restart</button> | ||
</span> | ||||
<span class="section_row_header">Actions</span> | ||||
</div> | ||||
Brian E. Granger
|
r4496 | <div class="section_row"> | ||
<span id="kernel_persist"> | ||||
Brian E. Granger
|
r5117 | {% if kill_kernel %} | ||
<input type="checkbox" id="kill_kernel" checked="true"></input> | ||||
{% else %} | ||||
<input type="checkbox" id="kill_kernel"></input> | ||||
{% end %} | ||||
Brian E. Granger
|
r4496 | </span> | ||
MinRK
|
r5097 | <span class="checkbox_label" id="kill_kernel_label">Kill kernel upon exit:</span> | ||
Brian E. Granger
|
r4496 | </div> | ||
Brian E. Granger
|
r4372 | </div> | ||
</div> | ||||
<div id="help_section"> | ||||
MinRK
|
r5116 | <div class="section_header"> | ||
MinRK
|
r5125 | <h3>Help</h3> | ||
MinRK
|
r5116 | </div> | ||
Brian E. Granger
|
r4372 | <div class="section_content"> | ||
<div class="section_row"> | ||||
<span id="help_buttons0" class="section_row_buttons"> | ||||
Brian E. Granger
|
r4631 | <a id="python_help" href="http://docs.python.org" target="_blank">Python</a> | ||
<a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a> | ||||
Brian E. Granger
|
r4372 | </span> | ||
<span class="section_row_header">Links</span> | ||||
</div> | ||||
<div class="section_row"> | ||||
<span id="help_buttons1" class="section_row_buttons"> | ||||
Brian E. Granger
|
r4640 | <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a> | ||
Brian E. Granger
|
r4631 | <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a> | ||
Brian E. Granger
|
r4640 | </span> | ||
</div> | ||||
<div class="section_row"> | ||||
<span id="help_buttons2" class="section_row_buttons"> | ||||
<a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a> | ||||
Brian E. Granger
|
r4631 | <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a> | ||
Brian E. Granger
|
r4372 | </span> | ||
</div> | ||||
Brian E. Granger
|
r4516 | <div class="section_row"> | ||
<span class="help_string">run selected cell</span> | ||||
Brian E. Granger
|
r4646 | <span class="help_string_label">Shift-Enter :</span> | ||
Brian E. Granger
|
r4516 | </div> | ||
<div class="section_row"> | ||||
Fernando Perez
|
r5020 | <span class="help_string">run selected cell in-place</span> | ||
Brian E. Granger
|
r4646 | <span class="help_string_label">Ctrl-Enter :</span> | ||
</div> | ||||
<div class="section_row"> | ||||
<span class="help_string">show keyboard shortcuts</span> | ||||
<span class="help_string_label">Ctrl-m h :</span> | ||||
Brian E. Granger
|
r4516 | </div> | ||
Brian E. Granger
|
r4372 | </div> | ||
</div> | ||||
Matthias BUSSONNIER
|
r5399 | <div id="config_section"> | ||
<div class="section_header"> | ||||
Matthias BUSSONNIER
|
r5564 | <h3>Configuration</h3> | ||
Matthias BUSSONNIER
|
r5399 | </div> | ||
<div class="section_content"> | ||||
<div class="section_row"> | ||||
<span id="tooltipontab_span"> | ||||
<input type="checkbox" id="tooltipontab" checked="true"></input> | ||||
</span> | ||||
<span class="checkbox_label" id="tooltipontab_label">Tooltip on tab:</span> | ||||
</div> | ||||
Matthias BUSSONNIER
|
r5400 | <div class="section_row"> | ||
Matthias BUSSONNIER
|
r5401 | <span id="smartcompleter_span"> | ||
<input type="checkbox" id="smartcompleter" checked="true"></input> | ||||
</span> | ||||
<span class="checkbox_label" id="smartcompleter_label">Smart completer:</span> | ||||
</div> | ||||
<div class="section_row"> | ||||
Matthias BUSSONNIER
|
r5402 | <span id="timebeforetooltip_span"> | ||
Matthias BUSSONNIER
|
r5564 | <input type="text" id="timebeforetooltip" value="1200" size='6'></input> | ||
<span class="numeric_input_label" id="timebeforetooltip_unit">milliseconds</span> | ||||
Matthias BUSSONNIER
|
r5400 | </span> | ||
MinRK
|
r5569 | <span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span> | ||
Matthias BUSSONNIER
|
r5400 | </div> | ||
Matthias BUSSONNIER
|
r5399 | </div> | ||
</div> | ||||
Brian E. Granger
|
r4372 | </div> | ||
Brian E. Granger
|
r4355 | <div id="left_panel_splitter"></div> | ||
<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
|
r4358 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> | ||||
Brian Granger
|
r4292 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> | ||
Brian Granger
|
r4508 | |||
Fernando Perez
|
r4935 | <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 | |||
<script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script> | ||||
Stefan van der Walt
|
r4655 | <script src="static/prettify/prettify.js" charset="utf-8"></script> | ||
Brian E. Granger
|
r4350 | <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> | ||||
Brian Granger
|
r4508 | <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4350 | <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4372 | <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4363 | <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4369 | <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> | ||
MinRK
|
r5066 | <script src="static/js/quickhelp.js" type="text/javascript" charset="utf-8"></script> | ||
MinRK
|
r5200 | <script src="static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4357 | <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4365 | <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script> | ||
Stefan van der Walt
|
r4615 | <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r4363 | <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script> | ||
Brian Granger
|
r4292 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> | ||
Brian E. Granger
|
r5111 | <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> | ||