Add blueprints: pages/client, pages/clients, pages/projects, pages/project, sections/projects, files/image, files/pdf, users/admin, users/client, users/project-manager

This commit is contained in:
Timothée Goguely 2024-09-03 18:42:51 +02:00
parent a7a2143385
commit d49daf9c97
11 changed files with 202 additions and 0 deletions

View file

@ -0,0 +1,67 @@
title: Projet
icon: page
tabs:
brief:
label: Brief client
icon: document
columns:
- width: 1/2
sections:
brief:
type: fields
fields:
client:
type: pages
multiple: false
query: site.find("clients").childrenAndDrafts
subpages: false
image:
query: page.logo.toFile
layout: cardlets
width: 1/2
briefClientPdf:
label: PDF
type: files
multiple: false
uploads: pdf
layout: cardlets
width: 1/2
- width: 1/2
sections:
description:
type: fields
fields:
description:
type: textarea
size: tiny
buttons: false
maxlength: 700
- width: 1/1
sections:
images:
type: fields
fields:
briefClientImages:
label: Images
type: files
uploads: image
layout: cards
size: medium
# client:
# label: Client
# icon: account
# columns:
# - width: 1/1
# sections:
# client:
# type: fields
# fields:
# client:
# type: pages
# multiple: false
# query: site.find("clients").childrenAndDrafts
# subpages: false
# layout: cards
# size: medium
files: tabs/files