From 9363fa11509e8244eef48c34f1065cf7c290a5e1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 17 Dec 2021 10:27:03 +0100 Subject: [PATCH] wip #4962 @0.5 --- app/Models/FluidbookTheme.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Models/FluidbookTheme.php b/app/Models/FluidbookTheme.php index 3dee27ec9..f450f0009 100644 --- a/app/Models/FluidbookTheme.php +++ b/app/Models/FluidbookTheme.php @@ -611,6 +611,16 @@ class FluidbookTheme extends CubistMagicAbstractModel 'allows_alpha' => true, 'translatable' => false, ]); + + $this->addField([ + 'name' => 'section_audioplayer', + 'type' => 'FormSection', + 'label' => __('Player audio'), + ]); + + $this->addField('audioplayerBackgroundColor', 'Color', __('Couleur de fond'), ['allows_empty' => true]); + $this->addField('audioplayerStrokeColor', 'Color', __('Couleur de la ligne de progression'), ['allows_empty' => true]); + $this->addField('audioplayerIconColor', 'Color', __('Couleur des icônes'), ['default' => '#ffffff']); } public function addFile($fieldname, $path) -- 2.39.5