From: Raphaƫl Gertz Date: Wed, 7 Jul 2021 15:23:28 +0000 (+0200) Subject: Add calendar views X-Git-Tag: 0.2.4~31 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/73999e6a91d9665e6e89700f78390dddbf2ecd73 Add calendar views --- 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 %}