From f490626b8a2ff360c4a914615484ea6e5bf8cdee Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 19 Oct 2024 12:38:45 +0200 Subject: Add modern theme --- src/application/templates/modern/error_page.twig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/application/templates/modern/error_page.twig (limited to 'src/application/templates/modern/error_page.twig') diff --git a/src/application/templates/modern/error_page.twig b/src/application/templates/modern/error_page.twig new file mode 100644 index 0000000..dde4057 --- /dev/null +++ b/src/application/templates/modern/error_page.twig @@ -0,0 +1,12 @@ +{% set title = __("Error") %} +{% extends "base.twig" %} + +{% block navbar %} + {% if not ctx.skipLoginCheck %} + {{ parent() }} + {% endif %} +{% endblock %} + +{% block content %} + {% include "components/alert_error.twig" with { message: ctx.message } %} +{% endblock %} -- cgit v1.2.3