##// END OF EJS Templates
Adding minor help strings for keyboard shortcuts.
Brian E. Granger -
Show More
@@ -1,269 +1,280 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 70 span.section_row_buttons > button {
71 71 width: 70px;
72 72 }
73 73
74 74 .section_row {
75 75 margin: 5px 0px;
76 76 }
77 77
78 78 .section_row_buttons {
79 79 float: right;
80 80 }
81 81
82 82 #kernel_persist {
83 83 float: right;
84 84 }
85 85
86 .help_string {
87 float: right;
88 width: 170px;
89 padding: 0px 5px;
90 text-align: center;
91 }
92
93 .help_string_label {
94 float: right;
95 }
96
86 97 #autoindent_span {
87 98 float: right;
88 99 }
89 100
90 101 .checkbox_label {
91 102 font-size: 85%;
92 103 float: right;
93 104 padding: 0.3em;
94 105 }
95 106
96 107 .section_row_header {
97 108 float: left;
98 109 font-size: 85%;
99 110 padding: 0.4em 0em;
100 111 font-weight: bold;
101 112 }
102 113
103 114 span.button_label {
104 115 padding: 0.2em 1em;
105 116 font-size: 77%;
106 117 float: right;
107 118 }
108 119
109 120 /* This is needed because FF was adding a 2px margin top and bottom. */
110 121 .section_row .ui-button {
111 122 margin-top: 0px;
112 123 margin-bottom: 0px;
113 124 }
114 125
115 126 #download_format {
116 127 float: right;
117 128 font-size: 85%;
118 129 width: 62px;
119 130 margin: 1px 5px;
120 131 }
121 132
122 133 div#left_panel_splitter {
123 134 width: 8px;
124 135 top: 0px;
125 136 left: 202px;
126 137 margin: 0px;
127 138 padding: 0px;
128 139 position: absolute;
129 140 }
130 141
131 142 div#notebook_panel {
132 143 /* The L margin will be set in the Javascript code*/
133 144 margin: 0px 0px 0px 0px;
134 145 padding: 0px;
135 146 }
136 147
137 148 div#notebook {
138 149 overflow-y: scroll;
139 150 overflow-x: auto;
140 151 width: 100%;
141 152 padding: 0px 15px 0px 15px;
142 153 margin: 0px
143 154 background-color: white;
144 155 }
145 156
146 157 div#pager_splitter {
147 158 height: 8px;
148 159 }
149 160
150 161 div#pager {
151 162 padding: 15px;
152 163 overflow: auto;
153 164 }
154 165
155 166 div.cell {
156 167 width: 100%;
157 168 padding: 5px;
158 169 /* This acts as a spacer between cells, that is outside the border */
159 170 margin: 15px 0px 15px 0px;
160 171 }
161 172
162 173 div.code_cell {
163 174 background-color: white;
164 175 }
165 176
166 177 div.prompt {
167 178 width: 80px;
168 179 padding: 0.4em;
169 180 margin: 0px;
170 181 font-family: monospace;
171 182 }
172 183
173 184 div.input_prompt {
174 185 color: navy;
175 186 }
176 187
177 188 div.output {
178 189 /* This is a spacer between the input and output of each cell */
179 190 margin-top: 15px;
180 191 }
181 192
182 193 div.output_prompt {
183 194 color: darkred;
184 195 }
185 196
186 197 div.input_area {
187 198 color: black;
188 199 }
189 200
190 201 div.output_area {
191 202 text-align: left;
192 203 color: black;
193 204 font-family: monospace;
194 205 }
195 206
196 207 div.output_stream {
197 208 padding: 0.4em;
198 209 }
199 210
200 211 div.output_latex {
201 212 /* Slightly bigger than the rest of the notebook */
202 213 font-size: 100%;
203 214 }
204 215
205 216 div.output_html {
206 217 }
207 218
208 219 div.output_png {
209 220 }
210 221
211 222 div.text_cell {
212 223 background-color: white;
213 224 }
214 225
215 226 div.text_cell_input {
216 227 color: black;
217 228 }
218 229
219 230 div.text_cell_render {
220 231 font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
221 232 /* Slightly bigger than the rest of the notebook */
222 233 font-size: 100%;
223 234 outline: none;
224 235 resize: none;
225 236 width: inherit;
226 237 border-style: none;
227 238 padding: 5px;
228 239 color: black;
229 240 }
230 241
231 242 .CodeMirror {
232 243 line-height: 1.231; /* Changed from 1em to our global default */
233 244 }
234 245
235 246 .CodeMirror-scroll {
236 247 height: auto; /* Changed to auto to autogrow */
237 248 overflow-y: visible; /* Changed from auto to remove scrollbar */
238 249 overflow-x: auto; /* Changed from auto to remove scrollbar */
239 250 }
240 251
241 252 /* CSS font colors for translated ANSI colors. */
242 253
243 254
244 255 .ansiblack {color: black;}
245 256 .ansired {color: darkred;}
246 257 .ansigreen {color: darkgreen;}
247 258 .ansiyellow {color: brown;}
248 259 .ansiblue {color: darkblue;}
249 260 .ansipurple {color: darkviolet;}
250 261 .ansicyan {color: steelblue;}
251 262 .ansigrey {color: grey;}
252 263 .ansibold {font-weight: bold;}
253 264
254 265 .completions {
255 266 position: absolute;
256 267 z-index: 10;
257 268 overflow: auto;
258 269 border: 1px solid black;
259 270 }
260 271
261 272 .completions select {
262 273 background: white;
263 274 outline: none;
264 275 border: none;
265 276 padding: 0px;
266 277 margin: 0px;
267 278 font-family: monospace;
268 279 }
269 280
@@ -1,215 +1,223 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 63 <span>
64 64 <select id="download_format">
65 65 <option value="xml">xml</option>
66 66 <option value="json">json</option>
67 67 <option value="py">py</option>
68 68 </select>
69 69 </span>
70 70 <span class="section_row_buttons">
71 71 <button id="download_notebook">Export As</button>
72 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 class="section_row">
123 123 <span id="autoindent_span">
124 124 <input type="checkbox" id="autoindent"></input>
125 125 </span>
126 126 <span class="checkbox_label">Autoindent:</span>
127 127 </div>
128 128 </div>
129 129 </div>
130 130
131 131 <div id="kernel_section">
132 132 <h3 class="section_header">Kernel</h3>
133 133 <div class="section_content">
134 134 <div class="section_row">
135 135 <span id="int_restart" class="section_row_buttons">
136 136 <button id="int_kernel">Interrupt</button>
137 137 <button id="restart_kernel">Restart</button>
138 138 </span>
139 139 <span class="section_row_header">Actions</span>
140 140 </div>
141 141 <div class="section_row">
142 142 <span id="kernel_persist">
143 143 <input type="checkbox" id="kill_kernel"></input>
144 144 </span>
145 145 <span class="checkbox_label">Kill kernel upon exit:</span>
146 146 </div>
147 147 </div>
148 148 </div>
149 149
150 150 <div id="help_section">
151 151 <h3 class="section_header">Help</h3>
152 152 <div class="section_content">
153 153 <div class="section_row">
154 154 <span id="help_buttons0" class="section_row_buttons">
155 155 <button id="python_help"><a href="http://docs.python.org" target="_blank">Python</a></button>
156 156 <button id="ipython_help"><a href="http://ipython.org/documentation.html" target="_blank">IPython</a></button>
157 157 <button id="numpy_help"><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></button>
158 158 </span>
159 159 <span class="section_row_header">Links</span>
160 160 </div>
161 161 <div class="section_row">
162 162 <span id="help_buttons1" class="section_row_buttons">
163 163 <button id="matplotlib_help"><a href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a></button>
164 164 <button id="scipy_help"><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></button>
165 165 <button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
166 166 </span>
167 167 </div>
168 <div class="section_row">
169 <span class="help_string">run selected cell</span>
170 <span class="help_string_label">Shift-Enter |</span>
171 </div>
172 <div class="section_row">
173 <span class="help_string">run in terminal mode</span>
174 <span class="help_string_label">Ctrl-Enter |</span>
175 </div>
168 176 </div>
169 177 </div>
170 178
171 179 </div>
172 180 <div id="left_panel_splitter"></div>
173 181 <div id="notebook_panel">
174 182 <div id="notebook"></div>
175 183 <div id="pager_splitter"></div>
176 184 <div id="pager"></div>
177 185 </div>
178 186
179 187 </div>
180 188
181 189 <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
182 190 <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script>
183 191 <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script>
184 192
185 193 <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script>
186 194 <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script>
187 195 <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script>
188 196 <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script>
189 197 <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script>
190 198 <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script>
191 199 <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script>
192 200
193 201 <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
194 202
195 203 <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script>
196 204 <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script>
197 205 <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script>
198 206 <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script>
199 207 <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script>
200 208 <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script>
201 209 <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script>
202 210 <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script>
203 211 <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script>
204 212 <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script>
205 213 <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script>
206 214 <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script>
207 215 <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
208 216 <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script>
209 217
210 218
211 219 </body>
212 220
213 221 </html>
214 222
215 223
General Comments 0
You need to be logged in to leave comments. Login now