diff --git a/software/frontend/index.html b/software/frontend/index.html index 48d6548..6caa231 100644 --- a/software/frontend/index.html +++ b/software/frontend/index.html @@ -45,6 +45,71 @@ padding-left: 10px; margin-top: 10px; } + + /* Tree view */ + .tree ul { + list-style: none; + padding-left: 1rem; + } + + .tree li { + margin: 2px 0; + } + + .caret { + cursor: pointer; + display: inline-block; + width: 1em; + height: 1em; + user-select: none; + } + + .caret::before { + content: "▶"; + opacity: 0.6; + } + + li.expanded > .caret::before { + content: "▼"; + } + + li:not(:has(ul)) > .caret::before { + content: ""; + } + + .node { + cursor: pointer; + padding: 2px 6px; + border-radius: 4px; + user-select: none; + } + + .node:hover { + background: #eee; + } + + .node.selected { + background: #0078d7; + color: white; + } + + .tree ul ul { + display: none; + } + + li.expanded > ul { + display: block; + } + + .scroll-tree-container { + border: 1px solid #ccc; + border-radius: 4px; + + height: 300px; + overflow-y: auto; + overflow-x: hidden; + } + @@ -54,6 +119,7 @@ @@ -63,6 +129,7 @@ @@ -71,178 +138,312 @@

Configuration Editor

Loading…
- + +
+ + +
+

Playlist Editor

+
Loading…
+
+
+
    +
  • + + Fruits +
      +
    • + + Apple +
    • +
    • + + Citrus +
        +
      • + + Orange +
      • +
      • + + Lemon +
      • +
      +
    • +
    • + + Strawberry +
    • +
    +
  • +
+
+
+