Set up CV writer field
This commit is contained in:
parent
75970bc41e
commit
03a44a5ec5
6 changed files with 52 additions and 25 deletions
|
@ -2,7 +2,7 @@
|
|||
// KIRBY PANEL CUSTOMIZATION
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Structure field gallery
|
||||
// Image gallery structure field gallery
|
||||
|
||||
.k-field-name-image_gallery {
|
||||
|
||||
|
@ -14,3 +14,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// CV writer field
|
||||
|
||||
.k-field-name-cv {
|
||||
|
||||
.k-text {
|
||||
min-height: 7.5rem;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
type: fields
|
||||
fields:
|
||||
contact_line:
|
||||
type: line
|
||||
instagram:
|
||||
type: url
|
||||
label:
|
||||
en: Instagram account
|
||||
fr: Compte Instagram
|
||||
icon: instagram
|
||||
required: true
|
||||
width: 1/2
|
||||
email:
|
||||
label:
|
||||
en: Email
|
||||
fr: Adresse e-mail
|
||||
type: email
|
||||
required: true
|
||||
width: 1/2
|
|
@ -57,6 +57,3 @@ fields:
|
|||
- email
|
||||
- '|'
|
||||
- clear
|
||||
# help:
|
||||
# en: "Informative text displayed below the image."
|
||||
# fr: "Texte informatif affiché sous l'image."
|
||||
|
|
41
site/blueprints/sections/site_info.yml
Normal file
41
site/blueprints/sections/site_info.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
type: fields
|
||||
fields:
|
||||
contact_line:
|
||||
type: line
|
||||
cv:
|
||||
label: CV
|
||||
type: writer
|
||||
toolbar:
|
||||
inline: false
|
||||
nodes:
|
||||
- paragraph
|
||||
- heading
|
||||
- bulletList
|
||||
headings:
|
||||
- 2
|
||||
- 3
|
||||
marks:
|
||||
- bold
|
||||
- italic
|
||||
- underline
|
||||
- '|'
|
||||
- link
|
||||
- email
|
||||
- '|'
|
||||
- clear
|
||||
required: true
|
||||
instagram:
|
||||
label:
|
||||
en: Instagram account
|
||||
fr: Compte Instagram
|
||||
type: url
|
||||
icon: instagram
|
||||
required: true
|
||||
width: 1/2
|
||||
email:
|
||||
label:
|
||||
en: Email
|
||||
fr: Adresse e-mail
|
||||
type: email
|
||||
required: true
|
||||
width: 1/2
|
|
@ -26,7 +26,6 @@ fields:
|
|||
en: Meta description
|
||||
fr: Méta description
|
||||
type: textarea
|
||||
size: small
|
||||
buttons: false
|
||||
required: true
|
||||
help:
|
||||
|
|
|
@ -3,5 +3,5 @@ title:
|
|||
fr: Site web
|
||||
sections:
|
||||
gallery: sections/site_gallery
|
||||
contact: sections/site_contact
|
||||
contact: sections/site_info
|
||||
seo_basic_meta: sections/site_seo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue