From f4f3670c4f7ed221db94f7e63a52e9cf8ae3cf88 Mon Sep 17 00:00:00 2001 From: Brandon Su Date: Fri, 10 Apr 2026 11:22:52 -0700 Subject: [PATCH 1/2] Enhance student table layout and functionality in students.html.j2. --- server/templates/students.html.j2 | 62 +++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 16 deletions(-) diff --git a/server/templates/students.html.j2 b/server/templates/students.html.j2 index 3767135..86e52b6 100644 --- a/server/templates/students.html.j2 +++ b/server/templates/students.html.j2 @@ -5,6 +5,14 @@ {% block head %} {% endblock %} {% block body %} @@ -54,20 +76,19 @@
person_add
Add Students
+
- - - + @@ -78,9 +99,11 @@ {{ student.name }} - + - - - {% endfor %}
Name Email Student IDCanvas ID Wants Avoids Seat Emailed? AssignEditDeleteActions
+ + + {{ student.sid }}{{ student.canvas_id }} {% for want in student.wants %} @@ -114,40 +137,47 @@ {% if student.assignment %} {% if student.assignment.emailed %} -
EMAILED
+
✔️
{% else %} -
NOT EMAILED
+
{% endif %} - email + email {% else %}
NO SEAT
{% endif %}
-
assignment
-
-
edit
+
assignment
-
+ edit + clear
+ >clear
+
{% endblock %} From bad70e58e3257870e09d50135eb498d860cca4c1 Mon Sep 17 00:00:00 2001 From: Brandon Su Date: Fri, 10 Apr 2026 11:40:45 -0700 Subject: [PATCH 2/2] Keeps canvas ID column but just hides it --- server/templates/students.html.j2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/templates/students.html.j2 b/server/templates/students.html.j2 index 86e52b6..ef14cf8 100644 --- a/server/templates/students.html.j2 +++ b/server/templates/students.html.j2 @@ -44,6 +44,10 @@ .students-actions .material-icons { vertical-align: middle; } + + .canvas-id-column { + display: none; + } {% endblock %} {% block body %} @@ -83,6 +87,7 @@ Name Email Student ID + Canvas ID Wants Avoids Seat @@ -104,6 +109,7 @@ {{ student.sid }} + {{ student.canvas_id }} {% for want in student.wants %} @@ -165,7 +171,7 @@