From a9072370ca1eb9a5cce928b1d487db0f307edea6 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 20 Sep 2022 15:24:27 +0800 Subject: feat: Move old apps into it's own directory --- old-apps/projects/src/app/pages/data.svelte | 396 ++++++++++++++++++++++++++++ 1 file changed, 396 insertions(+) create mode 100644 old-apps/projects/src/app/pages/data.svelte (limited to 'old-apps/projects/src/app/pages/data.svelte') diff --git a/old-apps/projects/src/app/pages/data.svelte b/old-apps/projects/src/app/pages/data.svelte new file mode 100644 index 0000000..190c641 --- /dev/null +++ b/old-apps/projects/src/app/pages/data.svelte @@ -0,0 +1,396 @@ + + + EditEntryForm.reset()}> + + + +
+
+ +
+ + + + + +
+
+ + {#if currentTimespanFilter === TimeEntryQueryDuration.SPECIFIC_DATE} +
+ {$LL.data.date()}: + + + +
+ {/if} + + {#if currentTimespanFilter === TimeEntryQueryDuration.DATE_RANGE} +
+ {$LL.data.from()}: + + (currentDateRangeFilter.from = e.target.value)}/> + +
+ +
+ {$LL.data.to()}: + + (currentDateRangeFilter.to = e.target.value)}/> + +
+ {/if} + +
+
+
+ + + + +
+ + + +
+ + +
+
+ + +
+ {$LL.data.date()} +
+ +
+
+
+ + +
+ {$LL.data.duration()} +
+
+ + +
+ {$LL.data.category()} +
+
+ + +
+ {$LL.data.description()} +
+
+ + + + {#if entries.length > 0} + {#each entries as entry} + + +
+ + +
+
+ +
{entry.date.toLocaleString()}
+
+ +
+                                    
+ {entry.start.toLocaleString(undefined, {timeStyle: "short"})} + - + {entry.stop.toLocaleString(undefined, {timeStyle: "short"})} +
+
+
+ + {entry.category.name} + + + {entry.description ?? ""} + + +
+
+
+
+

+ {#if durationSummary} + {durationSummary} + {:else} + {$LL.data.noEntries()} + {/if} +

+ + +
+
+
-- cgit v1.3