Added Pi home page and help page

This commit is contained in:
Jared
2017-03-27 14:48:23 +00:00
parent 0ae4092789
commit 4d80abf4de
4 changed files with 308 additions and 187 deletions
+5 -1
View File
@@ -26,7 +26,11 @@ def requires_auth(f):
@app.route('/')
def index():
return '{"onFire": false}\nGo to <a href="status">status</a>.'
return render_template('home.html')
@app.route('/help')
def help():
return render_template('help.html')
@app.route('/status')
@requires_auth