site panel : add dynamic favicon
All checks were successful
Deploy / Deploy to Production (push) Successful in 20s
All checks were successful
Deploy / Deploy to Production (push) Successful in 20s
This commit is contained in:
parent
9be03113e3
commit
88bc02b9cf
6 changed files with 88 additions and 13 deletions
4
site/blueprints/files/fav-ico.yml
Normal file
4
site/blueprints/files/fav-ico.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
title: Favicon version .ico
|
||||
|
||||
accept:
|
||||
extension: ico
|
||||
5
site/blueprints/files/fav-png.yml
Normal file
5
site/blueprints/files/fav-png.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
title: Favicon version PNG
|
||||
|
||||
accept:
|
||||
extension: png
|
||||
maxwidth: 96
|
||||
4
site/blueprints/files/fav-svg.yml
Normal file
4
site/blueprints/files/fav-svg.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
title: Favicon version SVG
|
||||
|
||||
accept:
|
||||
extension: svg
|
||||
|
|
@ -68,25 +68,61 @@ tabs:
|
|||
label: Description
|
||||
type: textarea
|
||||
translate: true
|
||||
legalNotices:
|
||||
label: Mentions légales (PDF)
|
||||
type: files
|
||||
max: 1
|
||||
accept: application/pdf
|
||||
translate: false
|
||||
|
||||
- width: 1/1
|
||||
fields:
|
||||
imagesLine:
|
||||
type: line
|
||||
imagesHeadline:
|
||||
type: headline
|
||||
label: Images
|
||||
- width: 1/4
|
||||
fields:
|
||||
footerLogo:
|
||||
label: Logo
|
||||
label: Logo statique
|
||||
type: files
|
||||
layout: cards
|
||||
image:
|
||||
back: #fff
|
||||
max: 1
|
||||
help: Utilisé en pied de page (page À propos, Blog et Article).
|
||||
|
||||
- width: 1/2
|
||||
sections:
|
||||
contact:
|
||||
type: fields
|
||||
fields:
|
||||
legalNotices:
|
||||
label: Mentions légales (PDF)
|
||||
type: files
|
||||
max: 1
|
||||
accept: application/pdf
|
||||
translate: false
|
||||
- width: 3/4
|
||||
fields:
|
||||
faviconHeadline:
|
||||
type: headline
|
||||
label: Favicon
|
||||
faviconInfo:
|
||||
label: false
|
||||
type: info
|
||||
text: |
|
||||
Il est important de respecter les types de fichier et de format indiqués. Vous pouvez utiliser l'outil en ligne [RealFaviconGenerator](https://realfavicongenerator.net) pour lé générer.
|
||||
faviconICO:
|
||||
label: Version icône (.ico)
|
||||
type: files
|
||||
multiple: false
|
||||
uploads: fav-ico
|
||||
layout: cards
|
||||
width: 1/3
|
||||
faviconPNG:
|
||||
label: Version PNG 96x96 pixels
|
||||
type: files
|
||||
multiple: false
|
||||
layout: cards
|
||||
uploads: fav-png
|
||||
width: 1/3
|
||||
faviconSVG:
|
||||
label: Version SVG
|
||||
type: files
|
||||
multiple: false
|
||||
uploads: fav-svg
|
||||
layout: cards
|
||||
width: 1/3
|
||||
|
||||
seo: seo/site
|
||||
files: tabs/files
|
||||
|
|
|
|||
16
site/blueprints/tabs/files.yml
Normal file
16
site/blueprints/tabs/files.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
label: Fichiers
|
||||
icon: attachment
|
||||
columns:
|
||||
- width: 1/4
|
||||
fields:
|
||||
manageFilesInfo:
|
||||
label: false
|
||||
type: info
|
||||
text: À droite, tous les fichiers que stocke la page. Supprimez les fichiers inutilisés pour éviter de surcharger inutilement le serveur.
|
||||
|
||||
- width: 3/4
|
||||
sections:
|
||||
filesSection:
|
||||
label: Fichiers
|
||||
type: files
|
||||
batch: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue