panel : menu latéral + blueprint about/infos + template infos
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1a87b30e48
commit
c3584a9377
6 changed files with 38 additions and 1 deletions
|
|
@ -1,4 +1,14 @@
|
||||||
title: À propos
|
title: À propos
|
||||||
|
image:
|
||||||
|
back: black
|
||||||
|
color: white
|
||||||
|
icon: megaphone
|
||||||
|
options:
|
||||||
|
move: false
|
||||||
|
duplicate: false
|
||||||
|
delete: false
|
||||||
|
changeStatus: false
|
||||||
|
changeSlug: false
|
||||||
|
|
||||||
tabs:
|
tabs:
|
||||||
content:
|
content:
|
||||||
|
|
|
||||||
11
site/blueprints/pages/infos.yml
Normal file
11
site/blueprints/pages/infos.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
title: Infos
|
||||||
|
image:
|
||||||
|
back: black
|
||||||
|
color: white
|
||||||
|
icon: email
|
||||||
|
options:
|
||||||
|
move: false
|
||||||
|
duplicate: false
|
||||||
|
delete: false
|
||||||
|
changeStatus: false
|
||||||
|
changeSlug: false
|
||||||
|
|
@ -24,4 +24,4 @@ tabs:
|
||||||
label: Pages infos
|
label: Pages infos
|
||||||
type: pages
|
type: pages
|
||||||
create: false
|
create: false
|
||||||
query: site.find('compagnie', 'infos')
|
query: site.find('a-propos', 'infos')
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@ return [
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
'locale' => 'fr_FR.UTF-8',
|
'locale' => 'fr_FR.UTF-8',
|
||||||
'date.handler' => 'intl',
|
'date.handler' => 'intl',
|
||||||
|
'panel' => [
|
||||||
|
'menu' => require_once __DIR__ . '/menu.php',
|
||||||
|
],
|
||||||
'thumbs' => [
|
'thumbs' => [
|
||||||
'quality' => 80,
|
'quality' => 80,
|
||||||
'srcsets' => array_merge(
|
'srcsets' => array_merge(
|
||||||
|
|
|
||||||
13
site/config/menu.php
Normal file
13
site/config/menu.php
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'site' => [
|
||||||
|
'icon' => 'star',
|
||||||
|
'label' => 'Tableau de bord',
|
||||||
|
],
|
||||||
|
'spectacles' => [
|
||||||
|
'icon' => 'calendar',
|
||||||
|
'label' => 'Spectacles',
|
||||||
|
'link' => 'pages/spectacles',
|
||||||
|
],
|
||||||
|
];
|
||||||
0
site/templates/infos.php
Normal file
0
site/templates/infos.php
Normal file
Loading…
Add table
Add a link
Reference in a new issue