diff --git a/server.py b/server.py index 1075013..9106408 100644 --- a/server.py +++ b/server.py @@ -26,18 +26,12 @@ def index(): @app.route('/status') @requires_auth def somehtml(): - #history = [] - #with open('history.json', 'r') as json_data: - # history = json.load(json_data) - #history = history[-15:] - #for event in history: - # event['time'] = epochFormat(event['time']) return render_template('status.html') @app.route('/users') @requires_auth def users(): - return 'You have reached Users' + return 'This button is actually useless.' @app.route('/history') @requires_auth diff --git a/server.pyc b/server.pyc index 8f47eb9..0cfba35 100644 Binary files a/server.pyc and b/server.pyc differ diff --git a/static/style.css b/static/style.css index d26b433..95e347d 100644 --- a/static/style.css +++ b/static/style.css @@ -11,6 +11,7 @@ html { top: 0; width: 30%; text-align: center; + overflow: scroll; } .event { diff --git a/templates/status.html b/templates/status.html index 990f3ee..0959042 100644 --- a/templates/status.html +++ b/templates/status.html @@ -20,7 +20,9 @@

Card access manager


-
Users list
+
Open fridge
+
+
Open tools