Added buttons, fixed some visuals, added History bar
This commit is contained in:
@@ -17,6 +17,14 @@ def somehtml():
|
||||
event['time'] = epochFormat(event['time'])
|
||||
return render_template('status.html', events = history[::-1])
|
||||
|
||||
@app.route('/users')
|
||||
def users():
|
||||
return 'You have reached Users'
|
||||
|
||||
@app.route('/history')
|
||||
def history():
|
||||
return 'You have reached history'
|
||||
|
||||
@app.route('/getcardinfo/<cardID>')
|
||||
def getCardInfo(cardID):
|
||||
return send_from_directory('cards', cardID + '.json')
|
||||
|
||||
Reference in New Issue
Block a user