From 7950b23c495ca9e496538b1ec50e855827ba3007 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 28 Apr 2023 18:35:42 +0200 Subject: [PATCH] TASK improve structure index file --- templates/dynamics/popup.html.tera | 0 templates/dynamics/sidebar.html.tera | 0 templates/forms/event.html.tera | 14 ++++++++++++++ templates/forms/trip.html.tera | 11 +++++++++++ templates/index.html.tera | 28 ++-------------------------- 5 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 templates/dynamics/popup.html.tera create mode 100644 templates/dynamics/sidebar.html.tera create mode 100644 templates/forms/event.html.tera create mode 100644 templates/forms/trip.html.tera diff --git a/templates/dynamics/popup.html.tera b/templates/dynamics/popup.html.tera new file mode 100644 index 0000000..e69de29 diff --git a/templates/dynamics/sidebar.html.tera b/templates/dynamics/sidebar.html.tera new file mode 100644 index 0000000..e69de29 diff --git a/templates/forms/event.html.tera b/templates/forms/event.html.tera new file mode 100644 index 0000000..8c80a83 --- /dev/null +++ b/templates/forms/event.html.tera @@ -0,0 +1,14 @@ +{% import "includes/macros" as macros %} + + \ No newline at end of file diff --git a/templates/forms/trip.html.tera b/templates/forms/trip.html.tera new file mode 100644 index 0000000..ae6e1d2 --- /dev/null +++ b/templates/forms/trip.html.tera @@ -0,0 +1,11 @@ +{% import "includes/macros" as macros %} + + \ No newline at end of file diff --git a/templates/index.html.tera b/templates/index.html.tera index 5d13103..b284e75 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -273,31 +273,7 @@ {# --- END Add Trip Sidebar --- #} -{# --- START Form Add Trip --- #} - -{# --- END Form Add Trip --- #} - -{# --- START Form Add Event --- #} - -{# --- END Form Add Event --- #} +{% include "forms/trip" %} +{% include "forms/event" %} {% endblock content %}