From b59731bcbcb1146f35ef615ed27e3ef77aa5c2f0 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 22 Apr 2020 20:17:56 +0200 Subject: [PATCH] fix #3614 @1 --- app/Models/Quiz.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Models/Quiz.php b/app/Models/Quiz.php index 73f68071d..44f5c7c79 100644 --- a/app/Models/Quiz.php +++ b/app/Models/Quiz.php @@ -25,11 +25,11 @@ class Quiz extends CubistMagicAbstractModel 'failedMessage' => 'Message displayed when failing the quiz']; protected static $_colors = [ - 'mainColor' => ['label' => 'Main color', 'hint' => 'Buttons and rollovers color', 'value' => '#e7007a'], - 'overlay' => ['label' => 'Overlay', 'hint' => 'Overlay set on the banner', 'value' => 'rgba(0,0,0,0.75)'], - 'reviewBackground' => ['label' => 'Review panel background color', 'value' => '#262626'], - 'okColor' => ['label' => 'OK color', 'hint' => 'Color of the ok badge (usually green)', 'value' => '#66c924'], - 'nokColor' => ['label' => 'NOK color', 'hint' => 'Color of the not ok badge (usually red)', 'value' => '#c61e35'], + 'mainColor' => ['label' => 'Main color', 'hint' => 'Buttons and rollovers color', 'default' => '#e7007a'], + 'overlay' => ['label' => 'Overlay', 'hint' => 'Overlay set on the banner', 'default' => 'rgba(0,0,0,0.75)'], + 'reviewBackground' => ['label' => 'Review panel background color', 'default' => '#262626'], + 'okColor' => ['label' => 'OK color', 'hint' => 'Color of the ok badge (usually green)', 'default' => '#66c924'], + 'nokColor' => ['label' => 'NOK color', 'hint' => 'Color of the not ok badge (usually red)', 'default' => '#c61e35'], ]; protected static $_images = [ -- 2.39.5