Update #9: Hide decommissioned batches by default
This commit is contained in:
@@ -813,6 +813,24 @@ div.logEventsViewport table.logEventsViewport > tbody > tr > td.eventType {
|
||||
margin-top: 8px;
|
||||
text-align: right;
|
||||
}
|
||||
#Config_DeviceBatches #Config_DeviceBatches_List tr.decommissioned {
|
||||
display: none;
|
||||
}
|
||||
#Config_DeviceBatches #Config_DeviceBatches_List tr.decommissioned > td {
|
||||
background-color: #f7f7f7;
|
||||
color: #888;
|
||||
}
|
||||
#Config_DeviceBatches #Config_DeviceBatches_List tr.decommissioned:nth-child(odd) > td {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
#Config_DeviceBatches_ShowDecommissioned {
|
||||
position: absolute;
|
||||
right: 30px;
|
||||
bottom: 8px;
|
||||
font-size: 0.5em;
|
||||
line-height: 1em;
|
||||
text-align: right;
|
||||
}
|
||||
.deviceBatches #DeviceBatch_PurchaseDetails_Container {
|
||||
padding: 5px 0 5px 5px;
|
||||
}
|
||||
|
||||
@@ -899,6 +899,32 @@ div.logEventsViewport {
|
||||
}
|
||||
}
|
||||
// Device Batches
|
||||
#Config_DeviceBatches {
|
||||
#Config_DeviceBatches_List {
|
||||
tr.decommissioned {
|
||||
display: none;
|
||||
|
||||
& > td {
|
||||
background-color: darken(@white, 3%);
|
||||
color: #888;
|
||||
}
|
||||
|
||||
&:nth-child(odd) > td {
|
||||
background-color: darken(@TableDataRowBackgroundColor, 4%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Config_DeviceBatches_ShowDecommissioned {
|
||||
position: absolute;
|
||||
right: 30px;
|
||||
bottom: 8px;
|
||||
font-size: 0.5em;
|
||||
line-height: 1em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.deviceBatches {
|
||||
#DeviceBatch_PurchaseDetails_Container {
|
||||
padding: 5px 0 5px 5px;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user