From 0a21c6ed356d63660a47f7bc46597c8f5127fc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20L=C3=BCcke?= Date: Thu, 24 Feb 2022 16:26:00 +0100 Subject: [PATCH] =?UTF-8?q?Feature:=20Die=20Eintr=C3=A4ge=20werden=20als?= =?UTF-8?q?=20Liste=20bereitgestellt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dadurch kann auch eine ganze Woche eingetragen werden. --- .../WorkingHours/Formular/EditByDay.svelte | 23 +++++++ .../WorkingHours/Formular/EditByWeek.svelte | 62 +++++++++++++++++++ ui/src/routes/working-hours/NewByDay.svelte | 17 ----- 3 files changed, 85 insertions(+), 17 deletions(-) create mode 100644 ui/src/routes/WorkingHours/Formular/EditByDay.svelte create mode 100644 ui/src/routes/WorkingHours/Formular/EditByWeek.svelte delete mode 100644 ui/src/routes/working-hours/NewByDay.svelte diff --git a/ui/src/routes/WorkingHours/Formular/EditByDay.svelte b/ui/src/routes/WorkingHours/Formular/EditByDay.svelte new file mode 100644 index 0000000..c366758 --- /dev/null +++ b/ui/src/routes/WorkingHours/Formular/EditByDay.svelte @@ -0,0 +1,23 @@ + + +{#if activeRecordList.length < 1} +

Loading...

+{:else} +
+
+ + +
+
+ + +
+
+{/if} \ No newline at end of file diff --git a/ui/src/routes/WorkingHours/Formular/EditByWeek.svelte b/ui/src/routes/WorkingHours/Formular/EditByWeek.svelte new file mode 100644 index 0000000..3cd9e8b --- /dev/null +++ b/ui/src/routes/WorkingHours/Formular/EditByWeek.svelte @@ -0,0 +1,62 @@ + + + + + +{#if activeRecordList.length < 1} +

Loading...

+{:else} +
+
+ + +
+
+
+
+ + + {#each ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag'] as day, index} + + + + + {/each} + + + {#each ['Samstag', 'Sontag'] as day, index} + + + + + {/each} + +
+ {day} + + +
+ {day} + + +
+
+
+{/if} \ No newline at end of file diff --git a/ui/src/routes/working-hours/NewByDay.svelte b/ui/src/routes/working-hours/NewByDay.svelte deleted file mode 100644 index 79e721e..0000000 --- a/ui/src/routes/working-hours/NewByDay.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - - -
-
- - -
-
- - -
-
\ No newline at end of file