From bb3d16d273bb3e4552e4869dd22cb2c2d81f5387 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 26 Aug 2018 02:54:52 +0200 Subject: Added Twig template renderer, closes #338 --- templates/layouts/app.twig | 80 +++++++++++++++++++++++++++++++++++ templates/layouts/maintenance.html | 86 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 166 insertions(+) create mode 100644 templates/layouts/app.twig create mode 100644 templates/layouts/maintenance.html (limited to 'templates/layouts') diff --git a/templates/layouts/app.twig b/templates/layouts/app.twig new file mode 100644 index 00000000..6b6bd16f --- /dev/null +++ b/templates/layouts/app.twig @@ -0,0 +1,80 @@ + + + + {% block head %} + {% block title %}{{ title }}{% endblock %} - Engelsystem + + + + + + + + {{ atom_link|raw }} + {% endblock %} + + + +{% block body %} + + +
+
{% block content %}{{ content|raw }}{% endblock %}
+ +
+ + + + + + + + + + +{% endblock %} + + + diff --git a/templates/layouts/maintenance.html b/templates/layouts/maintenance.html new file mode 100644 index 00000000..bd73bd74 --- /dev/null +++ b/templates/layouts/maintenance.html @@ -0,0 +1,86 @@ + + + + Maintenance - Engelsystem + + + + + + + + + + +
+
+
+
+

+ + + +

+
+

+ The ENGELSYSTEM is in maintenance mode. +

+

This may be due to...

+

+ ...archangels closing the gates of heaven.
+ ...somebody's stolen the power chord and now the battery is empty.
+ ...DHCP decided to give me another ip address. +

+
+
+ +
+
+
+
+ +
+ + + + + + + + + + -- cgit v1.2.3-70-g09d2