mirror of
https://github.com/pi-hole/web.git
synced 2026-02-14 23:19:00 +00:00
Use an arrow to indicate child interfaces
- Add and format the arrow - Remove the icon used to indent child interfaces (the arrow is enough) Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -54,12 +54,13 @@ $(function () {
|
||||
}
|
||||
|
||||
// Show an icon for indenting slave interfaces
|
||||
const indentIcon = master === null ? "" : "<i class='fa fa-diagram-project fa-fw'></i> ";
|
||||
const indentIcon =
|
||||
master === null ? "" : "<span class='child-interface-icon'> ⤷</span> ";
|
||||
|
||||
var obj = {
|
||||
text: indentIcon + interface.name + " - " + status,
|
||||
class: gateways.has(interface.name) ? "text-bold" : null,
|
||||
icon: "fa fa-network-wired fa-fw",
|
||||
icon: master === null ? "fa fa-network-wired fa-fw" : "",
|
||||
nodes: [],
|
||||
};
|
||||
|
||||
|
||||
@@ -1584,3 +1584,7 @@ textarea.field-sizing-content {
|
||||
.bstreeview .list-group-item:hover {
|
||||
background-color: rgba(127, 127, 127, 0.18);
|
||||
}
|
||||
.child-interface-icon {
|
||||
line-height: 0.5em;
|
||||
font-size: 1.7em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user