From 8e5201e412df003687aa753ed962b2d7afb7dac7 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Mon, 30 Nov 2020 10:01:26 +0100 Subject: [PATCH] Done #4085 @0.5 --- .../cube/src/Forms/Consultation.php | 8 ++--- .../images/consultation-body-outline.svg | 7 +--- .../assets/styles/pages/consultation.styl | 32 +++++++++---------- .../views/forms/consultation.blade.php | 3 ++ 4 files changed, 24 insertions(+), 26 deletions(-) diff --git a/wp-content/mu-plugins/cube/src/Forms/Consultation.php b/wp-content/mu-plugins/cube/src/Forms/Consultation.php index cafec36..5a1536d 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Consultation.php +++ b/wp-content/mu-plugins/cube/src/Forms/Consultation.php @@ -87,14 +87,14 @@ class Consultation extends Base Checkbox::field('pain-arms-legs-detail', __('Si oui, cochez les membres concernés :', 'ccv')) ->required(false) ->options([ - __('Haut du bras gauche', 'ccv'), __('Haut du bras droit', 'ccv'), - __('Avant-bras gauche', 'ccv'), + __('Haut du bras gauche', 'ccv'), __('Avant-bras droit', 'ccv'), - __('Haut de la jambe gauche', 'ccv'), + __('Avant-bras gauche', 'ccv'), __('Haut de la jambe droite', 'ccv'), - __('Bas de la jambe gauche', 'ccv'), + __('Haut de la jambe gauche', 'ccv'), __('Bas de la jambe droite', 'ccv'), + __('Bas de la jambe gauche', 'ccv'), ]), Radio::field('main-pain', __('La douleur principale est-elle ?', 'ccv')) diff --git a/wp-content/themes/CCV/resources/assets/images/consultation-body-outline.svg b/wp-content/themes/CCV/resources/assets/images/consultation-body-outline.svg index efdff70..5965bfa 100644 --- a/wp-content/themes/CCV/resources/assets/images/consultation-body-outline.svg +++ b/wp-content/themes/CCV/resources/assets/images/consultation-body-outline.svg @@ -1,6 +1 @@ - - - - - - + diff --git a/wp-content/themes/CCV/resources/assets/styles/pages/consultation.styl b/wp-content/themes/CCV/resources/assets/styles/pages/consultation.styl index ca9e924..f9cdbd9 100644 --- a/wp-content/themes/CCV/resources/assets/styles/pages/consultation.styl +++ b/wp-content/themes/CCV/resources/assets/styles/pages/consultation.styl @@ -8,35 +8,35 @@ &:nth-of-type - &(1) // Upper left arm - left: 13% - top: 29% + &(1) // Upper right arm + left: 16% + top: 32% - &(2) // Upper right arm - right: 13% - top: 29% + &(2) // Upper left arm + right: 16% + top: 32% - &(3) // Lower left arm - left: 0 - top: 45% + &(3) // Lower right arm + left: 5% + top: 50% - &(4) // Lower right arm - right: 0 - top: 45% + &(4) // Lower left arm + right: 5% + top: 50% - &(5) // Upper left leg + &(5) // Upper right leg left: 26% bottom: 26% - &(6) // Upper right leg + &(6) // Upper left leg right: 26% bottom: 26% - &(7) // Lower left leg + &(7) // Lower right leg left: 20% bottom: 7% - &(8) // Lower right leg + &(8) // Lower left leg right: 20% bottom: 7% diff --git a/wp-content/themes/CCV/resources/views/forms/consultation.blade.php b/wp-content/themes/CCV/resources/views/forms/consultation.blade.php index 2ecce5f..c00ae6f 100644 --- a/wp-content/themes/CCV/resources/views/forms/consultation.blade.php +++ b/wp-content/themes/CCV/resources/views/forms/consultation.blade.php @@ -46,6 +46,9 @@
+ {{ __('Droite', 'ccv') }} + {{ __('Gauche', 'ccv') }} + @foreach ($form->get_field('pain-arms-legs-detail')->get_options() as $option)