+
+
+
+
+
+
+
+
+
+{% endif %}
+
+{{ header.console|raw }}
+
+
+ {{ header.messages|raw }}
+
+ {%- if header.is_logged_in -%}
+ {{ include('modals/preview_sql_modal.twig') }}
+ {{ include('modals/enum_set_editor.twig') }}
+ {{ include('modals/create_view.twig') }}
+ {%- endif -%}
+
+{{ content|raw }}
+
+
+{% if not footer.is_minimal %}
+ {% if footer.self_url is not empty %}
+
+ {% endif %}
+
+ {{ footer.footer|raw }}
+{% endif %}
+
+
diff --git a/resources/templates/footer.twig b/resources/templates/footer.twig
deleted file mode 100644
index f9c920c698..0000000000
--- a/resources/templates/footer.twig
+++ /dev/null
@@ -1,50 +0,0 @@
-{{ include('modals/function_confirm.twig') }}
-{{ include('modals/add_index.twig') }}
-{{ include('modals/page_settings.twig') }}
-{% if not is_ajax %}
-
-{% endif %}
-{% if not is_ajax and not is_minimal %}
- {% if self_url is not empty %}
-
- {% endif %}
-
- {{ footer|raw }}
-{% endif %}
-{% if not is_ajax %}
-