diff --git a/5da5c493d20b6.csv b/5da5c493d20b6.csv new file mode 100644 index 0000000..344263e --- /dev/null +++ b/5da5c493d20b6.csv @@ -0,0 +1,4 @@ +Prénom,Nom +Kevin,Tessier +Kevin,Tessier +kevin,Tessier diff --git a/tmp/forms/863481143c0148f790fb54f6722093b7/j4yksoepezkyowm0gmir/index.yaml b/tmp/forms/863481143c0148f790fb54f6722093b7/j4yksoepezkyowm0gmir/index.yaml new file mode 100644 index 0000000..45d444f --- /dev/null +++ b/tmp/forms/863481143c0148f790fb54f6722093b7/j4yksoepezkyowm0gmir/index.yaml @@ -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 diff --git a/tmp/forms/863481143c0148f790fb54f6722093b7/u3s5h8hg6trvmjyqmovz/index.yaml b/tmp/forms/863481143c0148f790fb54f6722093b7/u3s5h8hg6trvmjyqmovz/index.yaml new file mode 100644 index 0000000..6370bec --- /dev/null +++ b/tmp/forms/863481143c0148f790fb54f6722093b7/u3s5h8hg6trvmjyqmovz/index.yaml @@ -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 diff --git a/tmp/forms/863481143c0148f790fb54f6722093b7/u3s5h8hg6trvmjyqmovz/php1QwBZr b/tmp/forms/863481143c0148f790fb54f6722093b7/u3s5h8hg6trvmjyqmovz/php1QwBZr new file mode 100644 index 0000000..f910f09 Binary files /dev/null and b/tmp/forms/863481143c0148f790fb54f6722093b7/u3s5h8hg6trvmjyqmovz/php1QwBZr differ diff --git a/user/config/groups.yaml b/user/config/groups.yaml new file mode 100644 index 0000000..8c01cba --- /dev/null +++ b/user/config/groups.yaml @@ -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' diff --git a/user/config/plugins/admin-addon-user-manager.yaml b/user/config/plugins/admin-addon-user-manager.yaml new file mode 100644 index 0000000..413be9f --- /dev/null +++ b/user/config/plugins/admin-addon-user-manager.yaml @@ -0,0 +1,6 @@ +enabled: true +default_list_style: list +pagination: + per_page: '20' +custom_permissions: + - admin.data-manager diff --git a/user/config/plugins/admin.yaml b/user/config/plugins/admin.yaml new file mode 100644 index 0000000..2eb1e60 --- /dev/null +++ b/user/config/plugins/admin.yaml @@ -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 diff --git a/user/config/plugins/email.yaml b/user/config/plugins/email.yaml index 5c6114c..33c700d 100644 --- a/user/config/plugins/email.yaml +++ b/user/config/plugins/email.yaml @@ -11,7 +11,7 @@ mailer: smtp: server: smtp.mailtrap.io port: 587 - encryption: tls + encryption: none user: 5e920233e534b8 password: a78fb10acda1fc sendmail: diff --git a/user/pages/01.formulaire/AA_I.pdf b/user/pages/01.formulaire/AA_I.pdf new file mode 100644 index 0000000..f910f09 Binary files /dev/null and b/user/pages/01.formulaire/AA_I.pdf differ diff --git a/user/pages/01.formulaire/form.md b/user/pages/01.formulaire/form.md new file mode 100644 index 0000000..00527c6 --- /dev/null +++ b/user/pages/01.formulaire/form.md @@ -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 diff --git a/user/pages/02.whats-on/blog.md b/user/pages/02.whats-on/blog.md new file mode 100644 index 0000000..4b6c558 --- /dev/null +++ b/user/pages/02.whats-on/blog.md @@ -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. \ No newline at end of file diff --git a/user/pages/07.visit-us/blog.md b/user/pages/02.whats-on/events/blog.md similarity index 85% rename from user/pages/07.visit-us/blog.md rename to user/pages/02.whats-on/events/blog.md index 56edad8..c1c402b 100644 --- a/user/pages/07.visit-us/blog.md +++ b/user/pages/02.whats-on/events/blog.md @@ -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 \ No newline at end of file diff --git a/user/pages/02.whats-on/events/event-15-11-12/item.md b/user/pages/02.whats-on/events/event-15-11-12/item.md new file mode 100644 index 0000000..2815a59 --- /dev/null +++ b/user/pages/02.whats-on/events/event-15-11-12/item.md @@ -0,0 +1,6 @@ +--- +title: 'Event 15/11/12' +aura: + pagetype: website +--- + diff --git a/user/pages/02.whats-on/exhibitions/blog.md b/user/pages/02.whats-on/exhibitions/blog.md new file mode 100644 index 0000000..81ea595 --- /dev/null +++ b/user/pages/02.whats-on/exhibitions/blog.md @@ -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 \ No newline at end of file diff --git a/user/pages/02.whats-on/exhibitions/exhibitions-jean-marais/item.md b/user/pages/02.whats-on/exhibitions/exhibitions-jean-marais/item.md new file mode 100644 index 0000000..6747182 --- /dev/null +++ b/user/pages/02.whats-on/exhibitions/exhibitions-jean-marais/item.md @@ -0,0 +1,6 @@ +--- +title: 'Exhibitions Jean marais' +aura: + pagetype: website +--- + diff --git a/user/pages/03.formulaire/form.md b/user/pages/03.formulaire/form.md deleted file mode 100644 index f5b04ec..0000000 --- a/user/pages/03.formulaire/form.md +++ /dev/null @@ -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 diff --git a/user/pages/03.studio-programme/blog.md b/user/pages/03.studio-programme/blog.md new file mode 100644 index 0000000..df7784e --- /dev/null +++ b/user/pages/03.studio-programme/blog.md @@ -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. \ No newline at end of file diff --git a/user/pages/03.studio-programme/open-day/item.md b/user/pages/03.studio-programme/open-day/item.md new file mode 100644 index 0000000..79d0b6d --- /dev/null +++ b/user/pages/03.studio-programme/open-day/item.md @@ -0,0 +1,7 @@ +--- +title: 'Open day' +aura: + pagetype: website +--- + +Salut je suis une page open day \ No newline at end of file diff --git a/user/pages/04.whats-on/blog.md b/user/pages/04.news/blog.md similarity index 84% rename from user/pages/04.whats-on/blog.md rename to user/pages/04.news/blog.md index 893949c..92a1752 100644 --- a/user/pages/04.whats-on/blog.md +++ b/user/pages/04.news/blog.md @@ -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 \ No newline at end of file +Salut, News \ No newline at end of file diff --git a/user/pages/06.in-residence/blog.md b/user/pages/05.visit-us/blog.md similarity index 94% rename from user/pages/06.in-residence/blog.md rename to user/pages/05.visit-us/blog.md index 7c17595..4ca6744 100644 --- a/user/pages/06.in-residence/blog.md +++ b/user/pages/05.visit-us/blog.md @@ -13,4 +13,4 @@ aura: pagetype: website --- -Salut, About \ No newline at end of file +Salut About \ No newline at end of file diff --git a/user/pages/05.studio-programme/blog.md b/user/pages/06.visit/blog.md similarity index 79% rename from user/pages/05.studio-programme/blog.md rename to user/pages/06.visit/blog.md index 8f161aa..bd8140c 100644 --- a/user/pages/05.studio-programme/blog.md +++ b/user/pages/06.visit/blog.md @@ -1,5 +1,5 @@ --- -title: 'Studio Programme' +title: Visit content: items: - '@self.children' @@ -13,4 +13,4 @@ aura: pagetype: website --- -Salut, Studio Programme \ No newline at end of file +Salut visit \ No newline at end of file diff --git a/user/themes/vocurations/templates/blog.html.twig b/user/themes/vocurations/templates/blog.html.twig index cd4f1b0..d8ee475 100644 --- a/user/themes/vocurations/templates/blog.html.twig +++ b/user/themes/vocurations/templates/blog.html.twig @@ -32,11 +32,14 @@ {% embed 'partials/layout.html.twig' with {blog: page} %} {% block item %} -