Fixed overflow. Added Open fridge and Open tools buttons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user