aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-24 19:24:34 +0000
committerrubenwardy <rw@rubenwardy.com>2018-03-24 19:24:34 +0000
commitf51224a8d5b2204798611465c77308c90839730b (patch)
tree4f5472d67e4f442ae4b57e7c239db223a0254afa /app/templates/users
parent4898b69ea050c584050cf9e82854b1a42a7602b8 (diff)
downloadcheatdb-f51224a8d5b2204798611465c77308c90839730b.tar.xz
Add user list
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/list.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/templates/users/list.html b/app/templates/users/list.html
new file mode 100644
index 0000000..30d2ecc
--- /dev/null
+++ b/app/templates/users/list.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}
+ Users
+{% endblock %}
+
+{% block content %}
+<ul>
+ {% for user in users %}
+ <li>
+ <a href="{{ url_for('user_profile_page', username=user.username) }}">
+ {{ user.display_name }}
+ </a> -
+ {{ user.rank.getTitle() }} -
+ {{ user.packages.count() }} packages.
+ {% endfor %}
+</ul>
+{% endblock %}