]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/commit
Rework offline mode
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 16 Aug 2018 17:42:53 +0000 (19:42 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 16 Aug 2018 17:44:40 +0000 (19:44 +0200)
commitfdb2202b27fd1252c45c9fc83f9088e5c523fe38
tree06785ba439019215cd7a4387227a1e4ca2f53580
parent985405cd4345315d0502fe9e75ef879ad0c452b3
Rework offline mode

In offline mode, we now show the collected data and inform the user
that she can still make a coffee :)

The main idea is that when the server is offline, no leftovers from
remote UI is shown, only local div is shown. Hiding and showing of
local/remote UI has to be implemented in remote-provided
javascript (in coffee-flask repo).
html/index.html