From 0a3b1659ee7917e30186e970b71a11ed859b4872 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 18 Nov 2021 12:00:03 +0100 Subject: [PATCH] more data in resume, step 7 --- .../step-seven/step-seven.component.html | 44 ++++++++++++++++--- .../steps/step-six/step-six.component.html | 6 +-- src/styles/partials/_forms.scss | 16 ++++++- 3 files changed, 55 insertions(+), 11 deletions(-) diff --git a/src/app/features/administration/form/steps/step-seven/step-seven.component.html b/src/app/features/administration/form/steps/step-seven/step-seven.component.html index 4b728236..2d92a4e1 100644 --- a/src/app/features/administration/form/steps/step-seven/step-seven.component.html +++ b/src/app/features/administration/form/steps/step-seven/step-seven.component.html @@ -1,6 +1,6 @@ -
+
-
+

Voici le résumé de votre sondage @@ -14,36 +14,66 @@

Mes informations générales

+

+ {{ pollService.form.value.title }} +

+

+ {{ pollService.form.value.description }} +


-
+
Modifier

Mon type de sondage

+ {{ pollService.form.value.isAboutDate ? 'Date' : 'Propositions' }}
-
+
Modifier

Mes dates et horaires

+
+
    +
  • + {{ choice.date_object | date: 'E d M yyy':'Europe/Paris':'fr_FR' }} +
  • +
+
+
+
    +
  • + {{ choice }} +
  • +
+

-
+
Modifier

Mes paramètres et options de notifications

+
+ Protégé par mot de passe: {{ pollService.form.value.isProtectedByPassword ? 'oui' : 'non' }} +

-
+
Modifier

Mon nom et mon adresse e-mail

+
+ {{ pollService.form.value.creatorPseudo }} +
+
-
+
Modifier
diff --git a/src/app/features/administration/form/steps/step-six/step-six.component.html b/src/app/features/administration/form/steps/step-six/step-six.component.html index 3b8e999d..5ad525f6 100644 --- a/src/app/features/administration/form/steps/step-six/step-six.component.html +++ b/src/app/features/administration/form/steps/step-six/step-six.component.html @@ -1,7 +1,7 @@ -
-
+
+ +
-

Dites à vos participants qui vous êtes !

diff --git a/src/styles/partials/_forms.scss b/src/styles/partials/_forms.scss index a4383406..5d7081c7 100644 --- a/src/styles/partials/_forms.scss +++ b/src/styles/partials/_forms.scss @@ -290,6 +290,17 @@ mat-checkbox { } // resume de la création de sondage +.step-resume { + .content { + .title { + &.is-2, + &.is-3 { + color: $secondary_color; + } + } + } +} + .block-resume { border-radius: 0.25em; background: $bg-grey; @@ -300,10 +311,13 @@ mat-checkbox { margin: 0.5em -1em; background: $rules; } + .go-to-step { @extend .clickable; + color: $secondary_color; + padding: 1.5em; + border-radius: 0.25em; - padding: 1em; &:hover { background: $secondary_color; color: $white;