diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2018-12-11 13:25:01 +0100 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2018-12-11 13:25:01 +0100 |
commit | 564ec5c2a3551d4b5613f638dc9122fecc7125d0 (patch) | |
tree | 1d7fa3772bed7e45a7ab69fee3739c2e0ec34945 /cmd | |
parent | 56614596289b37e0e2597aadd9b2deb71be73153 (diff) |
monfront - add a timeout with reload
This finally adds a reload to the frontend, so that one hasn't to reload
manually all the time.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/monfront/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/monfront/main.go b/cmd/monfront/main.go index 7d80c65..2178308 100644 --- a/cmd/monfront/main.go +++ b/cmd/monfront/main.go @@ -344,6 +344,9 @@ var ( td.state-2 { background: red; } td.state-99 { background: gray; } */ </style> + <script> + setTimeout(function() { location.reload(true) }, 30000) + </script> </head> <body> <nav id="mainmenu"> |