From: Raphaƫl Gertz Date: Thu, 31 Oct 2024 06:37:16 +0000 (+0100) Subject: Base index template X-Git-Tag: 0.0.5~9 X-Git-Url: https://git.rapsys.eu/treebundle/commitdiff_plain/85e71b7f13c02250139ee29ff3fb18ffcc5fabc6?ds=sidebyside Base index template --- diff --git a/Resources/views/index.html.twig b/Resources/views/index.html.twig deleted file mode 100644 index 1ec5d90..0000000 --- a/Resources/views/index.html.twig +++ /dev/null @@ -1,4 +0,0 @@ -{% extends '@RapsysTree/base.html.twig' %} -{% block content %} - TODO -{% endblock %} diff --git a/templates/index.html.twig b/templates/index.html.twig new file mode 100644 index 0000000..b7fd158 --- /dev/null +++ b/templates/index.html.twig @@ -0,0 +1,19 @@ +{% extends '@RapsysTree/_base.html.twig' %} +{% block content %} +
+
+

{{ title.section }}

+

{{ description }}

+
+
+ {% for id, path in roots %} +
+
+

{{ id }}

+
+ TODO: list of images ? +
+ {% endfor %} +
+
+{% endblock %}