diff --git a/InvenTree/templates/503.html b/InvenTree/templates/503.html index f7381aeb69..8cef12212d 100644 --- a/InvenTree/templates/503.html +++ b/InvenTree/templates/503.html @@ -1,14 +1,17 @@ -{% extends "account/base.html" %} +{% extends "auth_base.html" %} {% load i18n %} -{% block head_title %} -{% trans "Page is in Maintenance" %} + +{% block head %} + {% endblock %} -{% block content %} -

{% trans "The Page is in currently in maintenance mode" %}

+{% block page_title %} + {% trans 'Site is in Maintenance' %} +{% endblock %} -
- {% trans "This page will reload each minute until the page becomes available again." %} -
+{% block body_title %}{% trans 'Site is in Maintenance' %}{% endblock %} + +{% block content %} +{% trans 'The site is currently in maintenance and should be up again soon!' %} {% endblock %} \ No newline at end of file diff --git a/InvenTree/templates/auth_base.html b/InvenTree/templates/auth_base.html new file mode 100644 index 0000000000..603b417e78 --- /dev/null +++ b/InvenTree/templates/auth_base.html @@ -0,0 +1,69 @@ +{% 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 content %} + {% endblock %} +
+
+
+ + {% block extra_body %} + {% endblock %} +
+{% endblock %} + +{% block js_base %} + +{% endblock %} + + \ No newline at end of file diff --git a/InvenTree/templates/skeleton.html b/InvenTree/templates/skeleton.html new file mode 100644 index 0000000000..ffd634e4f4 --- /dev/null +++ b/InvenTree/templates/skeleton.html @@ -0,0 +1,99 @@ +{% load static %} +{% load i18n %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{% block head_css %} +{% endblock %} + + + +{% block head %} +{% endblock %} + + +{% block page_title %} +{% endblock %} + + + + +{% block body %} +{% endblock %} + + + + + +{% block body_scripts_general %} +{% endblock %} + + + + + + + + + + + + + + +{% block body_scripts_inventree %} +{% endblock %} + + + + + + +{% block js_load %} +{% endblock %} + +{% block js_base %} +{% endblock %} + +{% block js %} +{% endblock %} + + + \ No newline at end of file