Fixed overflow. Added Open fridge and Open tools buttons

This commit is contained in:
Davide Bongiovanni
2016-11-02 10:48:02 +01:00
parent 922fe528e9
commit 7708e18536
4 changed files with 5 additions and 8 deletions
+1 -7
View File
@@ -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