##// 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 23 KernelList.prototype.sessions_loaded = function (d) {
24 24 this.sessions = d;
25 // clear out the previous list
26 25 this.clear_list();
27 26 var item;
28 27 for (var path in d) {
@@ -33,10 +33,11 b' var IPython = (function (IPython) {'
33 33 };
34 34
35 35 NotebookList.prototype.style = function () {
36 $('#' + this.element_name + '_toolbar').addClass('list_toolbar');
37 $('#drag_info').addClass('toolbar_info');
38 $('#' + this.element_name + '_buttons').addClass('toolbar_buttons');
39 $('#' + this.element_name + '_list_header').addClass('list_header');
36 var prefix = '#' + this.element_name
37 $(prefix + '_toolbar').addClass('list_toolbar');
38 $(prefix + '_list_info').addClass('toolbar_info');
39 $(prefix + '_buttons').addClass('toolbar_buttons');
40 $(prefix + '_list_header').addClass('list_header');
40 41 this.element.addClass("list_container");
41 42 };
42 43
1 NO CONTENT: modified file
@@ -34,7 +34,7 b' data-base-kernel-url="{{base_kernel_url}}"'
34 34 <div id="notebook_toolbar" class="row-fluid">
35 35 <div class="span8">
36 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 38 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
39 39 </span>
40 40 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
@@ -76,9 +76,8 b' data-base-kernel-url="{{base_kernel_url}}"'
76 76 </div>
77 77
78 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 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 81 </div>
83 82 </div>
84 83 </div>
General Comments 0
You need to be logged in to leave comments. Login now