From 00c915d7f8c41edc9794424f259b3d270ab88a85 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Fri, 29 Nov 2024 21:44:00 -0500 Subject: [PATCH] User features --- templates/internal/admin/add-user.html.twig | 86 +++++++++++++++++++ templates/internal/admin/edit-user.html.twig | 80 +++++++++++++++++ templates/internal/admin/list-users.html.twig | 67 +++++++++++++++ 3 files changed, 233 insertions(+) create mode 100644 templates/internal/admin/add-user.html.twig create mode 100644 templates/internal/admin/edit-user.html.twig create mode 100644 templates/internal/admin/list-users.html.twig diff --git a/templates/internal/admin/add-user.html.twig b/templates/internal/admin/add-user.html.twig new file mode 100644 index 0000000..5239644 --- /dev/null +++ b/templates/internal/admin/add-user.html.twig @@ -0,0 +1,86 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+ +
+
+{% endblock %} diff --git a/templates/internal/admin/edit-user.html.twig b/templates/internal/admin/edit-user.html.twig new file mode 100644 index 0000000..6cd76f6 --- /dev/null +++ b/templates/internal/admin/edit-user.html.twig @@ -0,0 +1,80 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+ +
+
+{% endblock %} diff --git a/templates/internal/admin/list-users.html.twig b/templates/internal/admin/list-users.html.twig new file mode 100644 index 0000000..a82a7b7 --- /dev/null +++ b/templates/internal/admin/list-users.html.twig @@ -0,0 +1,67 @@ +{% extends 'base.html.twig' %} + +{% block body %} + {{ block('nav', 'internal/libs/nav.html.twig') }} + +
+ {{ block('topnav', 'internal/libs/top-nav.html.twig') }} + +
+
+
+
+
+
+
User List
+
+
+
+
+ + + + + + + + + + + + {% for user in users %} + + + + + + + + {% endfor %} + +
NameJobActive Cases
+
+
+ {{ user.name }} +
+
+
{{ user.name }}
+

+ {{ user.email }} +

+
+
+
+

{{ user.job.value|lower|capitalize }}

+
+ {{ user.userCases|length }} + + Edit +
+
+
+
+
+
+ +
+ {% endblock %}