##// END OF EJS Templates
Moving status widget to Kernel section of L panel.
MinRK -
Show More
@@ -37,9 +37,8 b' input#notebook_name {'
37 }
37 }
38
38
39 span#kernel_status {
39 span#kernel_status {
40 position: absolute;
40 float: right;
41 padding: 8px 5px 5px 5px;
41 padding: 0px 5px;
42 right: 10px;
43 font-weight: bold;
42 font-weight: bold;
44 }
43 }
45
44
@@ -65,10 +64,14 b' div#left_panel {'
65 position: absolute;
64 position: absolute;
66 }
65 }
67
66
68 h3.section_header {
67 div.section_header {
69 padding: 5px;
68 padding: 5px;
70 }
69 }
71
70
71 div.section_header h3 {
72 display: inline;
73 }
74
72 div.section_content {
75 div.section_content {
73 padding: 5px;
76 padding: 5px;
74 }
77 }
@@ -19,7 +19,7 b' var IPython = (function (IPython) {'
19 this.selector = selector;
19 this.selector = selector;
20 if (this.selector !== undefined) {
20 if (this.selector !== undefined) {
21 this.element = $(selector);
21 this.element = $(selector);
22 this.header = this.element.find('h3.section_header');
22 this.header = this.element.find('div.section_header');
23 this.content = this.element.find('div.section_content');
23 this.content = this.element.find('div.section_content');
24 this.style();
24 this.style();
25 this.bind_events();
25 this.bind_events();
@@ -29,7 +29,7 b' var IPython = (function (IPython) {'
29
29
30
30
31 PanelSection.prototype.style = function () {
31 PanelSection.prototype.style = function () {
32 this.header.addClass('ui-widget ui-state-default');
32 this.header.addClass('ui-widget ui-state-default ui-helper-clearfix');
33 this.header.attr('title', "Click to Show/Hide Section");
33 this.header.attr('title', "Click to Show/Hide Section");
34 this.content.addClass('ui-widget section_content');
34 this.content.addClass('ui-widget section_content');
35 };
35 };
@@ -58,7 +58,6 b''
58 <span id="quick_help_area">
58 <span id="quick_help_area">
59 <button id="quick_help">Quick<u>H</u>elp</button>
59 <button id="quick_help">Quick<u>H</u>elp</button>
60 </span>
60 </span>
61 <span id="kernel_status">Idle</span>
62 </div>
61 </div>
63
62
64 <div id="MathJaxFetchingWarning"
63 <div id="MathJaxFetchingWarning"
@@ -89,7 +88,9 b''
89 <div id="left_panel">
88 <div id="left_panel">
90
89
91 <div id="notebook_section">
90 <div id="notebook_section">
92 <h3 class="section_header">Notebook</h3>
91 <div class="section_header">
92 <h3>Notebook</h3>
93 </div>
93 <div class="section_content">
94 <div class="section_content">
94 <div class="section_row">
95 <div class="section_row">
95 <span id="new_open" class="section_row_buttons">
96 <span id="new_open" class="section_row_buttons">
@@ -120,7 +121,9 b''
120 </div>
121 </div>
121
122
122 <div id="cell_section">
123 <div id="cell_section">
123 <h3 class="section_header">Cell</h3>
124 <div class="section_header">
125 <h3>Cell</h3>
126 </div>
124 <div class="section_content">
127 <div class="section_content">
125 <div class="section_row">
128 <div class="section_row">
126 <span class="section_row_buttons">
129 <span class="section_row_buttons">
@@ -174,7 +177,10 b''
174 </div>
177 </div>
175
178
176 <div id="kernel_section">
179 <div id="kernel_section">
177 <h3 class="section_header">Kernel</h3>
180 <div class="section_header">
181 <h3>Kernel</h3>
182 <span id="kernel_status">Idle</span>
183 </div>
178 <div class="section_content">
184 <div class="section_content">
179 <div class="section_row">
185 <div class="section_row">
180 <span id="int_restart" class="section_row_buttons">
186 <span id="int_restart" class="section_row_buttons">
@@ -193,7 +199,9 b''
193 </div>
199 </div>
194
200
195 <div id="help_section">
201 <div id="help_section">
196 <h3 class="section_header">Help</h3>
202 <div class="section_header">
203 <h3>Cell</h3>
204 </div>
197 <div class="section_content">
205 <div class="section_content">
198 <div class="section_row">
206 <div class="section_row">
199 <span id="help_buttons0" class="section_row_buttons">
207 <span id="help_buttons0" class="section_row_buttons">
General Comments 0
You need to be logged in to leave comments. Login now