From 73999e6a91d9665e6e89700f78390dddbf2ecd73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 7 Jul 2021 17:23:28 +0200 Subject: [PATCH] Add calendar views --- Resources/views/calendar/callback.html.twig | 14 +++++++++++ Resources/views/calendar/index.html.twig | 27 +++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 Resources/views/calendar/callback.html.twig create mode 100644 Resources/views/calendar/index.html.twig diff --git a/Resources/views/calendar/callback.html.twig b/Resources/views/calendar/callback.html.twig new file mode 100644 index 0000000..8b18f82 --- /dev/null +++ b/Resources/views/calendar/callback.html.twig @@ -0,0 +1,14 @@ +{% extends '@RapsysAir/body.html.twig' %} +{% block content %} +
+
+

{{ section }}

+

{{ description }}

+
+ {% if error is defined %} +

{{ error }}

+ {% elseif message is defined %} +

{{ message }}

+ {% endif %} +
+{% endblock %} diff --git a/Resources/views/calendar/index.html.twig b/Resources/views/calendar/index.html.twig new file mode 100644 index 0000000..e650aee --- /dev/null +++ b/Resources/views/calendar/index.html.twig @@ -0,0 +1,27 @@ +{% extends '@RapsysAir/body.html.twig' %} +{% block content %} +
+
+

{{ section }}

+

{{ description }}

+
+ {{ form_start(form) }} +
+ {{ form_row(form.calendar) }} + + {{ form_row(form.prefix) }} + + {{ form_row(form.project) }} + + {{ form_row(form.client) }} + + {{ form_row(form.secret) }} + + {{ form_row(form.submit) }} +
+ + {# Render CSRF token etc .#} + + {{ form_end(form) }} +
+{% endblock %} -- 2.41.1