From: Vincent Vanwaelscappel Date: Wed, 22 Apr 2020 18:17:56 +0000 (+0200) Subject: fix #3614 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b59731bcbcb1146f35ef615ed27e3ef77aa5c2f0;p=fluidbook-toolbox.git fix #3614 @1 --- 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 = [