From c1a1180d1f43a430b38450cb0b64bcd74487b4ae Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Mon, 10 Sep 2018 17:22:05 +0200 Subject: Moved frontend, templates and lang to resources --- resources/views/errors/default.twig | 7 +++ resources/views/layouts/app.twig | 74 ++++++++++++++++++++++++++++ resources/views/layouts/maintenance.html | 71 +++++++++++++++++++++++++++ resources/views/pages/credits.html | 36 ++++++++++++++ resources/views/pages/user-shifts.html | 83 ++++++++++++++++++++++++++++++++ 5 files changed, 271 insertions(+) create mode 100644 resources/views/errors/default.twig create mode 100644 resources/views/layouts/app.twig create mode 100644 resources/views/layouts/maintenance.html create mode 100644 resources/views/pages/credits.html create mode 100644 resources/views/pages/user-shifts.html (limited to 'resources/views') diff --git a/resources/views/errors/default.twig b/resources/views/errors/default.twig new file mode 100644 index 00000000..5fb8bcbd --- /dev/null +++ b/resources/views/errors/default.twig @@ -0,0 +1,7 @@ +{% extends "layouts/app.twig" %} + +{% block title %}{% if status == 404 %}{{ __("Page not found") }}{% else %}Error {{ status }}{% endif %}{% endblock %} + +{% block content %} +
{{ content }}
+{% endblock %} diff --git a/resources/views/layouts/app.twig b/resources/views/layouts/app.twig new file mode 100644 index 00000000..aa45484d --- /dev/null +++ b/resources/views/layouts/app.twig @@ -0,0 +1,74 @@ +{% set theme = user.color|default(config('theme')) %} + + + + {% block head %} + {% block title %}{{ title }}{% endblock %} - Engelsystem + + + + + + + + {% if atom_feed -%} + + {% endif %} + + {% endblock %} + + + +{% block body %} + + +
+
{% block content %}{{ content|raw }}{% endblock %}
+ +
+{% endblock %} + + + diff --git a/resources/views/layouts/maintenance.html b/resources/views/layouts/maintenance.html new file mode 100644 index 00000000..f7ab5772 --- /dev/null +++ b/resources/views/layouts/maintenance.html @@ -0,0 +1,71 @@ + + + + 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. +

+
+
+ +
+
+
+
+ +
+ + diff --git a/resources/views/pages/credits.html b/resources/views/pages/credits.html new file mode 100644 index 00000000..4e247113 --- /dev/null +++ b/resources/views/pages/credits.html @@ -0,0 +1,36 @@ +
+

Credits

+
+
+

Source code

+

+ The original system was written by cookie. + It was then completely rewritten and enhanced by + msquare (maintainer), + MyIgel, + mortzu, + jplitza and + gnomus. +

+

+ Please look at the + contributor list on github for a more complete version. +

+
+
+

Hosting

+

+ Webspace, development platform and domain on engelsystem.de + is currently provided by would you buy this? (ichdasich) + and adminstrated by mortzu, + derf and ichdasich. +

+
+
+

Translation

+

+ Many thanks for the german translation: e7p +

+
+
+
diff --git a/resources/views/pages/user-shifts.html b/resources/views/pages/user-shifts.html new file mode 100644 index 00000000..2fdade29 --- /dev/null +++ b/resources/views/pages/user-shifts.html @@ -0,0 +1,83 @@ + + +
+ +
+
+

%title%

+
%start_select%
+
+
+ +
+ +
+
+
+ – +
%end_select%
+
+
+ +
+ +
+
+
+ +
+
+ %buttons% +
+
+
+
+ +
+
%room_select%
+
%type_select%
+
%filled_select%
+

%task_notice%

+
+
+
+
+
+ +
+
+
+%shifts_table% %ical_text% -- cgit v1.2.3-54-g00ecf