refactor: adjust template block names

renamed so they make sense

!20
This commit is contained in:
2024-06-07 20:01:56 +09:30
parent b38984fcb9
commit 95a08b2d2c
21 changed files with 27 additions and 28 deletions

View File

@ -3,7 +3,7 @@
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="<< Back to settings" onclick="window.location='{% url 'Settings:Settings' %}';">
<input type="button" value="New Device Model" onclick="window.location='{% url 'Settings:_device_model_add' %}';">

View File

@ -3,7 +3,7 @@
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="<< Back to settings" onclick="window.location='{% url 'Settings:Settings' %}';">
<input type="button" value="New Device Type" onclick="window.location='{% url 'Settings:_device_type_add' %}';">

View File

@ -1,7 +1,7 @@
{% extends 'base.html.j2' %}
{% block content%}
{% block article %}
<style>
div#content {

View File

@ -3,7 +3,7 @@
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="<< Back to settings" onclick="window.location='{% url 'Settings:Settings' %}';">
<input type="button" value="New Manufacturer" onclick="window.location='{% url 'Settings:_manufacturer_add' %}';">

View File

@ -3,7 +3,7 @@
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="<< Back to settings" onclick="window.location='{% url 'Settings:Settings' %}';">