From ac97e5b15253156ae542b4075afb51b97ff24756 Mon Sep 17 00:00:00 2001 From: OleSTEEP Date: Wed, 8 Oct 2025 03:18:43 +0300 Subject: [PATCH] frontend: implement marks input --- .../src/lib/components/horisontal_bar.svelte | 2 +- .../src/lib/components/horisontal_item.svelte | 74 +++++++++++++++++-- 2 files changed, 67 insertions(+), 9 deletions(-) diff --git a/frontend/src/lib/components/horisontal_bar.svelte b/frontend/src/lib/components/horisontal_bar.svelte index 2567cde..ad05f21 100644 --- a/frontend/src/lib/components/horisontal_bar.svelte +++ b/frontend/src/lib/components/horisontal_bar.svelte @@ -14,7 +14,7 @@ {/each} { - items.push("test"); + items.push(""); value = items; }} /> {:else if type == "image"} diff --git a/frontend/src/lib/components/horisontal_item.svelte b/frontend/src/lib/components/horisontal_item.svelte index 08b3abc..8ae46fd 100644 --- a/frontend/src/lib/components/horisontal_item.svelte +++ b/frontend/src/lib/components/horisontal_item.svelte @@ -1,35 +1,93 @@ - -
- {text} +
+ + {#if compl_data} + + {/if}