##// END OF EJS Templates
Fixing logic for rename behavior.
Fixing logic for rename behavior.

File last commit:

r4631:1e2b197e
r4632:6d3001f6
Show More
notebook.html
229 lines | 10.7 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
Refactoring of text/markdown/rst/html cells.
r4508 <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" />
Brian Granger
CodeMirror code editing added....
r4332
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>
<select id="download_format">
<option value="xml">xml</option>
<option value="json">json</option>
<option value="py">py</option>
</select>
</span>
Brian Granger
Reordering Export button and renaming Export->Export As
r4510 <span class="section_row_buttons">
Stefan van der Walt
Refactor static printing.
r4615 <span id="print_widget">
Brian E. Granger
Adding page break logic to the print css....
r4625 <button id="print_notebook">Print</button>
Stefan van der Walt
Refactor static printing.
r4615 </span>
Brian E. Granger
Export works with filenames having spaces....
r4558 <button id="download_notebook">Export</button>
Brian Granger
Reordering Export button and renaming Export->Export As
r4510 </span>
Brian E. Granger
Massive work on the notebook document format....
r4484 </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">
Brian Granger
Refactoring of text/markdown/rst/html cells.
r4508 <span id="cell_type" class="section_row_buttons">
<button id="to_code">Code</button>
Brian E. Granger
Removed HTMLCell from UI and added better placeholder logic.
r4614 <!-- <button id="to_html">HTML</button>-->
Brian Granger
Refactoring of text/markdown/rst/html cells.
r4508 <button id="to_markdown">Markdown</button>
</span>
Brian E. Granger
Clear all output is implemented.
r4543 <span class="button_label">Format</span>
</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>
Brian E. Granger
I like ClearAll better than Clr All.
r4559 <button id="clear_all_output">ClearAll</button>
Brian E. Granger
Clear all output is implemented.
r4543 </span>
<span class="button_label">Output</span>
Brian Granger
Refactoring of text/markdown/rst/html cells.
r4508 </div>
<div class="section_row">
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 <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="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
Implemented smart autoindenting.
r4512 <div class="section_row">
<span id="autoindent_span">
Brian E. Granger
Autoindentation fixed and enabled by default.
r4529 <input type="checkbox" id="autoindent" checked="true"></input>
Brian E. Granger
Implemented smart autoindenting.
r4512 </span>
<span class="checkbox_label">Autoindent:</span>
</div>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </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">
Brian E. Granger
Help links work on Firefox.
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>
<a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
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
Help links work on Firefox.
r4631 <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a>
<a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a>
<a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </span>
</div>
Brian E. Granger
Adding minor help strings for keyboard shortcuts.
r4516 <div class="section_row">
<span class="help_string">run selected cell</span>
<span class="help_string_label">Shift-Enter |</span>
</div>
<div class="section_row">
<span class="help_string">run in terminal mode</span>
<span class="help_string_label">Ctrl-Enter |</span>
</div>
Brian E. Granger
Work on save widget, kernel status widget and notebook section.
r4372 </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 Granger
Refactoring of text/markdown/rst/html cells.
r4508
<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 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 Granger
Refactoring of text/markdown/rst/html cells.
r4508 <script src="static/js/textcell.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>
Stefan van der Walt
Refactor static printing.
r4615 <script src="static/js/printwidget.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 Granger
Refactoring of text/markdown/rst/html cells.
r4508
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