##// END OF EJS Templates
Merge pull request #7791 from parente/empty-running-table-fix-7789...
Min RK -
r20484:02da130c merge
parent child Browse files
Show More
@@ -8665,6 +8665,13 b' ul.breadcrumb span {'
8665 font-weight: bold;
8665 font-weight: bold;
8666 background-color: #eeeeee;
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 .list_container {
8675 .list_container {
8669 margin-top: 4px;
8676 margin-top: 4px;
8670 margin-bottom: 20px;
8677 margin-bottom: 20px;
@@ -49,7 +49,7 b' define(['
49 type: 'notebook',
49 type: 'notebook',
50 }, item);
50 }, item);
51 }
51 }
52 $('#running_list_header').toggle($.isEmptyObject(d));
52 $('#running_list_placeholder').toggle($.isEmptyObject(d));
53 };
53 };
54
54
55 KernelList.prototype.add_link = function (model, item) {
55 KernelList.prototype.add_link = function (model, item) {
@@ -62,6 +62,14 b' ul.breadcrumb {'
62 background-color: @page-backdrop-color
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 .list_container {
73 .list_container {
66 margin-top: @dashboard_tb_pad;
74 margin-top: @dashboard_tb_pad;
67 margin-bottom: 5*@dashboard_tb_pad;
75 margin-bottom: 5*@dashboard_tb_pad;
@@ -123,7 +123,7 b' data-terminals-available="{{terminals_available}}"'
123 <div id="collapseOne" class=" collapse in">
123 <div id="collapseOne" class=" collapse in">
124 <div class="panel-body">
124 <div class="panel-body">
125 <div id="terminal_list">
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 {% if terminals_available %}
127 {% if terminals_available %}
128 <div> There are no terminals running. </div>
128 <div> There are no terminals running. </div>
129 {% else %}
129 {% else %}
@@ -143,7 +143,7 b' data-terminals-available="{{terminals_available}}"'
143 <div id="collapseTwo" class=" collapse in">
143 <div id="collapseTwo" class=" collapse in">
144 <div class="panel-body">
144 <div class="panel-body">
145 <div id="running_list">
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 <div> There are no notebooks running. </div>
147 <div> There are no notebooks running. </div>
148 </div>
148 </div>
149 </div>
149 </div>
General Comments 0
You need to be logged in to leave comments. Login now