aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.html
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-16 18:08:06 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-16 18:08:06 +0200
commit1fbb4f30dbed42c2b45874d82473f94fe704e8f3 (patch)
tree2ebcd031107537a439558e95dd4b86db6b5479b6 /web/index.html
parent4b129728519bba7f0fb3f66d650f193c6ee66ce0 (diff)
Minor UI tweaks here and there
- Shadow for map title text (color matches background, so only visible when background interferes with readability) - SNMP map is private too - Remove 'map' from a bunch of titles - Fix z-index and position for map title (z-index is lower than the input canvas, but higher than everything else).
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/web/index.html b/web/index.html
index d3cf567..48f1e04 100644
--- a/web/index.html
+++ b/web/index.html
@@ -44,7 +44,9 @@
font-size: 55px;
color: black;
display: block;
- z-index: 999;
+ position: absolute;
+ z-index: 55;
+ text-shadow: 4px 4px 5px white;
}
.gondul-public .gondul-is-private {
display: none;
@@ -58,6 +60,7 @@
}
.nightmode h1.map-mode-title {
color: white;
+ text-shadow: 4px 4px 5px black;
}
.tvmode #topCanvas {
display: none;
@@ -113,7 +116,7 @@
<li><a href="#temp" onclick="setUpdater(handler_temp)">Temperature map</a></li>
<li><a href="#traffic" onclick="setUpdater(handler_traffic)">Traffic map</a></li>
<li><a href="#traffictot" onclick="setUpdater(handler_traffic_tot)">Total switch traffic</a></li>
- <li><a href="#snmp" onclick="setUpdater(handler_snmp)">SNMP map</a></li>
+ <li class="gondul-is-private"><a href="#snmp" onclick="setUpdater(handler_snmp)">SNMP map</a></li>
<li class="gondul-is-private"><a href="#cpu" onclick="setUpdater(handler_cpu)">CPU map</a></li>
<li><a href="#disco" onclick="setUpdater(handler_disco)">DISCO</a></li>
<li class="divider"> </li>