aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/dashboard
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 06:13:46 +0100
committertv <tv@krebsco.de>2026-10-31 06:13:46 +0100
commitc4d6b42748436087da74c63f75ad1c033c4d5d49 (patch)
tree60da7ea28864960d7aac53bef670b89f8e11ec8e /src/api/dashboard
parentc6150cea2d1701c61ad644555fd1bb3e0f2be346 (diff)
dashboard: put usage info below legend
Diffstat (limited to 'src/api/dashboard')
-rw-r--r--src/api/dashboard/dashboard.html5
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">