##// END OF EJS Templates
Merge pull request #3235 from ellisonbg/removeprint...
Merge pull request #3235 from ellisonbg/removeprint Remove the unused print notebook view

File last commit:

r10419:61a613e5
r10488:ddc8bac0 merge
Show More
notebook.html
232 lines | 11.0 KiB | text/html | HtmlLexer
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% extends "page.html" %}
Brian Granger
Major refactoring of notebook....
r6193 {% block stylesheet %}
{% if mathjax_url %}
Aron Ahmadia
Finalizing fixes to MathJax enhancements...
r8662 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script>
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endif %}
Brian Granger
Major refactoring of notebook....
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>
Brian E. Granger
Fixing broken URLs to CM assets.
r10419 <link rel="stylesheet" href="{{ static_url("components/codemirror/lib/codemirror.css") }}">
Brian E. Granger
Fixing typo in ntoebook.html.
r10417 <link rel="stylesheet" href="{{ static_url("css/codemirror-ipython.css") }}">
Brian Granger
Major refactoring of notebook....
r6193
<link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
Matthias BUSSONNIER
rename file metaui->celltoolbar
r9065 <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" />
Brian Granger
Major refactoring of notebook....
r6193
Matthias BUSSONNIER
use super in templates
r9387 {{super()}}
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Brian Granger
Major refactoring of notebook....
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}}
Matthias BUSSONNIER
fix body overflow on dashboard
r9290 class="notebook_app"
Brian Granger
Major refactoring of notebook....
r6193
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block header %}
<span id="save_widget">
<span id="notebook_name"></span>
<span id="save_status"></span>
</span>
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block site %}
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292
Brian Granger
Major refactoring of saving, notification....
r6047 <div id="menubar_container">
Brian Granger
Implemented menu based UI using Wijmo.
r5857 <div id="menubar">
Brian Granger
Initial work to add Wijmo based menu.
r5856 <ul id="menus">
<li><a href="#">File</a>
<ul>
Brian Granger
Solid first go at jquery-ui based menus.
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
Initial work to add Wijmo based menu.
r5856 <li><a href="#">Download as</a>
<ul>
Brian Granger
Implemented menu based UI using Wijmo.
r5857 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
<li id="download_py"><a href="#">Python (.py)</a></li>
Brian Granger
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
Matthias BUSSONNIER
replace tab by space comment print view action
r9296 <!--<hr/>
<li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>-->
Matthias BUSSONNIER
add 'Close and halt' in notebook filemenu
r6850 <hr/>
<li id="kill_and_exit"><a href="#" >Close and halt</a></li>
Brian Granger
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
<li><a href="#">Edit</a>
<ul>
Brian Granger
Adding "Cell" to cell related Edit actions.
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>
David Warde-Farley
"Paste Cell Replace" -> "Paste Cell & Replace"
r8716 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
MinRK
add menu item for undo delete cell...
r9551 <li id="delete_cell"><a href="#">Delete Cell</a></li>
MinRK
add disabled state to undo-delete-cell when unavailable.
r9552 <li id="undelete_cell" class="ui-state-disabled"><a href="#">Undo Delete Cell</a></li>
Brian Granger
Solid first go at jquery-ui based menus.
r5869 <hr/>
Brian Granger
Adding "Cell" to cell related Edit actions.
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>
Brian Granger
Basic code cell splitting implemented.
r5896 <hr/>
Brian Granger
Adding "Cell" to cell related Edit actions.
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>
Brian Granger
Solid first go at jquery-ui based menus.
r5869 <hr/>
Brian Granger
Adding "Cell" to cell related Edit actions.
r5996 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
<li id="select_next"><a href="#">Select Next Cell</a></li>
Brian Granger
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
Brian Granger
Further work on the toolbar UI....
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>
Brian Granger
Initial work to add Wijmo based menu.
r5856 <li><a href="#">Insert</a>
<ul>
Brian Granger
Solid first go at jquery-ui based menus.
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
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
<li><a href="#">Cell</a>
<ul>
Brian Granger
Solid first go at jquery-ui based menus.
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
Implemented menu based UI using Wijmo.
r5857 <li id="run_all_cells"><a href="#">Run All</a></li>
Paul Ivanov
fine-grained notebook 'run' controls, closes #2521...
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>
Brian Granger
Solid first go at jquery-ui based menus.
r5869 <hr/>
Brian Granger
Finishing first draft of RST and heading cells.
r6019 <li id="to_code"><a href="#">Code</a></li>
<li id="to_markdown"><a href="#">Markdown </a></li>
MinRK
denote raw cell with 'Raw Text' in UI
r6258 <li id="to_raw"><a href="#">Raw Text</a></li>
Brian Granger
Finishing first draft of RST and heading cells.
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>
Brian Granger
Solid first go at jquery-ui based menus.
r5869 <hr/>
MinRK
third attempt at scrolled long output...
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>
Brian Granger
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
<li><a href="#">Kernel</a>
<ul>
Brian Granger
Solid first go at jquery-ui based menus.
r5869 <li id="int_kernel"><a href="#">Interrupt</a></li>
<li id="restart_kernel"><a href="#">Restart</a></li>
Brian Granger
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
<li><a href="#">Help</a>
<ul>
Brian Granger
Implemented menu based UI using Wijmo.
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
Solid first go at jquery-ui based menus.
r5869 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
<hr/>
Brian Granger
Implemented menu based UI using Wijmo.
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
Initial work to add Wijmo based menu.
r5856 </ul>
</li>
</ul>
</div>
Matthias BUSSONNIER
beginning notification area
r8011 <div id="notification_area">
</div>
Brian Granger
Major refactoring of saving, notification....
r6047 </div>
Brian Granger
Initial work to add Wijmo based menu.
r5856
Matthias BUSSONNIER
#toolbar -> #maintoolbar
r8207 <div id="maintoolbar"></div>
Brian Granger
First draft of toolbar....
r5993
Bussonnier Matthias
main_app -> ipython-main-app
r9265 <div id="ipython-main-app">
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305
Brian E. Granger
Starting to refactor the notebook layout
r4355 <div id="notebook_panel">
<div id="notebook"></div>
<div id="pager_splitter"></div>
Matthias BUSSONNIER
This create the ability to detach the pager...
r8265 <div id="pager_container">
<div id='pager_button_area'>
</div>
<div id="pager"></div>
</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>
Matthias BUSSONNIER
use less for tooltip
r9263 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
Matthias Bussonnier
tooltip to mac
r7144
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block script %}
Andrew Straw
use Tornado's handler.static_url() in templates
r6002
Matthias BUSSONNIER
propagate use_less flag in all pages
r9384 {{super()}}
Bussonnier Matthias
less flag in templates
r9268
Brian E. Granger
Fixing broken URLs to CM assets.
r10419 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
Brian E. Granger
Fixing typo in ntoebook.html.
r10417 <script src="{{ static_url("js/codemirror-ipython.js") }}" charset="utf-8"></script>
Brian E. Granger
Add components to static URLs.
r10413 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002
<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>
Brian Granger
Major refactoring of saving, notification....
r6047 <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002 <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Major refactoring of notebook....
r6193 <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
Aron Ahmadia
partial refactor, can't quite get environments working
r8565 <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Refactored CodeCell to use new OutputArea object for output....
r7177 <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002 <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
rename file metaui->celltoolbar
r9065 <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002 <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
implement the completer in a separate class...
r7131 <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
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>
Matthias BUSSONNIER
load maintoolbar.js
r7834 <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Major refactoring of saving, notification....
r6047 <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
beginning notification area
r8011 <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias Bussonnier
tooltip to mac
r7144 <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
autochange highlight with cell magics...
r8202 <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002 <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Refactoring of text/markdown/rst/html cells.
r4508
MinRK
fix missing quotation mark in notebook.html
r7924 <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script>
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350
Matthias BUSSONNIER
Load default.js (for celltoolbar) by default...
r9079 <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
load slideshow by default
r9100 <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
implement the completer in a separate class...
r7131
Matthias BUSSONNIER
Load default.js (for celltoolbar) by default...
r9079 {% endblock %}