From cc42f2d8be34bde3390c526ae40f730cd240f965 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 23 Apr 2016 06:30:34 +0200 Subject: [PATCH] Show error message frontend if can't find server (#1886) --- .../components/frontend/index.html.template | 47 ++++++++++++++++--- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/frontend/index.html.template b/homeassistant/components/frontend/index.html.template index e21d00e86bc..cedebe1bbb4 100644 --- a/homeassistant/components/frontend/index.html.template +++ b/homeassistant/components/frontend/index.html.template @@ -28,20 +28,55 @@ left: 0; right: 0; bottom: 0; - margin-bottom: 123px; + margin-bottom: 97px; + font-family: Roboto, sans-serif; + font-size: 0pt; + transition: font-size 2s; + } + + #ha-init-skeleton paper-spinner { + height: 28px; + } + + #ha-init-skeleton a { + color: #03A9F4; + text-decoration: none; + font-weight: bold; + } + + #ha-init-skeleton.error { + font-size: 16px; + } + + #ha-init-skeleton.error img, + #ha-init-skeleton.error paper-spinner { + display: none; } - + + -
+
+ + + Home Assistant had trouble
connecting to the server.

TRY AGAIN +