First commiut
This commit is contained in:
commit
8e81736a94
30 changed files with 1596 additions and 0 deletions
0
site/accounts/index.html
Normal file
0
site/accounts/index.html
Normal file
22
site/blueprints/pages/card.yml
Normal file
22
site/blueprints/pages/card.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
title: Fiche
|
||||
|
||||
tabs:
|
||||
content:
|
||||
label: Contenu
|
||||
columns:
|
||||
- width: 1/2
|
||||
sections:
|
||||
mediaSection:
|
||||
type: fields
|
||||
fields:
|
||||
vue3DSection:
|
||||
type: files
|
||||
label: Vue 3D
|
||||
multiple: false
|
||||
layout: cards
|
||||
gallerySection:
|
||||
type: files
|
||||
label: Galerie
|
||||
layout: cards
|
||||
files: tabs/files
|
||||
seo: seo/page
|
||||
7
site/blueprints/pages/database.yml
Normal file
7
site/blueprints/pages/database.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
title: Base de données
|
||||
|
||||
tabs:
|
||||
content:
|
||||
label: Contenu
|
||||
tabs: tabs/files
|
||||
seo: seo/page
|
||||
21
site/blueprints/pages/default.yml
Normal file
21
site/blueprints/pages/default.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
title: Default Page
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: huge
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
template: default
|
||||
files:
|
||||
type: files
|
||||
|
||||
7
site/blueprints/pages/home.yml
Normal file
7
site/blueprints/pages/home.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
title: Accueil
|
||||
|
||||
tabs:
|
||||
content:
|
||||
label: Contenu
|
||||
files: tabs/files
|
||||
seo: seo/page
|
||||
14
site/blueprints/site.yml
Normal file
14
site/blueprints/site.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
title: Site
|
||||
|
||||
tabs:
|
||||
content:
|
||||
label: Contenu
|
||||
sections:
|
||||
database:
|
||||
label: Base de données
|
||||
type: pages
|
||||
parent: page('base-de-donnees')
|
||||
layout: cards
|
||||
template: card
|
||||
files: tabs/files
|
||||
seo: seo/site
|
||||
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
|
||||
0
site/cache/index.html
vendored
Normal file
0
site/cache/index.html
vendored
Normal file
5
site/config/config.php
Normal file
5
site/config/config.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'debug' => true
|
||||
];
|
||||
0
site/sessions/index.html
Normal file
0
site/sessions/index.html
Normal file
8
site/snippets/card.php
Normal file
8
site/snippets/card.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<!--
|
||||
- titre
|
||||
- date
|
||||
- image
|
||||
- tags (cf. assets/materials/taxinomie.png)
|
||||
- début description ?
|
||||
- auteur de la fiche ?
|
||||
-->
|
||||
4
site/snippets/filters.php
Normal file
4
site/snippets/filters.php
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!--
|
||||
- cf. assets/materials/taxinomie.png
|
||||
- ref : assets/materials/expanding-filters.png (https://expanding.adrien-payet.fr/en/database)
|
||||
-->
|
||||
4
site/snippets/footer.php
Normal file
4
site/snippets/footer.php
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<?php snippet('seo/schemas'); ?>
|
||||
</body>
|
||||
</html>
|
||||
10
site/snippets/header.php
Normal file
10
site/snippets/header.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<?php snippet('seo/head'); ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php snippet('nav') ?>
|
||||
0
site/snippets/index.html
Normal file
0
site/snippets/index.html
Normal file
4
site/snippets/nav.php
Normal file
4
site/snippets/nav.php
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!--
|
||||
- logo
|
||||
- menu
|
||||
-->
|
||||
2
site/templates/card.php
Normal file
2
site/templates/card.php
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?php snippet('header') ?>
|
||||
<?php snippet('footer') ?>
|
||||
2
site/templates/database.php
Normal file
2
site/templates/database.php
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?php snippet('header') ?>
|
||||
<?php snippet('footer') ?>
|
||||
1
site/templates/default.php
Normal file
1
site/templates/default.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<h1><?= $page->title() ?></h1>
|
||||
8
site/templates/home.php
Normal file
8
site/templates/home.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<!--
|
||||
- section recherche / filtres
|
||||
- grille d'éléments (card.php)
|
||||
-->
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue