##// END OF EJS Templates
Fix empty running table background...
Peter Parente -
Show More
@@ -8665,6 +8665,13 b' ul.breadcrumb span {'
8665 8665 font-weight: bold;
8666 8666 background-color: #eeeeee;
8667 8667 }
8668 .list_placeholder {
8669 font-weight: bold;
8670 padding-top: 4px;
8671 padding-bottom: 4px;
8672 padding-left: 7px;
8673 padding-right: 7px;
8674 }
8668 8675 .list_container {
8669 8676 margin-top: 4px;
8670 8677 margin-bottom: 20px;
@@ -49,7 +49,7 b' define(['
49 49 type: 'notebook',
50 50 }, item);
51 51 }
52 $('#running_list_header').toggle($.isEmptyObject(d));
52 $('#running_list_placeholder').toggle($.isEmptyObject(d));
53 53 };
54 54
55 55 KernelList.prototype.add_link = function (model, item) {
@@ -62,6 +62,14 b' ul.breadcrumb {'
62 62 background-color: @page-backdrop-color
63 63 }
64 64
65 .list_placeholder {
66 font-weight: bold;
67 padding-top: @dashboard_tb_pad;
68 padding-bottom: @dashboard_tb_pad;
69 padding-left: @dashboard_lr_pad;
70 padding-right: @dashboard_lr_pad;
71 }
72
65 73 .list_container {
66 74 margin-top: @dashboard_tb_pad;
67 75 margin-bottom: 5*@dashboard_tb_pad;
@@ -123,7 +123,7 b' data-terminals-available="{{terminals_available}}"'
123 123 <div id="collapseOne" class=" collapse in">
124 124 <div class="panel-body">
125 125 <div id="terminal_list">
126 <div id="terminal_list_header" class="row list_header">
126 <div id="terminal_list_header" class="row list_placeholder">
127 127 {% if terminals_available %}
128 128 <div> There are no terminals running. </div>
129 129 {% else %}
@@ -143,7 +143,7 b' data-terminals-available="{{terminals_available}}"'
143 143 <div id="collapseTwo" class=" collapse in">
144 144 <div class="panel-body">
145 145 <div id="running_list">
146 <div id="running_list_header" class="row list_header">
146 <div id="running_list_placeholder" class="row list_placeholder">
147 147 <div> There are no notebooks running. </div>
148 148 </div>
149 149 </div>
General Comments 0
You need to be logged in to leave comments. Login now