From cd2e27c399b53875cafed6cbac199310cb09d30c Mon Sep 17 00:00:00 2001 From: tykayn Date: Tue, 21 Dec 2021 16:36:43 +0100 Subject: [PATCH] default to calendar input --- src/app/core/services/poll.service.ts | 2 +- .../form/steps/step-four/step-four.component.html | 4 ++-- .../form/steps/step-three/step-three.component.html | 3 +++ src/styles/partials/_forms.scss | 7 ++++--- src/styles/partials/global.scss | 4 ++++ 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/app/core/services/poll.service.ts b/src/app/core/services/poll.service.ts index 48cea048..8bdd49d3 100644 --- a/src/app/core/services/poll.service.ts +++ b/src/app/core/services/poll.service.ts @@ -47,7 +47,7 @@ export class PollService implements Resolve { public showDateInterval = false; public allowSeveralHours = false; public richTextMode = false; - public mode_calendar = false; + public mode_calendar = true; public calendar: Date[] = [new Date()]; public disabled_dates: Date[] = []; diff --git a/src/app/features/administration/form/steps/step-four/step-four.component.html b/src/app/features/administration/form/steps/step-four/step-four.component.html index bb6d6b42..a5280d1a 100644 --- a/src/app/features/administration/form/steps/step-four/step-four.component.html +++ b/src/app/features/administration/form/steps/step-four/step-four.component.html @@ -39,9 +39,9 @@
-

+

Choisissez les horaires ou options à appliquer à toutes les dates -

+

diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.html b/src/app/features/administration/form/steps/step-three/step-three.component.html index b87c5f27..33b767d4 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.html +++ b/src/app/features/administration/form/steps/step-three/step-three.component.html @@ -1,5 +1,8 @@
+

Choisissez les dates

+ +