##// END OF EJS Templates
Fixing HTML cell syntax highlighting.
Brian E. Granger -
Show More
@@ -1,200 +1,201 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/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
9 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
10 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
10 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
11 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
11 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
12
12
13 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
13 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
14 <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> -->
14 <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> -->
15 <script type="text/javascript">
15 <script type="text/javascript">
16 if (typeof MathJax == 'undefined') {
16 if (typeof MathJax == 'undefined') {
17 console.log("Trying to load local copy of MathJax");
17 console.log("Trying to load local copy of MathJax");
18 document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
18 document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
19 }
19 }
20 </script>
20 </script>
21
21
22 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
22 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
23 <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
23 <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
24 <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
24 <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
25 <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css">
25
26
26 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
27 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
27 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
28 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
28 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
29 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
29 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
30 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
30
31
31 </head>
32 </head>
32
33
33 <body>
34 <body>
34
35
35 <div id="header">
36 <div id="header">
36 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
37 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
37 <span id="save_widget">
38 <span id="save_widget">
38 <input type="text" id="notebook_name" size="20"></textarea>
39 <input type="text" id="notebook_name" size="20"></textarea>
39 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
40 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
40 <button id="save_notebook">Save</button>
41 <button id="save_notebook">Save</button>
41 </span>
42 </span>
42 <span id="kernel_status">Idle</span>
43 <span id="kernel_status">Idle</span>
43 </div>
44 </div>
44
45
45 <div id="main_app">
46 <div id="main_app">
46
47
47 <div id="left_panel">
48 <div id="left_panel">
48
49
49 <div id="notebook_section">
50 <div id="notebook_section">
50 <h3 class="section_header">Notebook</h3>
51 <h3 class="section_header">Notebook</h3>
51 <div class="section_content">
52 <div class="section_content">
52 <div class="section_row">
53 <div class="section_row">
53 <span id="new_open" class="section_row_buttons">
54 <span id="new_open" class="section_row_buttons">
54 <button id="new_notebook">New</button>
55 <button id="new_notebook">New</button>
55 <button id="open_notebook">Open</button>
56 <button id="open_notebook">Open</button>
56 </span>
57 </span>
57 <span class="section_row_header">Actions</span>
58 <span class="section_row_header">Actions</span>
58 </div>
59 </div>
59 <div class="section_row">
60 <div class="section_row">
60 <span class="section_row_buttons">
61 <span class="section_row_buttons">
61 <button id="download_notebook">Export</button>
62 <button id="download_notebook">Export</button>
62 </span>
63 </span>
63 <span>
64 <span>
64 <select id="download_format">
65 <select id="download_format">
65 <option value="xml">xml</option>
66 <option value="xml">xml</option>
66 <option value="json">json</option>
67 <option value="json">json</option>
67 <option value="py">py</option>
68 <option value="py">py</option>
68 </select>
69 </select>
69 </span>
70 </span>
70 </div>
71 </div>
71 </div>
72 </div>
72 </div>
73 </div>
73
74
74 <div id="cell_section">
75 <div id="cell_section">
75 <h3 class="section_header">Cell</h3>
76 <h3 class="section_header">Cell</h3>
76 <div class="section_content">
77 <div class="section_content">
77 <div class="section_row">
78 <div class="section_row">
78 <span class="section_row_buttons">
79 <span class="section_row_buttons">
79 <button id="delete_cell">Delete</button>
80 <button id="delete_cell">Delete</button>
80 </span>
81 </span>
81 <span class="section_row_header">Actions</span>
82 <span class="section_row_header">Actions</span>
82 </div>
83 </div>
83 <div class="section_row">
84 <div class="section_row">
84 <span id="insert" class="section_row_buttons">
85 <span id="insert" class="section_row_buttons">
85 <button id="insert_cell_above">Above</button>
86 <button id="insert_cell_above">Above</button>
86 <button id="insert_cell_below">Below</button>
87 <button id="insert_cell_below">Below</button>
87 </span>
88 </span>
88 <span class="button_label">Insert</span>
89 <span class="button_label">Insert</span>
89 </div>
90 </div>
90 <div class="section_row">
91 <div class="section_row">
91 <span id="move" class="section_row_buttons">
92 <span id="move" class="section_row_buttons">
92 <button id="move_cell_up">Up</button>
93 <button id="move_cell_up">Up</button>
93 <button id="move_cell_down">Down</button>
94 <button id="move_cell_down">Down</button>
94 </span>
95 </span>
95 <span class="button_label">Move</span>
96 <span class="button_label">Move</span>
96 </div>
97 </div>
97 <div class="section_row">
98 <div class="section_row">
98 <span id="cell_type" class="section_row_buttons">
99 <span id="cell_type" class="section_row_buttons">
99 <button id="to_code">Code</button>
100 <button id="to_code">Code</button>
100 <button id="to_html">HTML</button>
101 <button id="to_html">HTML</button>
101 </span>
102 </span>
102 <span class="button_label">Cell Type</span>
103 <span class="button_label">Cell Type</span>
103 </div>
104 </div>
104 <div class="section_row">
105 <div class="section_row">
105 <span id="toggle_output" class="section_row_buttons">
106 <span id="toggle_output" class="section_row_buttons">
106 <button id="collapse_cell">Collapse</button>
107 <button id="collapse_cell">Collapse</button>
107 <button id="expand_cell">Expand</button>
108 <button id="expand_cell">Expand</button>
108 </span>
109 </span>
109 <span class="button_label">Output</span>
110 <span class="button_label">Output</span>
110 </div>
111 </div>
111 <div class="section_row">
112 <div class="section_row">
112 <span id="run_cells" class="section_row_buttons">
113 <span id="run_cells" class="section_row_buttons">
113 <button id="run_selected_cell">Selected</button>
114 <button id="run_selected_cell">Selected</button>
114 <button id="run_all_cells">All</button>
115 <button id="run_all_cells">All</button>
115 </span>
116 </span>
116 <span class="button_label">Run</span>
117 <span class="button_label">Run</span>
117 </div>
118 </div>
118 </div>
119 </div>
119 </div>
120 </div>
120
121
121 <div id="kernel_section">
122 <div id="kernel_section">
122 <h3 class="section_header">Kernel</h3>
123 <h3 class="section_header">Kernel</h3>
123 <div class="section_content">
124 <div class="section_content">
124 <div class="section_row">
125 <div class="section_row">
125 <span id="int_restart" class="section_row_buttons">
126 <span id="int_restart" class="section_row_buttons">
126 <button id="int_kernel">Interrupt</button>
127 <button id="int_kernel">Interrupt</button>
127 <button id="restart_kernel">Restart</button>
128 <button id="restart_kernel">Restart</button>
128 </span>
129 </span>
129 <span class="section_row_header">Actions</span>
130 <span class="section_row_header">Actions</span>
130 </div>
131 </div>
131 <div class="section_row">
132 <div class="section_row">
132 <span id="kernel_persist">
133 <span id="kernel_persist">
133 <input type="checkbox" id="kill_kernel"></input>
134 <input type="checkbox" id="kill_kernel"></input>
134 </span>
135 </span>
135 <span class="checkbox_label">Kill kernel upon exit:</span>
136 <span class="checkbox_label">Kill kernel upon exit:</span>
136 </div>
137 </div>
137 </div>
138 </div>
138 </div>
139 </div>
139
140
140 <div id="help_section">
141 <div id="help_section">
141 <h3 class="section_header">Help</h3>
142 <h3 class="section_header">Help</h3>
142 <div class="section_content">
143 <div class="section_content">
143 <div class="section_row">
144 <div class="section_row">
144 <span id="help_buttons0" class="section_row_buttons">
145 <span id="help_buttons0" class="section_row_buttons">
145 <button id="python_help"><a href="http://docs.python.org" target="_blank">Python</a></button>
146 <button id="python_help"><a href="http://docs.python.org" target="_blank">Python</a></button>
146 <button id="ipython_help"><a href="http://ipython.org/documentation.html" target="_blank">IPython</a></button>
147 <button id="ipython_help"><a href="http://ipython.org/documentation.html" target="_blank">IPython</a></button>
147 <button id="numpy_help"><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
148 <button id="numpy_help"><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
148 </span>
149 </span>
149 <span class="section_row_header">Links</span>
150 <span class="section_row_header">Links</span>
150 </div>
151 </div>
151 <div class="section_row">
152 <div class="section_row">
152 <span id="help_buttons1" class="section_row_buttons">
153 <span id="help_buttons1" class="section_row_buttons">
153 <button id="matplotlib_help"><a href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a></button>
154 <button id="matplotlib_help"><a href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a></button>
154 <button id="scipy_help"><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
155 <button id="scipy_help"><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
155 <button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
156 <button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
156 </span>
157 </span>
157 </div>
158 </div>
158 </div>
159 </div>
159 </div>
160 </div>
160
161
161 </div>
162 </div>
162 <div id="left_panel_splitter"></div>
163 <div id="left_panel_splitter"></div>
163 <div id="notebook_panel">
164 <div id="notebook_panel">
164 <div id="notebook"></div>
165 <div id="notebook"></div>
165 <div id="pager_splitter"></div>
166 <div id="pager_splitter"></div>
166 <div id="pager"></div>
167 <div id="pager"></div>
167 </div>
168 </div>
168
169
169 </div>
170 </div>
170
171
171 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
172 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
172 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
173 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
173 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
174 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
174 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
175 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
175 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
176 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
176 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
177 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
177 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
178 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
178 <script src="static/js/htmlcell.js" type="text/javascript" charset="utf-8"></script>
179 <script src="static/js/htmlcell.js" type="text/javascript" charset="utf-8"></script>
179 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
180 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
180 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
181 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
181 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
182 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
182 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
183 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
183 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
184 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
184 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
185 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
185 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
186 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
186 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
187 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
187 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
188 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
188 <script src="static/codemirror-2.12/lib/codemirror.js"></script>
189 <script src="static/codemirror-2.12/lib/codemirror.js"></script>
189 <script src="static/codemirror-2.12/mode/python/python.js"></script>
190 <script src="static/codemirror-2.12/mode/python/python.js"></script>
190 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js"></script>
191 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js"></script>
191 <script src="static/codemirror-2.12/mode/xml/xml.js"></script>
192 <script src="static/codemirror-2.12/mode/xml/xml.js"></script>
192 <script src="static/codemirror-2.12/mode/javascript/javascript.js"></script>
193 <script src="static/codemirror-2.12/mode/javascript/javascript.js"></script>
193 <script src="static/codemirror-2.12/mode/css/css.js"></script>
194 <script src="static/codemirror-2.12/mode/css/css.js"></script>
194 <script src="static/codemirror-2.12/mode/rst/rst.js"></script>
195 <script src="static/codemirror-2.12/mode/rst/rst.js"></script>
195
196
196 </body>
197 </body>
197
198
198 </html>
199 </html>
199
200
200
201
General Comments 0
You need to be logged in to leave comments. Login now