##// END OF EJS Templates
Adding logic to look for CDN version of MathJax and fallback to local.
Brian Granger -
Show More
@@ -1,93 +1,98 b''
1 <!DOCTYPE HTML>
1 <!DOCTYPE HTML>
2 <html>
2 <html>
3
3
4 <head>
4 <head>
5 <meta charset="utf-8">
5 <meta charset="utf-8">
6
6
7 <title>IPython Notebook</title>
7 <title>IPython Notebook</title>
8
8
9 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
9 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
10
10
11 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
11 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
12 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
12 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
13 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
13 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
14
14
15 <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script> -->
15 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
16 <script type="text/javascript" src="static/mathjax/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
16 <script type="text/javascript">
17 if (typeof MathJax == 'undefined') {
18 console.log("Trying to load local copy of MathJax");
19 document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
20 }
21 </script>
17
22
18 </head>
23 </head>
19
24
20 <body>
25 <body>
21
26
22 <div id="wrapper">
27 <div id="wrapper">
23
28
24 <div id="header">
29 <div id="header">
25 <span id="ipython_notebook"><h1>[I]:Python Notebook</h1></span>
30 <span id="ipython_notebook"><h1>[I]:Python Notebook</h1></span>
26 </div>
31 </div>
27
32
28
33
29 <div id="tools">
34 <div id="tools">
30
35
31 <div id="menu_tabs">
36 <div id="menu_tabs">
32 <span id="kernel_status">Idle</span>
37 <span id="kernel_status">Idle</span>
33 <ul>
38 <ul>
34 <li><a href="#cell_tab">Cell</a></li>
39 <li><a href="#cell_tab">Cell</a></li>
35 <li><a href="#kernel_tab">Kernel</a></li>
40 <li><a href="#kernel_tab">Kernel</a></li>
36 <li><a href="#help_tab">Help</a></li>
41 <li><a href="#help_tab">Help</a></li>
37 </ul>
42 </ul>
38 <div id="cell_tab">
43 <div id="cell_tab">
39 <span id="cell_toolbar">
44 <span id="cell_toolbar">
40 <span id="move_cell">
45 <span id="move_cell">
41 <button id="move_up">Move up</button>
46 <button id="move_up">Move up</button>
42 <button id="move_down">Move down</button>
47 <button id="move_down">Move down</button>
43 </span>
48 </span>
44 <span id="insert_delete">
49 <span id="insert_delete">
45 <button id="insert_cell_before">Before</button>
50 <button id="insert_cell_before">Before</button>
46 <button id="insert_cell_after">After</button>
51 <button id="insert_cell_after">After</button>
47 <button id="delete_cell">Delete</button>
52 <button id="delete_cell">Delete</button>
48 </span>
53 </span>
49 <span id="cell_type">
54 <span id="cell_type">
50 <button id="to_code">Code</button>
55 <button id="to_code">Code</button>
51 <button id="to_text">Text</button>
56 <button id="to_text">Text</button>
52 </span>
57 </span>
53 <span id="sort">
58 <span id="sort">
54 <button id="sort_cells">Sort</button>
59 <button id="sort_cells">Sort</button>
55 </span>
60 </span>
56 <span id="toggle">
61 <span id="toggle">
57 <button id="collapse">Collapse</button>
62 <button id="collapse">Collapse</button>
58 <button id="expand">Expand</button>
63 <button id="expand">Expand</button>
59 </span>
64 </span>
60 </span>
65 </span>
61 </div>
66 </div>
62 <div id="kernel_tab">
67 <div id="kernel_tab">
63 <span id="kernel_toolbar">
68 <span id="kernel_toolbar">
64 <button id="interrupt_kernel">Interrupt</button>
69 <button id="interrupt_kernel">Interrupt</button>
65 <button id="restart_kernel">Restart</button>
70 <button id="restart_kernel">Restart</button>
66 </span>
71 </span>
67 </div>
72 </div>
68 <div id="help_tab">
73 <div id="help_tab">
69 <span id="help_toolbar">
74 <span id="help_toolbar">
70 <button><a href="http://docs.python.org" target="_blank">Python</a></button>
75 <button><a href="http://docs.python.org" target="_blank">Python</a></button>
71 <button><a href="http://ipython.github.com/ipython-doc/dev/index.html" target="_blank">IPython</a></button>
76 <button><a href="http://ipython.github.com/ipython-doc/dev/index.html" target="_blank">IPython</a></button>
72 <button><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></button>
77 <button><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></button>
73 <button><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
78 <button><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
74 <button><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
79 <button><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
75 <button><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
80 <button><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
76 </span>
81 </span>
77 </div>
82 </div>
78 </div>
83 </div>
79
84
80 </div>
85 </div>
81
86
82 <div class="notebook"></div>
87 <div class="notebook"></div>
83
88
84 </div>
89 </div>
85
90
86 <script src="static/jquery/js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
91 <script src="static/jquery/js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
87 <script src="static/jquery/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript" charset="utf-8"></script>
92 <script src="static/jquery/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript" charset="utf-8"></script>
88 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
93 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
89 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
94 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
90
95
91 </body>
96 </body>
92
97
93 </html> No newline at end of file
98 </html>
General Comments 0
You need to be logged in to leave comments. Login now