##// END OF EJS Templates
Adding logic to look for CDN version of MathJax and fallback to local.
Adding logic to look for CDN version of MathJax and fallback to local.

File last commit:

r4325:5e55e20f
r4325:5e55e20f
Show More
notebook.html
97 lines | 3.5 KiB | text/html | HtmlLexer
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>IPython Notebook</title>
<link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
<link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
<!-- <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" /> -->
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
<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>
</head>
<body>
<div id="wrapper">
<div id="header">
<span id="ipython_notebook"><h1>[I]:Python Notebook</h1></span>
</div>
<div id="tools">
<div id="menu_tabs">
<span id="kernel_status">Idle</span>
<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>
</span>
</div>
<div id="kernel_tab">
<span id="kernel_toolbar">
<button id="interrupt_kernel">Interrupt</button>
<button id="restart_kernel">Restart</button>
</span>
</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>
</span>
</div>
</div>
</div>
<div class="notebook"></div>
</div>
<script src="static/jquery/js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="static/jquery/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript" charset="utf-8"></script>
<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>
</body>
</html>