##// END OF EJS Templates
CodeMirror code editing added....
CodeMirror code editing added. * codemirror2 repo has been added to IPython. * Custom coloring used to match the qtconsole.

File last commit:

r4332:f5911d3c
r4332:f5911d3c
Show More
notebook.html
104 lines | 4.0 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 Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
<!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
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 Granger
CodeMirror code editing added....
r4332 <link rel="stylesheet" href="static/codemirror2/lib/codemirror.css">
<link rel="stylesheet" href="static/codemirror2/mode/python/python.css">
<link rel="stylesheet" href="static/css/layout.css" type="text/css" />
<link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </head>
<body>
Brian Granger
Fixes to notebook scrolling and layout....
r4311 <div id="wrapper">
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <div id="header">
Brian Granger
Basic notebook saving and loading....
r4315 <span id="ipython_notebook"><h1>[I]:Python Notebook</h1></span>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </div>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <div id="tools">
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 <div id="menu_tabs">
Brian Granger
Status monitoring added to notebook....
r4310 <span id="kernel_status">Idle</span>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 <ul>
<li><a href="#cell_tab">Cell</a></li>
<li><a href="#kernel_tab">Kernel</a></li>
<li><a href="#help_tab">Help</a></li>
</ul>
<div id="cell_tab">
<span id="cell_toolbar">
<span id="move_cell">
<button id="move_up">Move up</button>
<button id="move_down">Move down</button>
</span>
<span id="insert_delete">
<button id="insert_cell_before">Before</button>
<button id="insert_cell_after">After</button>
<button id="delete_cell">Delete</button>
</span>
<span id="cell_type">
<button id="to_code">Code</button>
<button id="to_text">Text</button>
</span>
<span id="sort">
<button id="sort_cells">Sort</button>
</span>
<span id="toggle">
<button id="collapse">Collapse</button>
<button id="expand">Expand</button>
</span>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </span>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 </div>
<div id="kernel_tab">
<span id="kernel_toolbar">
Brian Granger
Interrupt and restart work for kernels.
r4308 <button id="interrupt_kernel">Interrupt</button>
<button id="restart_kernel">Restart</button>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </span>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 </div>
<div id="help_tab">
<span id="help_toolbar">
<button><a href="http://docs.python.org" target="_blank">Python</a></button>
<button><a href="http://ipython.github.com/ipython-doc/dev/index.html" target="_blank">IPython</a></button>
<button><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></button>
<button><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
<button><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
<button><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 </span>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 </div>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </div>
</div>
<div class="notebook"></div>
Brian Granger
Fixes to notebook scrolling and layout....
r4311 </div>
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 <script src="static/jquery/js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
Brian Granger
Fixing main toolbar area and cleaning up jquery themes.
r4305 <script src="static/jquery/js/jquery-ui-1.8.11.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>
<script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
Brian Granger
CodeMirror code editing added....
r4332 <script src="static/codemirror2/lib/codemirror.js"></script>
<script src="static/codemirror2/mode/python/python.js"></script>
Brian Granger
Server side of file based notebook store implemented.
r4301
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 </body>
</html>