From: Vincent Vanwaelscappel Date: Wed, 28 Aug 2019 17:03:31 +0000 (+0200) Subject: fix #2983 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=76556c451934891096d4d49d61682a18b08c3ba8;p=cubist_cms-back.git fix #2983 @0:10 --- diff --git a/src/app/Http/Controllers/CubistPWAController.php b/src/app/Http/Controllers/CubistPWAController.php new file mode 100644 index 0000000..2518ccd --- /dev/null +++ b/src/app/Http/Controllers/CubistPWAController.php @@ -0,0 +1,14 @@ +_favicon(); } + protected function _favicon() + { + $tab = 'Icônes'; + $this->addField(['name' => 'favicon', + 'label' => 'Favicon', + 'type' => 'Images', + 'hint' => 'Image utilisée comme favicon (1024x1024, PNG, transparence)', + 'tab' => $tab]); + + $this->addField(['name' => 'favicon_android', + 'label' => 'Icône Android', + 'type' => 'Images', + 'hint' => 'Image utilisée comme icône sur Android (1024x1024, PNG, transparence)', + 'tab' => $tab]); + + $this->addField(['name' => 'favicon_ios', + 'label' => 'Icône iOS', + 'type' => 'Images', + 'hint' => 'Image utilisée comme icône sur iOS (1024x1024, PNG, sans transparence)', + 'tab' => $tab]); + + } + protected function _pwa() { $tab = 'Progressive Web App';