From e84f875b50679b258e463465a881d9971e27667d Mon Sep 17 00:00:00 2001 From: Ari Anisfeld Date: Sun, 31 Mar 2024 23:29:58 -0400 Subject: [PATCH] lint --- .../administration/admin_dashboard.html | 141 +++++++++--------- 1 file changed, 72 insertions(+), 69 deletions(-) diff --git a/prijateli_tree/app/templates/administration/admin_dashboard.html b/prijateli_tree/app/templates/administration/admin_dashboard.html index 33d3cdb7..fb385bfb 100644 --- a/prijateli_tree/app/templates/administration/admin_dashboard.html +++ b/prijateli_tree/app/templates/administration/admin_dashboard.html @@ -95,79 +95,82 @@



-

List of Awards

-
- - - - - - - - - - - - - {% if session_players|length == 0 %} - - - - {% endif %} - {% for sp in session_players %} + {% if user.role == "super-admin" %} +

List of Awards

+
+
DateSession IDStudentCorrect AnswersTotal PointsAward Amount
There are no session players currently in the system.
+ - - - - - - - - {% endfor %} - -
{{ sp.created_at.date() }}{{ sp.session_id }}{{ sp.user.first_name + ' ' + sp.user.last_name }}{{ sp.correct_answers }}{{ sp.points }}{{ sp.denars }}
-
-
-
-

List of Students

-
- - - - - - - - - - - - - - - {% if students|length == 0 %} - - + + + + + + - {% endif %} - {% for s in students %} + + + {% if session_players|length == 0 %} + + + + {% endif %} + {% for sp in session_players %} + + + + + + + + + {% endfor %} + +
List of Students
Session IdsFirstLastLanguageEmailGradeHigh School
There are no students currently in the system.DateSession IDStudentCorrect AnswersTotal PointsAward Amount
There are no session players currently in the system.
{{ sp.created_at.date() }}{{ sp.session_id }}{{ sp.user.first_name + ' ' + sp.user.last_name }}{{ sp.correct_answers }}{{ sp.points }}{{ sp.denars }}
+
+
+
+

List of Students

+
+ + + - - - - - - - + + + + + + + - {% endfor %} - -
List of Students
- {% for g in s.random_group %}{{ g.group_id }} {% endfor %} - {{ s.first_name }}{{ s.last_name }}{{ s.language.name }}{{ s.email }}{{ s.grade_level }}{{ s.high_school.name }}Session IdsFirstLastLanguageEmailGradeHigh School
-
+ + + {% if students|length == 0 %} + + There are no students currently in the system. + + {% endif %} + {% for s in students %} + + + {% for g in s.random_group %}{{ g.group_id }} {% endfor %} + + {{ s.first_name }} + {{ s.last_name }} + {{ s.language.name }} + {{ s.email }} + {{ s.grade_level }} + {{ s.high_school.name }} + + {% endfor %} + + + + {% endif %} +