From cecee032d755ee80fb9db419f65b5387387f9b3b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 21 Nov 2021 01:21:25 +0100 Subject: [PATCH] streamline html templates --- InvenTree/templates/503.html | 70 +++++++++++++++++++++++++++--- InvenTree/templates/auth_base.html | 69 ----------------------------- 2 files changed, 63 insertions(+), 76 deletions(-) delete mode 100644 InvenTree/templates/auth_base.html diff --git a/InvenTree/templates/503.html b/InvenTree/templates/503.html index 8cef12212d..fbee60c694 100644 --- a/InvenTree/templates/503.html +++ b/InvenTree/templates/503.html @@ -1,17 +1,73 @@ -{% extends "auth_base.html" %} +{% extends "skeleton.html" %} +{% load static %} {% load i18n %} - {% block head %} {% endblock %} {% block page_title %} - {% trans 'Site is in Maintenance' %} +{% trans 'Site is in Maintenance' %} {% endblock %} -{% block body_title %}{% trans 'Site is in Maintenance' %}{% endblock %} +{% block body_class %}login-screen{% endblock %} -{% block content %} -{% trans 'The site is currently in maintenance and should be up again soon!' %} -{% endblock %} \ No newline at end of file +{% block body %} + +
+
+ +
+
+ +
+ + + + + {% block extra_body %} + {% endblock %} +
+{% endblock %} + +{% block js_base %} + +{% endblock %} + + diff --git a/InvenTree/templates/auth_base.html b/InvenTree/templates/auth_base.html deleted file mode 100644 index 603b417e78..0000000000 --- a/InvenTree/templates/auth_base.html +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "skeleton.html" %} -{% load static %} -{% load i18n %} -{% load inventree_extras %} - -{% block page_title %} -{% inventree_title %} | {% block head_title %}{% endblock %} -{% endblock %} - -{% block body_class %}login-screen{% endblock %} - -{% block body %} - -
-
- -
-
- -
- - - - - {% block extra_body %} - {% endblock %} -
-{% endblock %} - -{% block js_base %} - -{% endblock %} - - \ No newline at end of file