form + archi
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
Prénom,Nom
|
||||
Kevin,Tessier
|
||||
Kevin,Tessier
|
||||
kevin,Tessier
|
||||
|
@@ -0,0 +1,18 @@
|
||||
form: custom_form
|
||||
unique_id: j4yksoepezkyowm0gmir
|
||||
url: 'http://127.0.0.1/formulaire'
|
||||
user: null
|
||||
timestamps:
|
||||
created: 1571171025
|
||||
updated: 1571171025
|
||||
data: null
|
||||
files:
|
||||
my-file:
|
||||
AA_I.pdf:
|
||||
name: AA_I.pdf
|
||||
type: application/pdf
|
||||
tmp_name: phph3HXHZ
|
||||
size: 435764
|
||||
path: user/data/files/AA_I.pdf
|
||||
my-file/original:
|
||||
AA_I.pdf: null
|
||||
@@ -0,0 +1,18 @@
|
||||
form: custom_form
|
||||
unique_id: u3s5h8hg6trvmjyqmovz
|
||||
url: 'http://127.0.0.1/formulaire'
|
||||
user: null
|
||||
timestamps:
|
||||
created: 1571170811
|
||||
updated: 1571170811
|
||||
data: null
|
||||
files:
|
||||
my-file:
|
||||
AA_I.pdf:
|
||||
name: AA_I.pdf
|
||||
type: application/pdf
|
||||
tmp_name: php1QwBZr
|
||||
size: 435764
|
||||
path: user/data/files/AA_I.pdf
|
||||
my-file/original:
|
||||
AA_I.pdf: null
|
||||
Binary file not shown.
@@ -0,0 +1,81 @@
|
||||
root:
|
||||
groupname: root
|
||||
access:
|
||||
site:
|
||||
login: 'true'
|
||||
admin:
|
||||
super: 'true'
|
||||
login: 'true'
|
||||
cache: 'true'
|
||||
configuration: 'true'
|
||||
configuration_system: 'true'
|
||||
configuration_site: 'true'
|
||||
configuration_media: 'true'
|
||||
configuration_info: 'true'
|
||||
settings: 'true'
|
||||
pages: 'true'
|
||||
maintenance: 'true'
|
||||
statistics: 'true'
|
||||
plugins: 'true'
|
||||
themes: 'true'
|
||||
tools: 'true'
|
||||
users: 'true'
|
||||
data-manager: 'true'
|
||||
admin-addon-user-manager:
|
||||
users: 'true'
|
||||
groups: 'true'
|
||||
users_expert: 'true'
|
||||
Administrator:
|
||||
groupname: Administrator
|
||||
access:
|
||||
site:
|
||||
login: 'true'
|
||||
admin:
|
||||
super: 'false'
|
||||
login: 'true'
|
||||
cache: 'true'
|
||||
configuration: 'true'
|
||||
configuration_system: 'false'
|
||||
configuration_site: 'true'
|
||||
configuration_media: 'false'
|
||||
configuration_info: 'false'
|
||||
settings: 'true'
|
||||
pages: 'true'
|
||||
maintenance: 'false'
|
||||
statistics: 'false'
|
||||
plugins: 'false'
|
||||
themes: 'false'
|
||||
tools: 'false'
|
||||
users: 'true'
|
||||
data-manager: 'true'
|
||||
admin-addon-user-manager:
|
||||
users: 'true'
|
||||
groups: 'false'
|
||||
users_expert: 'false'
|
||||
Writter:
|
||||
groupname: Writter
|
||||
access:
|
||||
site:
|
||||
login: 'true'
|
||||
admin:
|
||||
super: 'false'
|
||||
login: 'true'
|
||||
cache: 'false'
|
||||
configuration: 'false'
|
||||
configuration_system: 'false'
|
||||
configuration_site: 'false'
|
||||
configuration_media: 'false'
|
||||
configuration_info: 'false'
|
||||
settings: 'false'
|
||||
pages: 'true'
|
||||
maintenance: 'false'
|
||||
statistics: 'false'
|
||||
plugins: 'false'
|
||||
themes: 'false'
|
||||
tools: 'false'
|
||||
users: 'false'
|
||||
data-manager: 'false'
|
||||
admin-addon-user-manager:
|
||||
users: 'false'
|
||||
groups: 'false'
|
||||
users_expert: 'false'
|
||||
@@ -0,0 +1,6 @@
|
||||
enabled: true
|
||||
default_list_style: list
|
||||
pagination:
|
||||
per_page: '20'
|
||||
custom_permissions:
|
||||
- admin.data-manager
|
||||
@@ -0,0 +1,57 @@
|
||||
enabled: true
|
||||
route: /admin
|
||||
cache_enabled: false
|
||||
theme: grav
|
||||
content_padding: true
|
||||
twofa_enabled: true
|
||||
log_viewer_files:
|
||||
- grav
|
||||
- email
|
||||
sidebar:
|
||||
activate: tab
|
||||
hover_delay: 100
|
||||
size: auto
|
||||
dashboard:
|
||||
days_of_stats: 7
|
||||
widgets:
|
||||
dashboard-maintenance: true
|
||||
dashboard-statistics: true
|
||||
dashboard-notifications: false
|
||||
dashboard-feed: false
|
||||
dashboard-pages: true
|
||||
pages:
|
||||
show_parents: both
|
||||
show_modular: true
|
||||
session:
|
||||
timeout: 1800
|
||||
warnings:
|
||||
delete_page: true
|
||||
edit_mode: normal
|
||||
frontend_preview_target: inline
|
||||
show_github_msg: true
|
||||
pages_list_display_field: title
|
||||
google_fonts: false
|
||||
admin_icons: line-awesome
|
||||
enable_auto_updates_check: true
|
||||
notifications:
|
||||
feed: false
|
||||
dashboard: false
|
||||
plugins: false
|
||||
themes: false
|
||||
popularity:
|
||||
enabled: true
|
||||
ignore:
|
||||
- '/test*'
|
||||
- /modular
|
||||
history:
|
||||
daily: '30'
|
||||
monthly: '12'
|
||||
visitors: '20'
|
||||
pagemedia:
|
||||
resize_width: 0
|
||||
resize_height: 0
|
||||
res_min_width: 0
|
||||
res_min_height: 0
|
||||
res_max_width: 0
|
||||
res_max_height: 0
|
||||
resize_quality: 0.8
|
||||
@@ -11,7 +11,7 @@ mailer:
|
||||
smtp:
|
||||
server: smtp.mailtrap.io
|
||||
port: 587
|
||||
encryption: tls
|
||||
encryption: none
|
||||
user: 5e920233e534b8
|
||||
password: a78fb10acda1fc
|
||||
sendmail:
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,56 @@
|
||||
---
|
||||
title: formulaire
|
||||
aura:
|
||||
pagetype: website
|
||||
form:
|
||||
name: custom_form
|
||||
fields:
|
||||
name:
|
||||
label: Name
|
||||
placeholder: 'Enter your name'
|
||||
autocomplete: 'on'
|
||||
type: text
|
||||
validate:
|
||||
required: true
|
||||
email:
|
||||
label: Email
|
||||
placeholder: 'Enter your email address'
|
||||
type: email
|
||||
validate:
|
||||
required: true
|
||||
my-file:
|
||||
label: 'Add a file'
|
||||
type: file
|
||||
multiple: false
|
||||
destination: user/data/files
|
||||
accept:
|
||||
- application/pdf
|
||||
- application/x-pdf
|
||||
- image/png
|
||||
- text/plain
|
||||
buttons:
|
||||
-
|
||||
type: submit
|
||||
value: Envoyer
|
||||
process:
|
||||
-
|
||||
email:
|
||||
from: '{{ config.plugins.email.from }}'
|
||||
to: '{{ config.plugins.email.to }}'
|
||||
subject: '[inscriptions-] {{ form.value.name|e }}'
|
||||
body: '{% include "forms/data.html.twig" %}'
|
||||
attachments:
|
||||
- my-file
|
||||
-
|
||||
save:
|
||||
fileprefix: inscriptions-
|
||||
dateformat: Y-H-u
|
||||
extension: txt
|
||||
body: '{% include "forms/data.txt.twig" %}'
|
||||
- null
|
||||
-
|
||||
message: 'Thank you for your feedback!'
|
||||
reset: true
|
||||
---
|
||||
|
||||
Salut, je suis la page formulaire
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: 'What''s On'
|
||||
show_sidebar: true
|
||||
content:
|
||||
items:
|
||||
- '@self.children'
|
||||
limit: 5
|
||||
order:
|
||||
by: date
|
||||
dir: desc
|
||||
pagination: true
|
||||
url_taxonomy_filters: true
|
||||
aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Coactique aliquotiens nostri pedites ad eos persequendos scandere clivos sublimes etiam si lapsantibus plantis fruticeta prensando vel dumos ad vertices venerint summos, inter arta tamen et invia nullas acies explicare permissi nec firmare nisu valido gressus: hoste discursatore rupium abscisa volvente, ruinis ponderum inmanium consternuntur, aut ex necessitate ultima fortiter dimicante, superati periculose per prona discedunt.
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: 'Visit Us'
|
||||
title: Events
|
||||
visible: true
|
||||
content:
|
||||
items:
|
||||
- '@self.children'
|
||||
@@ -13,4 +14,3 @@ aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Salut, Visit Us
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: 'Event 15/11/12'
|
||||
aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Exhibitions
|
||||
visible: false
|
||||
content:
|
||||
items:
|
||||
- '@self.children'
|
||||
limit: 5
|
||||
order:
|
||||
by: date
|
||||
dir: desc
|
||||
pagination: true
|
||||
url_taxonomy_filters: true
|
||||
aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Salut page Exhibitions
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: 'Exhibitions Jean marais'
|
||||
aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
---
|
||||
title: formulaire
|
||||
aura:
|
||||
pagetype: website
|
||||
form:
|
||||
name: "Demande_inscriptions"
|
||||
template: form-messages
|
||||
refresh_prevention: true
|
||||
fields:
|
||||
-
|
||||
name: Prénom
|
||||
placeholder: Prénom
|
||||
type: text
|
||||
size: long
|
||||
classes: fancy
|
||||
validate:
|
||||
required: true
|
||||
-
|
||||
name: Nom
|
||||
placeholder: Nom
|
||||
type: text
|
||||
size: long
|
||||
classes: fancy
|
||||
validate:
|
||||
required: true
|
||||
buttons:
|
||||
-
|
||||
type: submit
|
||||
value: Envoyer
|
||||
process:
|
||||
-
|
||||
email:
|
||||
from: '{{ config.plugins.email.from }}'
|
||||
to: '{{ config.plugins.email.to }}'
|
||||
subject: '[inscriptions N°] {{ form.value.name|e }}'
|
||||
body: '{% include ''forms/data.html.twig'' %}'
|
||||
-
|
||||
save:
|
||||
fileprefix: inscriptions_N°-
|
||||
dateformat: Y-H-u
|
||||
extension: txt
|
||||
body: '{% include ''forms/data.txt.twig'' %}'
|
||||
-
|
||||
message: 'Merci, votre demande de devis à bien été envoyé ! Elle sera traité dans les prochains jours.'
|
||||
---
|
||||
|
||||
Salut, je suis la page formulaire
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: 'Studio Programme'
|
||||
content:
|
||||
items:
|
||||
- '@self.children'
|
||||
limit: 5
|
||||
order:
|
||||
by: date
|
||||
dir: desc
|
||||
pagination: true
|
||||
url_taxonomy_filters: true
|
||||
aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Coactique aliquotiens nostri pedites ad eos persequendos scandere clivos sublimes etiam si lapsantibus plantis fruticeta prensando vel dumos ad vertices venerint summos, inter arta tamen et invia nullas acies explicare permissi nec firmare nisu valido gressus: hoste discursatore rupium abscisa volvente, ruinis ponderum inmanium consternuntur, aut ex necessitate ultima fortiter dimicante, superati periculose per prona discedunt.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: 'Open day'
|
||||
aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Salut je suis une page open day
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: 'What''s On'
|
||||
title: News
|
||||
content:
|
||||
items:
|
||||
- '@self.children'
|
||||
@@ -13,4 +13,4 @@ aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Salut, What's On
|
||||
Salut, News
|
||||
@@ -13,4 +13,4 @@ aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Salut, About
|
||||
Salut About
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: 'Studio Programme'
|
||||
title: Visit
|
||||
content:
|
||||
items:
|
||||
- '@self.children'
|
||||
@@ -13,4 +13,4 @@ aura:
|
||||
pagetype: website
|
||||
---
|
||||
|
||||
Salut, Studio Programme
|
||||
Salut visit
|
||||
@@ -32,11 +32,14 @@
|
||||
|
||||
{% embed 'partials/layout.html.twig' with {blog: page} %}
|
||||
{% block item %}
|
||||
|
||||
<div class="bricklayer">
|
||||
{% for child in collection %}
|
||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
|
||||
{% endfor %}
|
||||
{% for child in collection %}
|
||||
|
||||
{% if child.template == 'item' %}
|
||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% if show_pagination and config.plugins.pagination.enabled and collection.params.pagination %}
|
||||
@@ -48,7 +51,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'partials/sidebar.html.twig' %}
|
||||
{% if header.show_sidebar == true %}
|
||||
{% include 'partials/sidebar.html.twig' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
</section>
|
||||
@@ -58,6 +63,3 @@
|
||||
var bricklayer = new Bricklayer(document.querySelector('.bricklayer'))
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
{% set feed_url = blog.url == '/' or blog.url == base_url_relative ? (base_url_relative~'/'~blog.slug) : blog.url %}
|
||||
{% set new_base_url = blog.url == '/' ? '' : blog.url %}
|
||||
|
||||
{% if condition %}{% endif %}
|
||||
<div class="sidebar-content">
|
||||
{% for child in collection %}
|
||||
{% include 'partials/blog/title.html.twig' with {blog: page, page: child} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% if config.plugins.simplesearch.enabled %}
|
||||
<div class="sidebar-content">
|
||||
{% include 'partials/simplesearch_searchbox.html.twig' %}
|
||||
|
||||
Reference in New Issue
Block a user