summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 72ca1b1..75b7ea1 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -767,3 +767,10 @@ def action_room_delete():
def commands():
scopes, clients = get_scopes()
return render_template('commands.html', scopes=scopes, clients=clients)
+
+@app.route('/images/', methods=['GET'])
+@login_required
+def images():
+ r = g.server.get('/images')
+ images = r.json()['images']
+ return render_template('images.html', images=images)