]> _ Git - fluidbook-toolbox.git/commitdiff
wip #4962 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 17 Dec 2021 09:27:03 +0000 (10:27 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 17 Dec 2021 09:27:03 +0000 (10:27 +0100)
app/Models/FluidbookTheme.php

index 3dee27ec9e0abba286c66f4839b0bf90739d2a7f..f450f000961c36fb833fe7b717bc94ec9caaba4a 100644 (file)
@@ -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)