From a2aaf60c56fd506bdb2d8420cbab5a6dd93e12ce Mon Sep 17 00:00:00 2001 From: Urban Wallasch Date: Sat, 27 Jul 2019 14:57:42 +0200 Subject: [PATCH] * Changed game paused indication in dash.html to displaying a dedicated element, no more dimming. * Implemented basic HTTP and network error handling and display in dash.html. --- dash.html | 42 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/dash.html b/dash.html index d717aa7..b15abdd 100644 --- a/dash.html +++ b/dash.html @@ -51,9 +51,28 @@ x-boxright { float:right; } .warn1 { color:#fd0; } .warn2 { color:#f20; } .setval { color:#0af; } -.grey { color: #444 !important; } .hilite { background-color: #ff0; } + +x-bar { + display: block; + clear: both; + width: 100%; + padding: 0.2em; + margin: 0.1em; + border: none; + font-size: 150%; + visibility: hidden; +} +.pause { + background-color:#fd0; + color : #000; +} +.error { + background-color:#a00; + color : #fff; +} + @@ -64,7 +83,6 @@ x-boxright { float:right; } -- km/h - km/h x  - 0 rpm - km @@ -78,8 +96,7 @@ x-boxright { float:right; } - km - eta - - + --- @@ -87,6 +104,9 @@ x-boxright { float:right; } + GAME PAUSED + +