summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'flask_app.py')
-rw-r--r--flask_app.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/flask_app.py b/flask_app.py
index 67b2217..6eeaa0c 100644
--- a/flask_app.py
+++ b/flask_app.py
@@ -27,6 +27,10 @@ def teardown_request(exception):
def index():
return render_template('group_list.html', groups=g.db.get_groups())
+@app.route('/files')
+def file_list():
+ return render_template('file_list.html', files=g.db.get_files())
+
@app.route('/submit', methods=['POST'])
def submit():
submission = submission_pb2.Submission()