##// END OF EJS Templates
tweak history prefix search (up/^p) in qtconsole...
tweak history prefix search (up/^p) in qtconsole moving the cursor around the line could result in weird inconsistencies in the prefix. This simplifies the logic by always using the cursor position to set the history prefix, and better determine when the history prefix has actually changed.

File last commit:

r8788:8dc998e0 merge
r9205:ef8c14cd
Show More
printnotebook.html
81 lines | 3.3 KiB | text/html | HtmlLexer
Cameron Bates
Update print notebook template to Jinja2
r8351 {% extends "page.html" %}
Brian Granger
Created new print view for notebook printing.
r5875
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
Update print notebook template to Jinja2
r8351 {% 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>
<link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}">
<link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}">
<link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
<link rel="stylesheet" href="{{ static_url("css/notebook.css") }}" type="text/css" />
<link rel="stylesheet" href="{{ static_url("css/printnotebook.css") }}" type="text/css" />
<link rel="stylesheet" href="{{ static_url("css/renderedhtml.css") }}" type="text/css" />
Cameron Bates
Update print notebook template to Jinja2
r8351 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block params %}
Brian Granger
Created new print view for notebook printing.
r5875
Brian Granger
Major refactoring of notebook....
r6193 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}}
Cameron Bates
Update print notebook template to Jinja2
r8351 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block header %}
Cameron Bates
Update print notebook template to Jinja2
r8351 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block site %}
Brian Granger
Created new print view for notebook printing.
r5875
<div id="main_app">
<div id="notebook_panel">
<div id="notebook"></div>
</div>
</div>
Cameron Bates
Update print notebook template to Jinja2
r8351 {% endblock %}
Brian Granger
Major refactoring of notebook....
r6193
{% block script %}
Andrew Straw
use Tornado's handler.static_url() in templates
r6002
<script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
<script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
<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>
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>
<script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
<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/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ static_url("js/printnotebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Created new print view for notebook printing.
r5875
Cameron Bates
Update print notebook template to Jinja2
r8351 {% endblock %}