Fixed overflow. Added Open fridge and Open tools buttons

master
Davide Bongiovanni 8 years ago
parent 922fe528e9
commit 7708e18536

@ -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

Binary file not shown.

@ -11,6 +11,7 @@ html {
top: 0;
width: 30%;
text-align: center;
overflow: scroll;
}
.event {

@ -20,7 +20,9 @@
<div class="everything-else">
<h1>Card access manager</h1>
<br>
<a href="/users"><div class="big-button">Users list</div></a>
<a href="/users"><div class="big-button">Open fridge</div></a>
<br>
<a href="/users"><div class="big-button">Open tools</div></a>
</div>
<div class="shadow" onclick="overlay_out()"></div>
<div class="overlay">

Loading…
Cancel
Save