From 392ad3284d9e686ee49b51565490d665ca7e4284 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sat, 28 May 2016 03:20:27 +0200 Subject: front: More visual tweaks and tuneups - Time in oplog is now localtime and properly padded (00:10, not 0:10) - Health map instead of combo/aggregated - Tweak the menu slightly - Rotate and resize the random switch in guess_placement --- web/css/nms.css | 11 ++++------- web/index.html | 17 +++++++++-------- web/js/nms-info-box.js | 3 ++- web/js/nms-map-handlers.js | 26 +++++++++++++------------- web/js/nms-oplog.js | 7 ++++++- web/js/nms.js | 2 +- 6 files changed, 35 insertions(+), 31 deletions(-) (limited to 'web') diff --git a/web/css/nms.css b/web/css/nms.css index 0158268..c54dd98 100644 --- a/web/css/nms.css +++ b/web/css/nms.css @@ -43,14 +43,11 @@ h1.map-mode-title { } div.map-mode-legend { position: fixed; - bottom: 5%; - right: 5%; + bottom: 5px; + right: 15px; z-index: 999; } -#admin { - display: none; -} -#oplog { +#admin, #oplog { display: none; } .vertical div.map-mode-legend { @@ -62,7 +59,7 @@ div.map-mode-legend { height: 40px; } div.map-mode-legend button { - font-size: 20px; + font-size: 16px; font-weight: 700; } .nightmode .panel { diff --git a/web/index.html b/web/index.html index 9a18025..974a816 100644 --- a/web/index.html +++ b/web/index.html @@ -44,17 +44,18 @@