Show More
@@ -1,38 +1,42 b'' | |||||
1 | //---------------------------------------------------------------------------- |
|
1 | //---------------------------------------------------------------------------- | |
2 | // Copyright (C) 2008-2011 The IPython Development Team |
|
2 | // Copyright (C) 2008-2011 The IPython Development Team | |
3 | // |
|
3 | // | |
4 | // Distributed under the terms of the BSD License. The full license is in |
|
4 | // Distributed under the terms of the BSD License. The full license is in | |
5 | // the file COPYING, distributed as part of this software. |
|
5 | // the file COPYING, distributed as part of this software. | |
6 | //---------------------------------------------------------------------------- |
|
6 | //---------------------------------------------------------------------------- | |
7 |
|
7 | |||
8 | //============================================================================ |
|
8 | //============================================================================ | |
9 | // Login button |
|
9 | // Login button | |
10 | //============================================================================ |
|
10 | //============================================================================ | |
11 |
|
11 | |||
12 | var IPython = (function (IPython) { |
|
12 | var IPython = (function (IPython) { | |
13 |
|
13 | |||
14 | var LoginWidget = function (selector) { |
|
14 | var LoginWidget = function (selector) { | |
15 | this.selector = selector; |
|
15 | this.selector = selector; | |
16 | if (this.selector !== undefined) { |
|
16 | if (this.selector !== undefined) { | |
17 | this.element = $(selector); |
|
17 | this.element = $(selector); | |
18 | this.style(); |
|
18 | this.style(); | |
19 | this.bind_events(); |
|
19 | this.bind_events(); | |
20 | } |
|
20 | } | |
21 | }; |
|
21 | }; | |
22 |
|
22 | |||
23 | LoginWidget.prototype.style = function () { |
|
23 | LoginWidget.prototype.style = function () { | |
24 | this.element.find('button#logout').button(); |
|
24 | this.element.find('button#logout').button(); | |
|
25 | this.element.find('button#login').button(); | |||
25 | }; |
|
26 | }; | |
26 | LoginWidget.prototype.bind_events = function () { |
|
27 | LoginWidget.prototype.bind_events = function () { | |
27 | var that = this; |
|
28 | var that = this; | |
28 | this.element.find("button#logout").click(function () { |
|
29 | this.element.find("button#logout").click(function () { | |
29 | window.location = "/logout"; |
|
30 | window.location = "/logout"; | |
30 | }); |
|
31 | }); | |
|
32 | this.element.find("button#login").click(function () { | |||
|
33 | window.location = "/login"; | |||
|
34 | }); | |||
31 | }; |
|
35 | }; | |
32 |
|
36 | |||
33 | // Set module variables |
|
37 | // Set module variables | |
34 | IPython.LoginWidget = LoginWidget; |
|
38 | IPython.LoginWidget = LoginWidget; | |
35 |
|
39 | |||
36 | return IPython; |
|
40 | return IPython; | |
37 |
|
41 | |||
38 | }(IPython)); |
|
42 | }(IPython)); |
@@ -1,77 +1,79 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>{% block title %}IPython Notebook{% end %}</title> |
|
7 | <title>{% block title %}IPython Notebook{% end %}</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/css/boilerplate.css" type="text/css" /> |
|
10 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> | |
11 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> |
|
11 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> | |
12 | <link rel="stylesheet" href="static/css/base.css" type="text/css"/> |
|
12 | <link rel="stylesheet" href="static/css/base.css" type="text/css"/> | |
13 | {% block stylesheet %} |
|
13 | {% block stylesheet %} | |
14 | {% end %} |
|
14 | {% end %} | |
15 |
|
15 | |||
16 | {% block meta %} |
|
16 | {% block meta %} | |
17 | {% end %} |
|
17 | {% end %} | |
18 |
|
18 | |||
19 | </head> |
|
19 | </head> | |
20 |
|
20 | |||
21 | <body {% block params %}{% end %}> |
|
21 | <body {% block params %}{% end %}> | |
22 |
|
22 | |||
23 | <div id="header"> |
|
23 | <div id="header"> | |
24 | <span id="ipython_notebook"><h1><img src='static/ipynblogo.png' alt='IPython Notebook'/></h1></span> |
|
24 | <span id="ipython_notebook"><h1><img src='static/ipynblogo.png' alt='IPython Notebook'/></h1></span> | |
25 | <span id="login_widget"> |
|
25 | <span id="login_widget"> | |
26 | {% if current_user and current_user != 'anonymous' %} |
|
26 | {% if current_user and current_user != 'anonymous' %} | |
27 | <button id="logout">Logout</button> |
|
27 | <button id="logout">Logout</button> | |
|
28 | {% else %} | |||
|
29 | <button id="login">Login</button> | |||
28 | {% end %} |
|
30 | {% end %} | |
29 | </span> |
|
31 | </span> | |
30 | {% block header %} |
|
32 | {% block header %} | |
31 | {% end %} |
|
33 | {% end %} | |
32 | </div> |
|
34 | </div> | |
33 |
|
35 | |||
34 | <div id="header_border"></div> |
|
36 | <div id="header_border"></div> | |
35 |
|
37 | |||
36 | <div id="main_app"> |
|
38 | <div id="main_app"> | |
37 |
|
39 | |||
38 | <div id="app_hbox"> |
|
40 | <div id="app_hbox"> | |
39 |
|
41 | |||
40 | <div id="left_panel"> |
|
42 | <div id="left_panel"> | |
41 | {% block left_panel %} |
|
43 | {% block left_panel %} | |
42 | {% end %} |
|
44 | {% end %} | |
43 | </div> |
|
45 | </div> | |
44 |
|
46 | |||
45 | <div id="content_panel"> |
|
47 | <div id="content_panel"> | |
46 | {% if message %} |
|
48 | {% if message %} | |
47 |
|
49 | |||
48 | {% for key in message %} |
|
50 | {% for key in message %} | |
49 | <div class="message {{key}}"> |
|
51 | <div class="message {{key}}"> | |
50 | {{message[key]}} |
|
52 | {{message[key]}} | |
51 | </div> |
|
53 | </div> | |
52 | {% end %} |
|
54 | {% end %} | |
53 | {% end %} |
|
55 | {% end %} | |
54 |
|
56 | |||
55 | {% block content_panel %} |
|
57 | {% block content_panel %} | |
56 | {% end %} |
|
58 | {% end %} | |
57 | </div> |
|
59 | </div> | |
58 | <div id="right_panel"> |
|
60 | <div id="right_panel"> | |
59 | {% block right_panel %} |
|
61 | {% block right_panel %} | |
60 | {% end %} |
|
62 | {% end %} | |
61 | </div> |
|
63 | </div> | |
62 |
|
64 | |||
63 | </div> |
|
65 | </div> | |
64 |
|
66 | |||
65 | </div> |
|
67 | </div> | |
66 |
|
68 | |||
67 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> |
|
69 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> | |
68 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> |
|
70 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> | |
69 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> |
|
71 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> | |
70 | <script src="static/js/loginmain.js" type="text/javascript" charset="utf-8"></script> |
|
72 | <script src="static/js/loginmain.js" type="text/javascript" charset="utf-8"></script> | |
71 | <script src="static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> |
|
73 | <script src="static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> | |
72 | {% block script %} |
|
74 | {% block script %} | |
73 | {% end %} |
|
75 | {% end %} | |
74 |
|
76 | |||
75 | </body> |
|
77 | </body> | |
76 |
|
78 | |||
77 | </html> |
|
79 | </html> |
@@ -1,294 +1,296 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 | {% if mathjax_url %} |
|
9 | {% if mathjax_url %} | |
10 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script> |
|
10 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script> | |
11 | {% end %} |
|
11 | {% end %} | |
12 | <script type="text/javascript"> |
|
12 | <script type="text/javascript"> | |
13 | // MathJax disabled, set as null to distingish from *missing* MathJax, |
|
13 | // MathJax disabled, set as null to distingish from *missing* MathJax, | |
14 | // where it will be undefined, and should prompt a dialog later. |
|
14 | // where it will be undefined, and should prompt a dialog later. | |
15 | window.mathjax_url = "{{mathjax_url}}"; |
|
15 | window.mathjax_url = "{{mathjax_url}}"; | |
16 | </script> |
|
16 | </script> | |
17 |
|
17 | |||
18 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> |
|
18 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> | |
19 | <link rel="stylesheet" href="static/codemirror/lib/codemirror.css"> |
|
19 | <link rel="stylesheet" href="static/codemirror/lib/codemirror.css"> | |
20 | <link rel="stylesheet" href="static/codemirror/mode/markdown/markdown.css"> |
|
20 | <link rel="stylesheet" href="static/codemirror/mode/markdown/markdown.css"> | |
21 | <link rel="stylesheet" href="static/codemirror/mode/rst/rst.css"> |
|
21 | <link rel="stylesheet" href="static/codemirror/mode/rst/rst.css"> | |
22 | <link rel="stylesheet" href="static/codemirror/theme/ipython.css"> |
|
22 | <link rel="stylesheet" href="static/codemirror/theme/ipython.css"> | |
23 | <link rel="stylesheet" href="static/codemirror/theme/default.css"> |
|
23 | <link rel="stylesheet" href="static/codemirror/theme/default.css"> | |
24 |
|
24 | |||
25 | <link rel="stylesheet" href="static/prettify/prettify.css"/> |
|
25 | <link rel="stylesheet" href="static/prettify/prettify.css"/> | |
26 |
|
26 | |||
27 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> |
|
27 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> | |
28 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> |
|
28 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> | |
29 | <link rel="stylesheet" href="static/css/base.css" type="text/css" /> |
|
29 | <link rel="stylesheet" href="static/css/base.css" type="text/css" /> | |
30 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> |
|
30 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> | |
31 | <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" /> |
|
31 | <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" /> | |
32 |
|
32 | |||
33 | <meta name="read_only" content="{{read_only}}"/> |
|
33 | <meta name="read_only" content="{{read_only}}"/> | |
34 |
|
34 | |||
35 | </head> |
|
35 | </head> | |
36 |
|
36 | |||
37 | <body |
|
37 | <body | |
38 | data-project={{project}} data-notebook-id={{notebook_id}} |
|
38 | data-project={{project}} data-notebook-id={{notebook_id}} | |
39 | data-base-project-url={{base_project_url}} data-base-kernel-url={{base_kernel_url}} |
|
39 | data-base-project-url={{base_project_url}} data-base-kernel-url={{base_kernel_url}} | |
40 | > |
|
40 | > | |
41 |
|
41 | |||
42 | <div id="header"> |
|
42 | <div id="header"> | |
43 | <span id="ipython_notebook"><h1><a href='..' alt='dashboard'><img src='static/ipynblogo.png' alt='IPython Notebook'/></a></h1></span> |
|
43 | <span id="ipython_notebook"><h1><a href='..' alt='dashboard'><img src='static/ipynblogo.png' alt='IPython Notebook'/></a></h1></span> | |
44 | <span id="save_widget"> |
|
44 | <span id="save_widget"> | |
45 | <input type="text" id="notebook_name" size="20"></textarea> |
|
45 | <input type="text" id="notebook_name" size="20"></textarea> | |
46 | <button id="save_notebook"><u>S</u>ave</button> |
|
46 | <button id="save_notebook"><u>S</u>ave</button> | |
47 | </span> |
|
47 | </span> | |
48 | <span id="quick_help_area"> |
|
48 | <span id="quick_help_area"> | |
49 | <button id="quick_help">Quick<u>H</u>elp</button> |
|
49 | <button id="quick_help">Quick<u>H</u>elp</button> | |
50 | </span> |
|
50 | </span> | |
51 |
|
51 | |||
52 | <span id="login_widget"> |
|
52 | <span id="login_widget"> | |
53 | {% comment This is a temporary workaround to hide the logout button %} |
|
53 | {% comment This is a temporary workaround to hide the logout button %} | |
54 | {% comment when appropriate until notebook.html is templated %} |
|
54 | {% comment when appropriate until notebook.html is templated %} | |
55 | {% if current_user and current_user != 'anonymous' %} |
|
55 | {% if current_user and current_user != 'anonymous' %} | |
56 | <button id="logout">Logout</button> |
|
56 | <button id="logout">Logout</button> | |
|
57 | {% else %} | |||
|
58 | <button id="login">Login</button> | |||
57 | {% end %} |
|
59 | {% end %} | |
58 | </span> |
|
60 | </span> | |
59 |
|
61 | |||
60 | <span id="kernel_status">Idle</span> |
|
62 | <span id="kernel_status">Idle</span> | |
61 | </div> |
|
63 | </div> | |
62 |
|
64 | |||
63 | <div id="main_app"> |
|
65 | <div id="main_app"> | |
64 |
|
66 | |||
65 | <div id="left_panel"> |
|
67 | <div id="left_panel"> | |
66 |
|
68 | |||
67 | <div id="notebook_section"> |
|
69 | <div id="notebook_section"> | |
68 | <div class="section_header"> |
|
70 | <div class="section_header"> | |
69 | <h3>Notebook</h3> |
|
71 | <h3>Notebook</h3> | |
70 | </div> |
|
72 | </div> | |
71 | <div class="section_content"> |
|
73 | <div class="section_content"> | |
72 | <div class="section_row"> |
|
74 | <div class="section_row"> | |
73 | <span id="new_open" class="section_row_buttons"> |
|
75 | <span id="new_open" class="section_row_buttons"> | |
74 | <button id="new_notebook">New</button> |
|
76 | <button id="new_notebook">New</button> | |
75 | <button id="open_notebook">Open</button> |
|
77 | <button id="open_notebook">Open</button> | |
76 | </span> |
|
78 | </span> | |
77 | <span class="section_row_header">Actions</span> |
|
79 | <span class="section_row_header">Actions</span> | |
78 | </div> |
|
80 | </div> | |
79 | <div class="section_row"> |
|
81 | <div class="section_row"> | |
80 | <span> |
|
82 | <span> | |
81 | <select id="download_format"> |
|
83 | <select id="download_format"> | |
82 | <option value="json">ipynb</option> |
|
84 | <option value="json">ipynb</option> | |
83 | <option value="py">py</option> |
|
85 | <option value="py">py</option> | |
84 | </select> |
|
86 | </select> | |
85 | </span> |
|
87 | </span> | |
86 | <span class="section_row_buttons"> |
|
88 | <span class="section_row_buttons"> | |
87 | <button id="download_notebook">Download</button> |
|
89 | <button id="download_notebook">Download</button> | |
88 | </span> |
|
90 | </span> | |
89 | </div> |
|
91 | </div> | |
90 | <div class="section_row"> |
|
92 | <div class="section_row"> | |
91 | <span class="section_row_buttons"> |
|
93 | <span class="section_row_buttons"> | |
92 | <span id="print_widget"> |
|
94 | <span id="print_widget"> | |
93 | <button id="print_notebook">Print</button> |
|
95 | <button id="print_notebook">Print</button> | |
94 | </span> |
|
96 | </span> | |
95 | </span> |
|
97 | </span> | |
96 | </div> |
|
98 | </div> | |
97 | </div> |
|
99 | </div> | |
98 | </div> |
|
100 | </div> | |
99 |
|
101 | |||
100 | <div id="cell_section"> |
|
102 | <div id="cell_section"> | |
101 | <div class="section_header"> |
|
103 | <div class="section_header"> | |
102 | <h3>Cell</h3> |
|
104 | <h3>Cell</h3> | |
103 | </div> |
|
105 | </div> | |
104 | <div class="section_content"> |
|
106 | <div class="section_content"> | |
105 | <div class="section_row"> |
|
107 | <div class="section_row"> | |
106 | <span class="section_row_buttons"> |
|
108 | <span class="section_row_buttons"> | |
107 | <button id="delete_cell"><u>D</u>elete</button> |
|
109 | <button id="delete_cell"><u>D</u>elete</button> | |
108 | </span> |
|
110 | </span> | |
109 | <span class="section_row_header">Actions</span> |
|
111 | <span class="section_row_header">Actions</span> | |
110 | </div> |
|
112 | </div> | |
111 | <div class="section_row"> |
|
113 | <div class="section_row"> | |
112 | <span id="cell_type" class="section_row_buttons"> |
|
114 | <span id="cell_type" class="section_row_buttons"> | |
113 | <button id="to_code"><u>C</u>ode</button> |
|
115 | <button id="to_code"><u>C</u>ode</button> | |
114 | <!-- <button id="to_html">HTML</button>--> |
|
116 | <!-- <button id="to_html">HTML</button>--> | |
115 | <button id="to_markdown"><u>M</u>arkdown</button> |
|
117 | <button id="to_markdown"><u>M</u>arkdown</button> | |
116 | </span> |
|
118 | </span> | |
117 | <span class="button_label">Format</span> |
|
119 | <span class="button_label">Format</span> | |
118 | </div> |
|
120 | </div> | |
119 | <div class="section_row"> |
|
121 | <div class="section_row"> | |
120 | <span id="cell_output" class="section_row_buttons"> |
|
122 | <span id="cell_output" class="section_row_buttons"> | |
121 | <button id="toggle_output"><u>T</u>oggle</button> |
|
123 | <button id="toggle_output"><u>T</u>oggle</button> | |
122 | <button id="clear_all_output">ClearAll</button> |
|
124 | <button id="clear_all_output">ClearAll</button> | |
123 | </span> |
|
125 | </span> | |
124 | <span class="button_label">Output</span> |
|
126 | <span class="button_label">Output</span> | |
125 | </div> |
|
127 | </div> | |
126 | <div class="section_row"> |
|
128 | <div class="section_row"> | |
127 | <span id="insert" class="section_row_buttons"> |
|
129 | <span id="insert" class="section_row_buttons"> | |
128 | <button id="insert_cell_above"><u>A</u>bove</button> |
|
130 | <button id="insert_cell_above"><u>A</u>bove</button> | |
129 | <button id="insert_cell_below"><u>B</u>elow</button> |
|
131 | <button id="insert_cell_below"><u>B</u>elow</button> | |
130 | </span> |
|
132 | </span> | |
131 | <span class="button_label">Insert</span> |
|
133 | <span class="button_label">Insert</span> | |
132 | </div> |
|
134 | </div> | |
133 | <div class="section_row"> |
|
135 | <div class="section_row"> | |
134 | <span id="move" class="section_row_buttons"> |
|
136 | <span id="move" class="section_row_buttons"> | |
135 | <button id="move_cell_up">Up</button> |
|
137 | <button id="move_cell_up">Up</button> | |
136 | <button id="move_cell_down">Down</button> |
|
138 | <button id="move_cell_down">Down</button> | |
137 | </span> |
|
139 | </span> | |
138 | <span class="button_label">Move</span> |
|
140 | <span class="button_label">Move</span> | |
139 | </div> |
|
141 | </div> | |
140 | <div class="section_row"> |
|
142 | <div class="section_row"> | |
141 | <span id="run_cells" class="section_row_buttons"> |
|
143 | <span id="run_cells" class="section_row_buttons"> | |
142 | <button id="run_selected_cell">Selected</button> |
|
144 | <button id="run_selected_cell">Selected</button> | |
143 | <button id="run_all_cells">All</button> |
|
145 | <button id="run_all_cells">All</button> | |
144 | </span> |
|
146 | </span> | |
145 | <span class="button_label">Run</span> |
|
147 | <span class="button_label">Run</span> | |
146 | </div> |
|
148 | </div> | |
147 | <div class="section_row"> |
|
149 | <div class="section_row"> | |
148 | <span id="autoindent_span"> |
|
150 | <span id="autoindent_span"> | |
149 | <input type="checkbox" id="autoindent" checked="true"></input> |
|
151 | <input type="checkbox" id="autoindent" checked="true"></input> | |
150 | </span> |
|
152 | </span> | |
151 | <span class="checkbox_label" id="autoindent_label">Autoindent:</span> |
|
153 | <span class="checkbox_label" id="autoindent_label">Autoindent:</span> | |
152 | </div> |
|
154 | </div> | |
153 | </div> |
|
155 | </div> | |
154 | </div> |
|
156 | </div> | |
155 |
|
157 | |||
156 | <div id="kernel_section"> |
|
158 | <div id="kernel_section"> | |
157 | <div class="section_header"> |
|
159 | <div class="section_header"> | |
158 | <h3>Kernel</h3> |
|
160 | <h3>Kernel</h3> | |
159 | </div> |
|
161 | </div> | |
160 | <div class="section_content"> |
|
162 | <div class="section_content"> | |
161 | <div class="section_row"> |
|
163 | <div class="section_row"> | |
162 | <span id="int_restart" class="section_row_buttons"> |
|
164 | <span id="int_restart" class="section_row_buttons"> | |
163 | <button id="int_kernel"><u>I</u>nterrupt</button> |
|
165 | <button id="int_kernel"><u>I</u>nterrupt</button> | |
164 | <button id="restart_kernel">Restart</button> |
|
166 | <button id="restart_kernel">Restart</button> | |
165 | </span> |
|
167 | </span> | |
166 | <span class="section_row_header">Actions</span> |
|
168 | <span class="section_row_header">Actions</span> | |
167 | </div> |
|
169 | </div> | |
168 | <div class="section_row"> |
|
170 | <div class="section_row"> | |
169 | <span id="kernel_persist"> |
|
171 | <span id="kernel_persist"> | |
170 | {% if kill_kernel %} |
|
172 | {% if kill_kernel %} | |
171 | <input type="checkbox" id="kill_kernel" checked="true"></input> |
|
173 | <input type="checkbox" id="kill_kernel" checked="true"></input> | |
172 | {% else %} |
|
174 | {% else %} | |
173 | <input type="checkbox" id="kill_kernel"></input> |
|
175 | <input type="checkbox" id="kill_kernel"></input> | |
174 | {% end %} |
|
176 | {% end %} | |
175 | </span> |
|
177 | </span> | |
176 | <span class="checkbox_label" id="kill_kernel_label">Kill kernel upon exit:</span> |
|
178 | <span class="checkbox_label" id="kill_kernel_label">Kill kernel upon exit:</span> | |
177 | </div> |
|
179 | </div> | |
178 | </div> |
|
180 | </div> | |
179 | </div> |
|
181 | </div> | |
180 |
|
182 | |||
181 | <div id="help_section"> |
|
183 | <div id="help_section"> | |
182 | <div class="section_header"> |
|
184 | <div class="section_header"> | |
183 | <h3>Help</h3> |
|
185 | <h3>Help</h3> | |
184 | </div> |
|
186 | </div> | |
185 | <div class="section_content"> |
|
187 | <div class="section_content"> | |
186 | <div class="section_row"> |
|
188 | <div class="section_row"> | |
187 | <span id="help_buttons0" class="section_row_buttons"> |
|
189 | <span id="help_buttons0" class="section_row_buttons"> | |
188 | <a id="python_help" href="http://docs.python.org" target="_blank">Python</a> |
|
190 | <a id="python_help" href="http://docs.python.org" target="_blank">Python</a> | |
189 | <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a> |
|
191 | <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a> | |
190 | </span> |
|
192 | </span> | |
191 | <span class="section_row_header">Links</span> |
|
193 | <span class="section_row_header">Links</span> | |
192 | </div> |
|
194 | </div> | |
193 | <div class="section_row"> |
|
195 | <div class="section_row"> | |
194 | <span id="help_buttons1" class="section_row_buttons"> |
|
196 | <span id="help_buttons1" class="section_row_buttons"> | |
195 | <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a> |
|
197 | <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a> | |
196 | <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a> |
|
198 | <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a> | |
197 | </span> |
|
199 | </span> | |
198 | </div> |
|
200 | </div> | |
199 | <div class="section_row"> |
|
201 | <div class="section_row"> | |
200 | <span id="help_buttons2" class="section_row_buttons"> |
|
202 | <span id="help_buttons2" class="section_row_buttons"> | |
201 | <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a> |
|
203 | <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a> | |
202 | <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a> |
|
204 | <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a> | |
203 | </span> |
|
205 | </span> | |
204 | </div> |
|
206 | </div> | |
205 | <div class="section_row"> |
|
207 | <div class="section_row"> | |
206 | <span class="help_string">run selected cell</span> |
|
208 | <span class="help_string">run selected cell</span> | |
207 | <span class="help_string_label">Shift-Enter :</span> |
|
209 | <span class="help_string_label">Shift-Enter :</span> | |
208 | </div> |
|
210 | </div> | |
209 | <div class="section_row"> |
|
211 | <div class="section_row"> | |
210 | <span class="help_string">run selected cell in-place</span> |
|
212 | <span class="help_string">run selected cell in-place</span> | |
211 | <span class="help_string_label">Ctrl-Enter :</span> |
|
213 | <span class="help_string_label">Ctrl-Enter :</span> | |
212 | </div> |
|
214 | </div> | |
213 | <div class="section_row"> |
|
215 | <div class="section_row"> | |
214 | <span class="help_string">show keyboard shortcuts</span> |
|
216 | <span class="help_string">show keyboard shortcuts</span> | |
215 | <span class="help_string_label">Ctrl-m h :</span> |
|
217 | <span class="help_string_label">Ctrl-m h :</span> | |
216 | </div> |
|
218 | </div> | |
217 | </div> |
|
219 | </div> | |
218 | </div> |
|
220 | </div> | |
219 |
|
221 | |||
220 | <div id="config_section"> |
|
222 | <div id="config_section"> | |
221 | <div class="section_header"> |
|
223 | <div class="section_header"> | |
222 | <h3>Configuration</h3> |
|
224 | <h3>Configuration</h3> | |
223 | </div> |
|
225 | </div> | |
224 | <div class="section_content"> |
|
226 | <div class="section_content"> | |
225 | <div class="section_row"> |
|
227 | <div class="section_row"> | |
226 | <span id="tooltipontab_span"> |
|
228 | <span id="tooltipontab_span"> | |
227 | <input type="checkbox" id="tooltipontab" checked="true"></input> |
|
229 | <input type="checkbox" id="tooltipontab" checked="true"></input> | |
228 | </span> |
|
230 | </span> | |
229 | <span class="checkbox_label" id="tooltipontab_label">Tooltip on tab:</span> |
|
231 | <span class="checkbox_label" id="tooltipontab_label">Tooltip on tab:</span> | |
230 | </div> |
|
232 | </div> | |
231 | <div class="section_row"> |
|
233 | <div class="section_row"> | |
232 | <span id="smartcompleter_span"> |
|
234 | <span id="smartcompleter_span"> | |
233 | <input type="checkbox" id="smartcompleter" checked="true"></input> |
|
235 | <input type="checkbox" id="smartcompleter" checked="true"></input> | |
234 | </span> |
|
236 | </span> | |
235 | <span class="checkbox_label" id="smartcompleter_label">Smart completer:</span> |
|
237 | <span class="checkbox_label" id="smartcompleter_label">Smart completer:</span> | |
236 | </div> |
|
238 | </div> | |
237 | <div class="section_row"> |
|
239 | <div class="section_row"> | |
238 | <span id="timebeforetooltip_span"> |
|
240 | <span id="timebeforetooltip_span"> | |
239 | <input type="text" id="timebeforetooltip" value="1200" size='6'></input> |
|
241 | <input type="text" id="timebeforetooltip" value="1200" size='6'></input> | |
240 | <span class="numeric_input_label" id="timebeforetooltip_unit">milliseconds</span> |
|
242 | <span class="numeric_input_label" id="timebeforetooltip_unit">milliseconds</span> | |
241 | </span> |
|
243 | </span> | |
242 | <span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span> |
|
244 | <span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span> | |
243 | </div> |
|
245 | </div> | |
244 | </div> |
|
246 | </div> | |
245 | </div> |
|
247 | </div> | |
246 |
|
248 | |||
247 | </div> |
|
249 | </div> | |
248 | <div id="left_panel_splitter"></div> |
|
250 | <div id="left_panel_splitter"></div> | |
249 | <div id="notebook_panel"> |
|
251 | <div id="notebook_panel"> | |
250 | <div id="notebook"></div> |
|
252 | <div id="notebook"></div> | |
251 | <div id="pager_splitter"></div> |
|
253 | <div id="pager_splitter"></div> | |
252 | <div id="pager"></div> |
|
254 | <div id="pager"></div> | |
253 | </div> |
|
255 | </div> | |
254 |
|
256 | |||
255 | </div> |
|
257 | </div> | |
256 |
|
258 | |||
257 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> |
|
259 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> | |
258 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> |
|
260 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> | |
259 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> |
|
261 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> | |
260 |
|
262 | |||
261 | <script src="static/codemirror/lib/codemirror.js" charset="utf-8"></script> |
|
263 | <script src="static/codemirror/lib/codemirror.js" charset="utf-8"></script> | |
262 | <script src="static/codemirror/mode/python/python.js" charset="utf-8"></script> |
|
264 | <script src="static/codemirror/mode/python/python.js" charset="utf-8"></script> | |
263 | <script src="static/codemirror/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script> |
|
265 | <script src="static/codemirror/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script> | |
264 | <script src="static/codemirror/mode/xml/xml.js" charset="utf-8"></script> |
|
266 | <script src="static/codemirror/mode/xml/xml.js" charset="utf-8"></script> | |
265 | <script src="static/codemirror/mode/javascript/javascript.js" charset="utf-8"></script> |
|
267 | <script src="static/codemirror/mode/javascript/javascript.js" charset="utf-8"></script> | |
266 | <script src="static/codemirror/mode/css/css.js" charset="utf-8"></script> |
|
268 | <script src="static/codemirror/mode/css/css.js" charset="utf-8"></script> | |
267 | <script src="static/codemirror/mode/rst/rst.js" charset="utf-8"></script> |
|
269 | <script src="static/codemirror/mode/rst/rst.js" charset="utf-8"></script> | |
268 | <script src="static/codemirror/mode/markdown/markdown.js" charset="utf-8"></script> |
|
270 | <script src="static/codemirror/mode/markdown/markdown.js" charset="utf-8"></script> | |
269 |
|
271 | |||
270 | <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script> |
|
272 | <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script> | |
271 |
|
273 | |||
272 | <script src="static/prettify/prettify.js" charset="utf-8"></script> |
|
274 | <script src="static/prettify/prettify.js" charset="utf-8"></script> | |
273 |
|
275 | |||
274 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> |
|
276 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> | |
275 | <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script> |
|
277 | <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script> | |
276 | <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script> |
|
278 | <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script> | |
277 | <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script> |
|
279 | <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script> | |
278 | <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script> |
|
280 | <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script> | |
279 | <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script> |
|
281 | <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script> | |
280 | <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> |
|
282 | <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> | |
281 | <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script> |
|
283 | <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script> | |
282 | <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> |
|
284 | <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> | |
283 | <script src="static/js/quickhelp.js" type="text/javascript" charset="utf-8"></script> |
|
285 | <script src="static/js/quickhelp.js" type="text/javascript" charset="utf-8"></script> | |
284 | <script src="static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> |
|
286 | <script src="static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> | |
285 | <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script> |
|
287 | <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script> | |
286 | <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script> |
|
288 | <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script> | |
287 | <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script> |
|
289 | <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script> | |
288 | <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script> |
|
290 | <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script> | |
289 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> |
|
291 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> | |
290 | <script src="static/js/notebookmain.js" type="text/javascript" charset="utf-8"></script> |
|
292 | <script src="static/js/notebookmain.js" type="text/javascript" charset="utf-8"></script> | |
291 |
|
293 | |||
292 | </body> |
|
294 | </body> | |
293 |
|
295 | |||
294 | </html> |
|
296 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now