mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge pull request #7791 from parente/empty-running-table-fix-7789
Fix empty running table background
This commit is contained in:
commit
d256f841f0
7
IPython/html/static/style/style.min.css
vendored
7
IPython/html/static/style/style.min.css
vendored
@ -8665,6 +8665,13 @@ ul.breadcrumb span {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
}
|
}
|
||||||
|
.list_placeholder {
|
||||||
|
font-weight: bold;
|
||||||
|
padding-top: 4px;
|
||||||
|
padding-bottom: 4px;
|
||||||
|
padding-left: 7px;
|
||||||
|
padding-right: 7px;
|
||||||
|
}
|
||||||
.list_container {
|
.list_container {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
@ -49,7 +49,7 @@ define([
|
|||||||
type: 'notebook',
|
type: 'notebook',
|
||||||
}, item);
|
}, item);
|
||||||
}
|
}
|
||||||
$('#running_list_header').toggle($.isEmptyObject(d));
|
$('#running_list_placeholder').toggle($.isEmptyObject(d));
|
||||||
};
|
};
|
||||||
|
|
||||||
KernelList.prototype.add_link = function (model, item) {
|
KernelList.prototype.add_link = function (model, item) {
|
||||||
|
@ -62,6 +62,14 @@ ul.breadcrumb {
|
|||||||
background-color: @page-backdrop-color
|
background-color: @page-backdrop-color
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list_placeholder {
|
||||||
|
font-weight: bold;
|
||||||
|
padding-top: @dashboard_tb_pad;
|
||||||
|
padding-bottom: @dashboard_tb_pad;
|
||||||
|
padding-left: @dashboard_lr_pad;
|
||||||
|
padding-right: @dashboard_lr_pad;
|
||||||
|
}
|
||||||
|
|
||||||
.list_container {
|
.list_container {
|
||||||
margin-top: @dashboard_tb_pad;
|
margin-top: @dashboard_tb_pad;
|
||||||
margin-bottom: 5*@dashboard_tb_pad;
|
margin-bottom: 5*@dashboard_tb_pad;
|
||||||
|
@ -123,7 +123,7 @@ data-terminals-available="{{terminals_available}}"
|
|||||||
<div id="collapseOne" class=" collapse in">
|
<div id="collapseOne" class=" collapse in">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div id="terminal_list">
|
<div id="terminal_list">
|
||||||
<div id="terminal_list_header" class="row list_header">
|
<div id="terminal_list_header" class="row list_placeholder">
|
||||||
{% if terminals_available %}
|
{% if terminals_available %}
|
||||||
<div> There are no terminals running. </div>
|
<div> There are no terminals running. </div>
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -143,7 +143,7 @@ data-terminals-available="{{terminals_available}}"
|
|||||||
<div id="collapseTwo" class=" collapse in">
|
<div id="collapseTwo" class=" collapse in">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div id="running_list">
|
<div id="running_list">
|
||||||
<div id="running_list_header" class="row list_header">
|
<div id="running_list_placeholder" class="row list_placeholder">
|
||||||
<div> There are no notebooks running. </div>
|
<div> There are no notebooks running. </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user