mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-06 13:40:56 +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:
@ -39,32 +39,32 @@
|
||||
<link rel="stylesheet" href="{% static 'css/inventree.css' %}">
|
||||
|
||||
{% block head_css %}
|
||||
{% endblock %}
|
||||
{% endblock head_css %}
|
||||
|
||||
<style>
|
||||
{% block css %}
|
||||
{% endblock %}
|
||||
{% endblock css %}
|
||||
</style>
|
||||
|
||||
{% block head %}
|
||||
{% endblock %}
|
||||
{% endblock head %}
|
||||
|
||||
<title>
|
||||
{% block page_title %}
|
||||
{% endblock %}
|
||||
{% endblock page_title %}
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body class='{% block body_class %}{% endblock %}'>
|
||||
<body class='{% block body_class %}{% endblock body_class %}'>
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
{% endblock body %}
|
||||
|
||||
<!-- Scripts -->
|
||||
<script type="text/javascript" src="{% static 'script/jquery_3.3.1_jquery.min.js' %}"></script>
|
||||
<script type='text/javascript' src="{% static 'script/jquery-ui/jquery-ui.min.js' %}"></script>
|
||||
<script type="text/javascript" src="{% static 'bootstrap/js/bootstrap.bundle.min.js' %}"></script>
|
||||
{% block body_scripts_general %}
|
||||
{% endblock %}
|
||||
{% endblock body_scripts_general %}
|
||||
|
||||
{% include "third_party_js.html" %}
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
<script type='text/javascript' src="{% static 'script/inventree/message.js' %}"></script>
|
||||
<script type='text/javascript' src="{% i18n_static 'notification.js' %}"></script>
|
||||
{% block body_scripts_inventree %}
|
||||
{% endblock %}
|
||||
{% endblock body_scripts_inventree %}
|
||||
|
||||
<!-- fontawesome -->
|
||||
<script type='text/javascript' src="{% static 'fontawesome/js/solid.js' %}"></script>
|
||||
@ -81,13 +81,13 @@
|
||||
<script type='text/javascript' src="{% static 'fontawesome/js/fontawesome.js' %}"></script>
|
||||
|
||||
{% block js_load %}
|
||||
{% endblock %}
|
||||
{% endblock js_load %}
|
||||
|
||||
{% block js_base %}
|
||||
{% endblock %}
|
||||
{% endblock js_base %}
|
||||
|
||||
{% block js %}
|
||||
{% endblock %}
|
||||
{% endblock js %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user