From e503576e7af7c0573302602bc0e9906cadcce55f Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 27 Oct 2025 15:22:41 +0000 Subject: [PATCH] Enhance trainees table with sortable columns and improved bulk edit options --- generic/templates/generic/trainees.html | 126 +++++++++++++++++------- 1 file changed, 93 insertions(+), 33 deletions(-) diff --git a/generic/templates/generic/trainees.html b/generic/templates/generic/trainees.html index 86253770..3ca9b4d8 100644 --- a/generic/templates/generic/trainees.html +++ b/generic/templates/generic/trainees.html @@ -19,22 +19,25 @@ {% endif %}Trainees
- +
- - + + + + + {% for trainee in trainees %}
NameGradeEmailSupervisorEditName Grade Email Supervisor Edit Bulk Edit
Toggle All + -- set i.checked to not i.checked + toggle [@checked] on i + ">Toggle All
{{trainee.user.first_name}} {{trainee.user.last_name}} - + {{trainee.supervisor}} - {% if not trainee.supervisor %} - add + >{{trainee.supervisor}} + {% if not trainee.supervisor %} + add {% else %} - - {% endif %} + + {% endif %} User/Profile Bulk edit trainees -
-

Bulk edit options

- These actions will act on all the selected trainees. Refresh the page to cancel / clear. +
+

Bulk edit options

+ These actions will act on all the selected trainees. Refresh the page to cancel / clear.
-
+
+ + {% endblock %}