From 11e5e6a08e130f33ca799062805c96faeea450c8 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Fri, 16 Sep 2022 19:08:32 +0100 Subject: [PATCH] create (and initial content) for /user/index.html template. The code in here is for the site's administrator to see a list of all the users with an account with edit and delete options. There is, also, a section to create new users (non-admin. accounts). --- templates/user/index.html | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 templates/user/index.html diff --git a/templates/user/index.html b/templates/user/index.html new file mode 100644 index 0000000..8fefb72 --- /dev/null +++ b/templates/user/index.html @@ -0,0 +1,43 @@ +{% extends "layouts/default.html" %} +{% block title %}Users{% endblock %} +{% block content %} +

Users

+Dashboard + +
+
+ Create New Account + + + + + + + + + + +
+
+ +{% for account in users %} +{% if account.username != user.username %} +
+

{{account.username}}

+

{{account.display-name}}

+
+ + + + +
+
+ + + +
+
+{% endif %} +{% endfor %} + +{% endblock %}