diff --git a/packages/web/src/routes/progress/+page.svelte b/packages/web/src/routes/progress/+page.svelte index c127f7b..d7360df 100755 --- a/packages/web/src/routes/progress/+page.svelte +++ b/packages/web/src/routes/progress/+page.svelte @@ -1,5 +1,16 @@
| Name | -Topics | -Progress | -||||||
|---|---|---|---|---|---|---|---|---|
| - - {task.name} - - | -
-
- {#each task.tasksToTopics as topic}
-
- {topic.topic.name}
-
- {/each}
-
- |
-
-
+
+
+
-
-
-
- {#each data.tasks as task}
-
-
- {task.name}
-
-
-
- Topics:
-
- {#each task.tasksToTopics as topic}
+ class="relative bg-blue-500 text-white rounded-full px-2 py-1 shadow font-medium hover:bg-blue-600 transition cursor-pointer"
+ title="Click for more details about {topic.topic.name}"
+ >
+ {topic.topic.name}
+
+ {/each}
+
+ |
+
+
- {topic.topic.name}
-
- {/each}
-
-
-
- {task.currentPoints} / {task.totalPoints} ({(
- (task.currentPoints / task.totalPoints) *
- 100
- ).toFixed(1)}%)
-
+ class="absolute h-full bg-green-500"
+ style="width: {(task.currentPoints / task.totalPoints) * 100}%"
+ >
+
+ {task.currentPoints} / {task.totalPoints} ({(
+ (task.currentPoints / task.totalPoints) *
+ 100
+ ).toFixed(1)}%)
+
+
+ |
+
No tasks available. Click "Create" to add a new task.
- {/if} +No tasks available. Click "Create" to add a new task.
++ No tasks found matching your search. Try a different keyword or clear the search. +
{/if}