##// END OF EJS Templates
small whitespace cleanup, renamed drag_info...
Paul Ivanov -
Show More
@@ -22,7 +22,6 b' var IPython = (function (IPython) {'
22
22
23 KernelList.prototype.sessions_loaded = function (d) {
23 KernelList.prototype.sessions_loaded = function (d) {
24 this.sessions = d;
24 this.sessions = d;
25 // clear out the previous list
26 this.clear_list();
25 this.clear_list();
27 var item;
26 var item;
28 for (var path in d) {
27 for (var path in d) {
@@ -33,10 +33,11 b' var IPython = (function (IPython) {'
33 };
33 };
34
34
35 NotebookList.prototype.style = function () {
35 NotebookList.prototype.style = function () {
36 $('#' + this.element_name + '_toolbar').addClass('list_toolbar');
36 var prefix = '#' + this.element_name
37 $('#drag_info').addClass('toolbar_info');
37 $(prefix + '_toolbar').addClass('list_toolbar');
38 $('#' + this.element_name + '_buttons').addClass('toolbar_buttons');
38 $(prefix + '_list_info').addClass('toolbar_info');
39 $('#' + this.element_name + '_list_header').addClass('list_header');
39 $(prefix + '_buttons').addClass('toolbar_buttons');
40 $(prefix + '_list_header').addClass('list_header');
40 this.element.addClass("list_container");
41 this.element.addClass("list_container");
41 };
42 };
42
43
1 NO CONTENT: modified file
NO CONTENT: modified file
@@ -34,7 +34,7 b' data-base-kernel-url="{{base_kernel_url}}"'
34 <div id="notebook_toolbar" class="row-fluid">
34 <div id="notebook_toolbar" class="row-fluid">
35 <div class="span8">
35 <div class="span8">
36 <form id='alternate_upload' class='alternate_upload' >
36 <form id='alternate_upload' class='alternate_upload' >
37 <span id="drag_info" style="position:absolute" >
37 <span id="notebook_list_info" style="position:absolute" >
38 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
38 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
39 </span>
39 </span>
40 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
40 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
@@ -76,9 +76,8 b' data-base-kernel-url="{{base_kernel_url}}"'
76 </div>
76 </div>
77
77
78 <div id="running_list">
78 <div id="running_list">
79 <div id="running_list_header" class="row-fluid list_header" style='display:none'>
79 <div id="running_list_header" class="row-fluid list_header">
80 <div> There are no notebooks running. </div>
80 <div> There are no notebooks running. </div>
81 <!-- damn it, I seem to need this stupid placeholder, otherwise items don't get added to the list -->
82 </div>
81 </div>
83 </div>
82 </div>
84 </div>
83 </div>
General Comments 0
You need to be logged in to leave comments. Login now