|
|
@ -26,18 +26,12 @@ def index():
|
|
|
|
@app.route('/status')
|
|
|
|
@app.route('/status')
|
|
|
|
@requires_auth
|
|
|
|
@requires_auth
|
|
|
|
def somehtml():
|
|
|
|
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')
|
|
|
|
return render_template('status.html')
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/users')
|
|
|
|
@app.route('/users')
|
|
|
|
@requires_auth
|
|
|
|
@requires_auth
|
|
|
|
def users():
|
|
|
|
def users():
|
|
|
|
return 'You have reached Users'
|
|
|
|
return 'This button is actually useless.'
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/history')
|
|
|
|
@app.route('/history')
|
|
|
|
@requires_auth
|
|
|
|
@requires_auth
|
|
|
|