Implement a disconnected indicator

Fixes #451
This commit is contained in:
Maxime Quandalle 2016-07-20 18:00:59 +02:00
parent 9595ef0199
commit 27a58c18ee
No known key found for this signature in database
GPG key ID: 428641C03D29CA10
5 changed files with 27 additions and 0 deletions

View file

@ -45,3 +45,12 @@ template(name="header")
else
a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
if appIsOffline
+offlineWarning
template(name="offlineWarning")
.offline-warning
p
i.fa.fa-warning
| {{_ 'app-is-offline'}}