From 97d0a34b13077a6266979ee6be8bed21d32f8913 Mon Sep 17 00:00:00 2001 From: tunny17 Date: Thu, 17 Aug 2023 10:52:17 +0000 Subject: [PATCH] CLASSROOMIO-T-87:implemented the exercise page Co-authored-by: Ifeanyi Nwosu Co-authored-by: Rotimi Best Co-authored-by: Tunji Adeyemi Co-authored-by: tunny17 Merge-request: CLASSROOMIO-MR-48 Merged-by: Best Admin --- src/routes/lms/exercises/+page.svelte | 244 +++++++++++++++++++++++++- 1 file changed, 243 insertions(+), 1 deletion(-) diff --git a/src/routes/lms/exercises/+page.svelte b/src/routes/lms/exercises/+page.svelte index 9e3c1ba0..7a0d1e7c 100644 --- a/src/routes/lms/exercises/+page.svelte +++ b/src/routes/lms/exercises/+page.svelte @@ -1 +1,243 @@ -Exercises + + +
+
+

Exercises

+
+ {#each sections as { id, title, items, className }, idx (id)} +
+
+

{title}

+ +
+
+ {#if items.length === 0} +
+ +

+ drop your {title} exercises here +

+
+ {:else} + {#each items as item (item.id)} + + {/each} + {/if} +
+
+ {/each} +
+
+