From 246363a128468056619b42d2d23b662e9ada16f3 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 3 Mar 2022 02:08:23 +0000 Subject: [PATCH] Added individual class page view --- views/class.hbs | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 views/class.hbs diff --git a/views/class.hbs b/views/class.hbs new file mode 100644 index 0000000..0b9a0b1 --- /dev/null +++ b/views/class.hbs @@ -0,0 +1,56 @@ +
+
+
+

Class Overview - {{ className }}

+
+
+

Teachers

+ {{#each teachers}} + {{> classTeacher name=shortName email=email }} + {{/each}} +
+
+

Members

+ {{> classMembers members=members }} +
+
+ {{> button style='full' colour='primary' to=contactLink content='Contact'}} + {{> button style='full' colour='primary' to=testsLink content='View Tests'}} +
+
+
+
+
+
+
+

Statistics and Reports

+ {{> button style='full' colour='primary' to=reportsLink content='View All'}} +
+
+ {{#each stats}} + {{> classStat value=value text=text }} + {{/each}} +
+
+ {{> graph }} + {{> graph }} +
+
+
+
+
+
+

Tests

+ {{> button style='full' colour='primary' to=testsLink content='View All'}} +
+
+
+ {{> testTable tests=upcomingTests}} +
+
+ {{> testTable tests=recentTests}} +
+
+
+
+