From b8e45663e1ce24504cfd875daa31e66f18467864 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Mon, 13 Feb 2023 16:01:42 +0100 Subject: [PATCH] improved wedstrijd system --- frontend/pages/wedstrijd/addcontest.vue | 10 ++--- frontend/pages/wedstrijd/alltimes.vue | 53 +++++++++++++++++-------- frontend/pages/wedstrijd/owntimes.vue | 36 ++++++++++++----- 3 files changed, 69 insertions(+), 30 deletions(-) diff --git a/frontend/pages/wedstrijd/addcontest.vue b/frontend/pages/wedstrijd/addcontest.vue index 7c7e9dc..fad5da6 100644 --- a/frontend/pages/wedstrijd/addcontest.vue +++ b/frontend/pages/wedstrijd/addcontest.vue @@ -31,8 +31,8 @@
- - + + + + - + + +
@@ -57,11 +60,19 @@
-
+
-

{{ event.name }}

- {{ filteredTimings.filter(a => a.event === event.id)[0].time.minutes }}:{{ timings.filter(a => a.event === event.id)[0].time.seconds }}:{{ timings.filter(a => a.event === event.id)[0].time.milliseconds }} - Geen tijd +

{{ event.name }}

+ + + + {{ filteredTimings.filter(a => a.event === event.id)[0].time.minutes }}:{{ filteredTimings.filter(a => a.event === event.id)[0].time.seconds }}:{{ filteredTimings.filter(a => a.event === event.id)[0].time.milliseconds }} + + Geen tijd
@@ -74,10 +85,10 @@ {{ time.time.minutes }}:{{ time.time.seconds }}:{{ time.time.milliseconds}} - {{ time.contest.date }} + {{ time.contest.date.toLocaleDateString('nl-NL') }} {{ competitors.filter(a => a.relatiecode === time.relatiecode)[0].name.split(', ')[1] + ' ' + competitors.filter(a => a.relatiecode === time.relatiecode)[0].name.split(', ')[0] }} {{ time.contest.type }} - {{ time.contest.name }} + {{ time.contest.location }} @@ -87,7 +98,7 @@