mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-30 02:30:52 +00:00
Replace mklint with djlint (#4746)
* remove markuplint * remove dedicated html step - will be done by pre-commit * add djlint for django template linting * Fix T003: Endblock should have name * Fix H013: Img tag should have an alt attribute * Fix H014: Found extra blank lines * Fix T003: Endblock should have name * Fix H013: Img tag should have an alt attribute * small fixes * Fix T001: Variables should be wrapped in a single whitespace * Fix T003: Endblock should have name * small fixes * fix form method * add entry to contributing * fix template changes * another fix * use current version
This commit is contained in:
@ -5,13 +5,13 @@
|
||||
|
||||
{% block head %}
|
||||
<meta http-equiv="refresh" content="30">
|
||||
{% endblock %}
|
||||
{% endblock head %}
|
||||
|
||||
{% block page_title %}
|
||||
{% trans 'Site is in Maintenance' %}
|
||||
{% endblock %}
|
||||
{% endblock page_title %}
|
||||
|
||||
{% block body_class %}login-screen' style='background: url({% inventree_splash %}); background-size: cover;{% endblock %}
|
||||
{% block body_class %}login-screen' style='background: url({% inventree_splash %}); background-size: cover;{% endblock body_class %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
@ -23,30 +23,29 @@
|
||||
|
||||
<div class='main body-wrapper login-screen d-flex'>
|
||||
|
||||
|
||||
<div class='login-container'>
|
||||
<div class="row">
|
||||
<div class='container-fluid'>
|
||||
|
||||
<div class='clearfix content-heading login-header d-flex flex-wrap'>
|
||||
<img class="pull-left" src="{% inventree_logo %}" width="60" height="60"/>
|
||||
<img class="pull-left" alt='{% trans "Image" %}' src="{% inventree_logo %}" width="60" height="60"/>
|
||||
{% include "spacer.html" %}
|
||||
<span class='float-right'><h3>{% block body_title %}{% trans 'Site is in Maintenance' %}{% endblock %}</h3></span>
|
||||
<span class='float-right'><h3>{% block body_title %}{% trans 'Site is in Maintenance' %}{% endblock body_title %}</h3></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='container-fluid'>
|
||||
<hr>
|
||||
{% block content %}
|
||||
{% trans 'The site is currently in maintenance and should be up again soon!' %}
|
||||
{% endblock %}
|
||||
{% endblock content %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% block extra_body %}
|
||||
{% endblock %}
|
||||
{% endblock extra_body %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock body %}
|
||||
|
||||
{% block js_base %}
|
||||
<script type='text/javascript'>
|
||||
@ -67,6 +66,6 @@ $(document).ready(function () {
|
||||
inventreeDocReady();
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock js_base %}
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user