##// END OF EJS Templates
Reordering Export button and renaming Export->Export As
Brian Granger -
Show More
@@ -1,266 +1,265 b''
1 1
2 2 /**
3 3 * Primary styles
4 4 *
5 5 * Author: IPython Development Team
6 6 */
7 7
8 8
9 9 body {
10 10 background-color: white;
11 11 /* This makes sure that the body covers the entire window and needs to
12 12 be in a different element than the display: box in wrapper below */
13 13 position: absolute;
14 14 left: 0px;
15 15 right: 0px;
16 16 top: 0px;
17 17 bottom: 0px;
18 18 overflow: hidden;
19 19 }
20 20
21 21 span#save_widget {
22 22 position: absolute;
23 23 left: 0px;
24 24 padding: 5px 0px;
25 25 margin: 0px 0px 0px 0px;
26 26 }
27 27
28 28 input#notebook_name {
29 29 height: 1em;
30 30 line-height: 1em;
31 31 padding: 5px;
32 32 }
33 33
34 34 span#kernel_status {
35 35 position: absolute;
36 36 padding: 8px 5px 5px 5px;
37 37 right: 10px;
38 38 font-weight: bold;
39 39 }
40 40
41 41 .status_idle {
42 42 color: gray;
43 43 }
44 44
45 45 .status_busy {
46 46 color: red;
47 47 }
48 48
49 49 .status_restarting {
50 50 color: black;
51 51 }
52 52
53 53 div#left_panel {
54 54 overflow-y: auto;
55 55 top: 0px;
56 56 left: 0px;
57 57 margin: 0px;
58 58 padding: 0px;
59 59 position: absolute;
60 60 }
61 61
62 62 h3.section_header {
63 63 padding: 5px;
64 64 }
65 65
66 66 div.section_content {
67 67 padding: 5px;
68 68 }
69 69
70
71 70 span.section_row_buttons > button {
72 71 width: 70px;
73 72 }
74 73
75 74 .section_row {
76 75 margin: 5px 0px;
77 76 }
78 77
79 78 .section_row_buttons {
80 79 float: right;
81 80 }
82 81
83 82 #kernel_persist {
84 83 float: right;
85 84 }
86 85
87 86 .checkbox_label {
88 87 font-size: 85%;
89 88 float: right;
90 89 padding: 0.3em;
91 90 }
92 91
93 92 .section_row_header {
94 93 float: left;
95 94 font-size: 85%;
96 95 padding: 0.4em 0em;
97 96 font-weight: bold;
98 97 }
99 98
100 99 span.button_label {
101 100 padding: 0.2em 1em;
102 101 font-size: 77%;
103 102 float: right;
104 103 }
105 104
106 105 /* This is needed because FF was adding a 2px margin top and bottom. */
107 106 .section_row .ui-button {
108 107 margin-top: 0px;
109 108 margin-bottom: 0px;
110 109 }
111 110
112 111 #download_format {
113 112 float: right;
114 113 font-size: 85%;
115 width: 60px;
114 width: 62px;
116 115 margin: 1px 5px;
117 116 }
118 117
119 118 div#left_panel_splitter {
120 119 width: 8px;
121 120 top: 0px;
122 121 left: 202px;
123 122 margin: 0px;
124 123 padding: 0px;
125 124 position: absolute;
126 125 }
127 126
128 127 div#notebook_panel {
129 128 /* The L margin will be set in the Javascript code*/
130 129 margin: 0px 0px 0px 0px;
131 130 padding: 0px;
132 131 }
133 132
134 133 div#notebook {
135 134 overflow-y: scroll;
136 135 overflow-x: auto;
137 136 width: 100%;
138 137 padding: 0px 15px 0px 15px;
139 138 margin: 0px
140 139 background-color: white;
141 140 }
142 141
143 142 div#pager_splitter {
144 143 height: 8px;
145 144 }
146 145
147 146 div#pager {
148 147 padding: 15px;
149 148 overflow: auto;
150 149 }
151 150
152 151 div.cell {
153 152 width: 100%;
154 153 padding: 5px;
155 154 /* This acts as a spacer between cells, that is outside the border */
156 155 margin: 15px 0px 15px 0px;
157 156 }
158 157
159 158 div.code_cell {
160 159 background-color: white;
161 160 }
162 161
163 162 div.prompt {
164 163 width: 80px;
165 164 padding: 0.4em;
166 165 margin: 0px;
167 166 font-family: monospace;
168 167 }
169 168
170 169 div.input_prompt {
171 170 color: navy;
172 171 }
173 172
174 173 div.output {
175 174 /* This is a spacer between the input and output of each cell */
176 175 margin-top: 15px;
177 176 }
178 177
179 178 div.output_prompt {
180 179 color: darkred;
181 180 }
182 181
183 182 div.input_area {
184 183 color: black;
185 184 }
186 185
187 186 div.output_area {
188 187 text-align: left;
189 188 color: black;
190 189 font-family: monospace;
191 190 }
192 191
193 192 div.output_stream {
194 193 padding: 0.4em;
195 194 }
196 195
197 196 div.output_latex {
198 197 /* Slightly bigger than the rest of the notebook */
199 198 font-size: 116%;
200 199 }
201 200
202 201 div.output_html {
203 202 }
204 203
205 204 div.output_png {
206 205 }
207 206
208 207 div.text_cell {
209 208 background-color: white;
210 209 }
211 210
212 211 div.text_cell_input {
213 212 color: black;
214 213 }
215 214
216 215 div.text_cell_render {
217 216 font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
218 217 /* Slightly bigger than the rest of the notebook */
219 218 font-size: 116%;
220 219 outline: none;
221 220 resize: none;
222 221 width: inherit;
223 222 border-style: none;
224 223 padding: 5px;
225 224 color: black;
226 225 }
227 226
228 227 .CodeMirror {
229 228 line-height: 1.231; /* Changed from 1em to our global default */
230 229 }
231 230
232 231 .CodeMirror-scroll {
233 232 height: auto; /* Changed to auto to autogrow */
234 233 overflow-y: visible; /* Changed from auto to remove scrollbar */
235 234 overflow-x: auto; /* Changed from auto to remove scrollbar */
236 235 }
237 236
238 237 /* CSS font colors for translated ANSI colors. */
239 238
240 239
241 240 .ansiblack {color: black;}
242 241 .ansired {color: darkred;}
243 242 .ansigreen {color: darkgreen;}
244 243 .ansiyellow {color: brown;}
245 244 .ansiblue {color: darkblue;}
246 245 .ansipurple {color: darkviolet;}
247 246 .ansicyan {color: steelblue;}
248 247 .ansigrey {color: grey;}
249 248 .ansibold {font-weight: bold;}
250 249
251 250 .completions {
252 251 position: absolute;
253 252 z-index: 10;
254 253 overflow: auto;
255 254 border: 1px solid black;
256 255 }
257 256
258 257 .completions select {
259 258 background: white;
260 259 outline: none;
261 260 border: none;
262 261 padding: 0px;
263 262 margin: 0px;
264 263 font-family: monospace;
265 264 }
266 265
@@ -1,209 +1,209 b''
1 1 <!DOCTYPE HTML>
2 2 <html>
3 3
4 4 <head>
5 5 <meta charset="utf-8">
6 6
7 7 <title>IPython Notebook</title>
8 8
9 9 <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" />
10 10 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
11 11 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
12 12
13 13 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
14 14 <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> -->
15 15 <script type="text/javascript">
16 16 if (typeof MathJax == 'undefined') {
17 17 console.log("Trying to load local copy of MathJax");
18 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 20 </script>
21 21
22 22 <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css">
23 23 <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css">
24 24 <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css">
25 25 <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css">
26 26
27 27 <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" />
28 28 <link rel="stylesheet" href="static/css/layout.css" type="text/css" />
29 29 <link rel="stylesheet" href="static/css/base.css" type="text/css" />
30 30 <link rel="stylesheet" href="static/css/notebook.css" type="text/css" />
31 31 <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" />
32 32
33 33
34 34 </head>
35 35
36 36 <body>
37 37
38 38 <div id="header">
39 39 <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
40 40 <span id="save_widget">
41 41 <input type="text" id="notebook_name" size="20"></textarea>
42 42 <span id="notebook_id" style="display:none">{{notebook_id}}</span>
43 43 <button id="save_notebook">Save</button>
44 44 </span>
45 45 <span id="kernel_status">Idle</span>
46 46 </div>
47 47
48 48 <div id="main_app">
49 49
50 50 <div id="left_panel">
51 51
52 52 <div id="notebook_section">
53 53 <h3 class="section_header">Notebook</h3>
54 54 <div class="section_content">
55 55 <div class="section_row">
56 56 <span id="new_open" class="section_row_buttons">
57 57 <button id="new_notebook">New</button>
58 58 <button id="open_notebook">Open</button>
59 59 </span>
60 60 <span class="section_row_header">Actions</span>
61 61 </div>
62 62 <div class="section_row">
63 <span class="section_row_buttons">
64 <button id="download_notebook">Export</button>
65 </span>
66 63 <span>
67 64 <select id="download_format">
68 65 <option value="xml">xml</option>
69 66 <option value="json">json</option>
70 67 <option value="py">py</option>
71 68 </select>
72 69 </span>
70 <span class="section_row_buttons">
71 <button id="download_notebook">Export As</button>
72 </span>
73 73 </div>
74 74 </div>
75 75 </div>
76 76
77 77 <div id="cell_section">
78 78 <h3 class="section_header">Cell</h3>
79 79 <div class="section_content">
80 80 <div class="section_row">
81 81 <span class="section_row_buttons">
82 82 <button id="delete_cell">Delete</button>
83 83 </span>
84 84 <span class="section_row_header">Actions</span>
85 85 </div>
86 86 <div class="section_row">
87 87 <span id="cell_type" class="section_row_buttons">
88 88 <button id="to_code">Code</button>
89 89 <button id="to_html">HTML</button>
90 90 <button id="to_markdown">Markdown</button>
91 91 </span>
92 92 <!-- <span class="button_label">Format</span> -->
93 93 </div>
94 94 <div class="section_row">
95 95 <span id="insert" class="section_row_buttons">
96 96 <button id="insert_cell_above">Above</button>
97 97 <button id="insert_cell_below">Below</button>
98 98 </span>
99 99 <span class="button_label">Insert</span>
100 100 </div>
101 101 <div class="section_row">
102 102 <span id="move" class="section_row_buttons">
103 103 <button id="move_cell_up">Up</button>
104 104 <button id="move_cell_down">Down</button>
105 105 </span>
106 106 <span class="button_label">Move</span>
107 107 </div>
108 108 <div class="section_row">
109 109 <span id="toggle_output" class="section_row_buttons">
110 110 <button id="collapse_cell">Collapse</button>
111 111 <button id="expand_cell">Expand</button>
112 112 </span>
113 113 <span class="button_label">Output</span>
114 114 </div>
115 115 <div class="section_row">
116 116 <span id="run_cells" class="section_row_buttons">
117 117 <button id="run_selected_cell">Selected</button>
118 118 <button id="run_all_cells">All</button>
119 119 </span>
120 120 <span class="button_label">Run</span>
121 121 </div>
122 122 </div>
123 123 </div>
124 124
125 125 <div id="kernel_section">
126 126 <h3 class="section_header">Kernel</h3>
127 127 <div class="section_content">
128 128 <div class="section_row">
129 129 <span id="int_restart" class="section_row_buttons">
130 130 <button id="int_kernel">Interrupt</button>
131 131 <button id="restart_kernel">Restart</button>
132 132 </span>
133 133 <span class="section_row_header">Actions</span>
134 134 </div>
135 135 <div class="section_row">
136 136 <span id="kernel_persist">
137 137 <input type="checkbox" id="kill_kernel"></input>
138 138 </span>
139 139 <span class="checkbox_label">Kill kernel upon exit:</span>
140 140 </div>
141 141 </div>
142 142 </div>
143 143
144 144 <div id="help_section">
145 145 <h3 class="section_header">Help</h3>
146 146 <div class="section_content">
147 147 <div class="section_row">
148 148 <span id="help_buttons0" class="section_row_buttons">
149 149 <button id="python_help"><a href="http://docs.python.org" target="_blank">Python</a></button>
150 150 <button id="ipython_help"><a href="http://ipython.org/documentation.html" target="_blank">IPython</a></button>
151 151 <button id="numpy_help"><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
152 152 </span>
153 153 <span class="section_row_header">Links</span>
154 154 </div>
155 155 <div class="section_row">
156 156 <span id="help_buttons1" class="section_row_buttons">
157 157 <button id="matplotlib_help"><a href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a></button>
158 158 <button id="scipy_help"><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
159 159 <button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
160 160 </span>
161 161 </div>
162 162 </div>
163 163 </div>
164 164
165 165 </div>
166 166 <div id="left_panel_splitter"></div>
167 167 <div id="notebook_panel">
168 168 <div id="notebook"></div>
169 169 <div id="pager_splitter"></div>
170 170 <div id="pager"></div>
171 171 </div>
172 172
173 173 </div>
174 174
175 175 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
176 176 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
177 177 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
178 178
179 179 <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script>
180 180 <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script>
181 181 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script>
182 182 <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script>
183 183 <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script>
184 184 <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script>
185 185 <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script>
186 186
187 187 <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
188 188
189 189 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
190 190 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
191 191 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
192 192 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
193 193 <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script>
194 194 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
195 195 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
196 196 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
197 197 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
198 198 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
199 199 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
200 200 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
201 201 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
202 202 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
203 203
204 204
205 205 </body>
206 206
207 207 </html>
208 208
209 209
General Comments 0
You need to be logged in to leave comments. Login now