##// END OF EJS Templates
Starting work on a Markdown cell.
Starting work on a Markdown cell.

File last commit:

r4507:f5f61980
r4507:f5f61980
Show More
notebook.html
204 lines | 9.8 KiB | text/html | HtmlLexer
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>IPython Notebook</title>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305
Brian E. Granger
Pager is working again.
r4361 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
Brian E. Granger
Minors fixes and initial work on save widget....
r4369 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
Brian E. Granger
Pager is working again.
r4361 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305
Brian Granger
Adding logic to look for CDN version of MathJax and fallback to local.
r4325 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
Brian Granger
Updating notebook examples, and notebook js/html.
r4330 <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> -->
Brian Granger
Adding logic to look for CDN version of MathJax and fallback to local.
r4325 <script type="text/javascript">
if (typeof MathJax == 'undefined') {
console.log("Trying to load local copy of MathJax");
document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
}
</script>
Brian Granger
Server side of file based notebook store implemented.
r4301
Brian E. Granger
Updating CodeMirror to v 2.12....
r4504 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
<link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
<link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
Brian E. Granger
Fixing HTML cell syntax highlighting.
r4505 <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css">
Brian Granger
CodeMirror code editing added....
r4332
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
Brian Granger
CodeMirror code editing added....
r4332 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
Brian Granger
CodeMirror code editing added....
r4332 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </head>
<body>
<div id="header">
Brian E. Granger
Starting to refactor the notebook layout
r4355 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 <span id="save_widget">
<input type="text" id="notebook_name" size="20"></textarea>
Brian E. Granger
Massive work on the notebook document format....
r4484 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 <button id="save_notebook">Save</button>
</span>
<span id="kernel_status">Idle</span>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </div>
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 <div id="main_app">
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 <div id="left_panel">
<div id="notebook_section">
<h3 class="section_header">Notebook</h3>
<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
Massive work on the notebook document format....
r4484 <div class="section_row">
<span class="section_row_buttons">
<button id="download_notebook">Export</button>
</span>
<span>
<select id="download_format">
<option value="xml">xml</option>
<option value="json">json</option>
<option value="py">py</option>
</select>
</span>
</div>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </div>
</div>
<div id="cell_section">
<h3 class="section_header">Cell</h3>
<div class="section_content">
<div class="section_row">
<span class="section_row_buttons">
<button id="delete_cell">Delete</button>
</span>
<span class="section_row_header">Actions</span>
</div>
<div class="section_row">
<span id="insert" class="section_row_buttons">
<button id="insert_cell_above">Above</button>
<button id="insert_cell_below">Below</button>
</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="cell_type" class="section_row_buttons">
<button id="to_code">Code</button>
Brian E. Granger
New HTMl cell working with CodeMirror editing.
r4499 <button id="to_html">HTML</button>
Brian E. Granger
Starting work on a Markdown cell.
r4507 <button id="to_rst">RST</button>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </span>
Brian E. Granger
Starting work on a Markdown cell.
r4507 <span class="button_label">Format</span>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </div>
<div class="section_row">
<span id="toggle_output" class="section_row_buttons">
<button id="collapse_cell">Collapse</button>
<button id="expand_cell">Expand</button>
</span>
<span class="button_label">Output</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>
</div>
</div>
<div id="kernel_section">
<h3 class="section_header">Kernel</h3>
<div class="section_content">
<div class="section_row">
<span id="int_restart" class="section_row_buttons">
<button id="int_kernel">Interrupt</button>
<button id="restart_kernel">Restart</button>
</span>
<span class="section_row_header">Actions</span>
</div>
Brian E. Granger
Using beforeunload to save at exit and kill the kernel.
r4496 <div class="section_row">
<span id="kernel_persist">
<input type="checkbox" id="kill_kernel"></input>
</span>
<span class="checkbox_label">Kill kernel upon exit:</span>
</div>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </div>
</div>
<div id="help_section">
<h3 class="section_header">Help</h3>
<div class="section_content">
<div class="section_row">
<span id="help_buttons0" class="section_row_buttons">
<button id="python_help"><a href="http://docs.python.org" target="_blank">Python</a></button>
<button id="ipython_help"><a href="http://ipython.org/documentation.html" target="_blank">IPython</a></button>
<button id="numpy_help"><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
</span>
<span class="section_row_header">Links</span>
</div>
<div class="section_row">
<span id="help_buttons1" class="section_row_buttons">
<button id="matplotlib_help"><a href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a></button>
<button id="scipy_help"><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
<button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
</span>
</div>
</div>
</div>
</div>
Brian E. Granger
Starting to refactor the notebook layout
r4355 <div id="left_panel_splitter"></div>
<div id="notebook_panel">
<div id="notebook"></div>
<div id="pager_splitter"></div>
Brian E. Granger
Initial payload handling....
r4356 <div id="pager"></div>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 </div>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292
</div>
Brian Granger
Updating jQuery to 1.6.2 and jQuery UI to 1.8.14....
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
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Updating main notebook template to use split scripts.
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 E. Granger
New HTMl cell working with CodeMirror editing.
r4499 <script src="static/js/htmlcell.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Starting work on a Markdown cell.
r4507 <script src="static/js/rstcell.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Updating main notebook template to use split scripts.
r4350 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Left panel is now working.
r4363 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Minors fixes and initial work on save widget....
r4369 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Refactoring pager into its own class.
r4357 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Initial draft of panel section and the cell section working.
r4365 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Left panel is now working.
r4363 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Updating main notebook template to use split scripts.
r4350 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
Starting work on a Markdown cell.
r4507 <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script>
<script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script>
<script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script>
<script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script>
<script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script>
<script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script>
<script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script>
<script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
Brian Granger
Server side of file based notebook store implemented.
r4301
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </body>
Brian E. Granger
Updating main notebook template to use split scripts.
r4350 </html>
Brian E. Granger
Starting to refactor the notebook layout
r4355