diff options
| author | tv <tv@krebsco.de> | 2026-10-31 06:13:46 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 06:13:46 +0100 |
| commit | 8988f9f800ac253d1b47deb1615add80d5db353f (patch) | |
| tree | 4a383433971f61d8526cafbd857ca9f740bdaf71 /src | |
| parent | f5fc046bfef83fcee8fcd189019d067983a62496 (diff) | |
dashboard: put usage info below legend
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/dashboard/dashboard.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index cd0f418..fcab0b2 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -76,7 +76,6 @@ .legend .dormant::before { border-top-width: 1.5px; --colour: var(--muted); box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--bad) 50%, transparent); } .legend .silent::before { border-top-style: dotted; --colour: var(--muted); } - .legend .hint { margin-left: auto; } .legend .hint::before { display: none; } /* Nodes: circles, as on the map. */ .legend .node::before { width: 10px; height: 10px; border: 1.5px solid var(--fg); @@ -141,10 +140,12 @@ <span class="node silent">reports none (no LINKS_REPLY)</span> <span class="node dormant-node">dormant (to this node)</span> <span class="node focus">in focus (click a node)</span> + </div> + <div class="legend" id="legend"></div> + <div class="legend"> <span class="hint">drag to pan, wheel to zoom, double-click to reset; drag a node to pin it, double-click it to let go</span> </div> - <div class="legend" id="legend"></div> <svg id="graph"><g id="view"></g></svg> </section> <section id="peers-box"> |
