summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index d1e4109..c10d2c0 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1186,6 +1186,14 @@ def images():
images = r.json()['images']
return render_template('images.html', images=images)
+
+@app.route('/users/', methods=['GET'])
+@login_required
+def users():
+ users = app.config['USERS']
+ return render_template('users.html', users=users)
+
+
@app.route('/action/image/info', methods=['GET'])
@login_required
def action_image_info():