From 1fbb4f30dbed42c2b45874d82473f94fe704e8f3 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Mon, 16 May 2016 18:08:06 +0200 Subject: 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). --- web/index.html | 7 +++++-- web/js/nms-map-handlers.js | 12 ++++++------ 2 files changed, 11 insertions(+), 8 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 @@
  • Temperature map
  • Traffic map
  • Total switch traffic
  • -
  • SNMP map
  • +
  • SNMP map
  • CPU map
  • DISCO
  • diff --git a/web/js/nms-map-handlers.js b/web/js/nms-map-handlers.js index a7672a3..8c1f2b3 100644 --- a/web/js/nms-map-handlers.js +++ b/web/js/nms-map-handlers.js @@ -22,37 +22,37 @@ var handler_uplinks = { init:uplinkInit, tag:"uplink", - name:"Uplink map" + name:"Uplink" }; var handler_temp = { init:tempInit, tag:"temp", - name:"Temperature map" + name:"Temperature" }; var handler_ping = { init:pingInit, tag:"ping", - name:"IPv4 Ping map" + name:"IPv4 Ping" }; var handler_traffic = { init:trafficInit, tag:"traffic", - name:"Uplink traffic map" + name:"Uplink traffic" }; var handler_traffic_tot = { init:trafficTotInit, tag:"traffictot", - name:"Switch traffic map" + name:"Switch traffic" }; var handler_dhcp = { init:dhcpInit, tag:"dhcp", - name:"DHCP map" + name:"DHCP" }; var handler_disco = { -- cgit v1.2.3