From 85e71b7f13c02250139ee29ff3fb18ffcc5fabc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 31 Oct 2024 07:37:16 +0100 Subject: [PATCH] Base index template --- Resources/views/index.html.twig | 4 ---- templates/index.html.twig | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) delete mode 100644 Resources/views/index.html.twig create mode 100644 templates/index.html.twig 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 %} -- 2.41.1