diff --git a/ftracker/core.py b/ftracker/core.py index 50c1db8..e5cc1d0 100644 --- a/ftracker/core.py +++ b/ftracker/core.py @@ -77,6 +77,7 @@ def post_arrival(): now = datetime.utcnow().isoformat() + 'Z' db.insert({ 'name': name, + 'tested': data.get('tested') or False, 'room': data['room'], 'arrival': data.get('arrival') or now, 'departure': None diff --git a/web/index.html b/web/index.html index b1756b6..2d8722c 100644 --- a/web/index.html +++ b/web/index.html @@ -2,89 +2,10 @@ FTracker + - + -
+
+ This is a web app to track which people + were in the same rooms at which times in order to backtrace + potential viral infections.

+ If you've reached this page that either means your're + testing things or something has gone quite wrong with the\ + URL.
+ In the former case: Yay it works! In the latter you should + probably contact an admin or a dev nearby :(

+ Here are a few links for testing:
+ View Data, + Door Sign Generator, + Test Arrival, + Test Departure

+ © 2020 made by Oskar \ + for FaSTTUBe.
+ For source code & licensing see git repo +
+ -