UI: Device Table hide/show decommissioned devices

This commit is contained in:
Gary Sharp
2017-03-29 12:18:37 +11:00
parent d6ee70b860
commit 82183f6508
6 changed files with 108 additions and 6 deletions
+30 -1
View File
@@ -554,6 +554,14 @@ table {
.dataTables_wrapper {
position: relative;
& > .a {
position: absolute;
margin-top: -24px;
right: 320px;
opacity: 0.3;
}
.dataTables_filter {
position: absolute;
height: 20px;
@@ -588,6 +596,23 @@ table {
opacity: 0.3;
}
.dataTables_decommissioned {
position: absolute;
height: 20px;
margin-top: -20px;
right: 320px;
font-size: .9em;
input {
font-size: .8em;
padding: 0;
height: 1.2em;
}
-moz-opacity: 0.3;
opacity: 0.3;
}
.dataTables_paginate {
text-align: right;
background-color: @TableDataBorderColour;
@@ -685,7 +710,7 @@ table {
}
&:hover {
.dataTables_filter, .dataTables_length, .dataTables_paginate a {
.dataTables_filter, .dataTables_length, .dataTables_paginate a, .dataTables_decommissioned {
-moz-opacity: 1;
opacity: 1;
}
@@ -889,6 +914,10 @@ table.deviceTable {
tr.decommissioned {
background-color: @SubtleColour;
}
&.hideDecommissioned tr.decommissioned {
display: none;
}
}
textarea {