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

@ -2,7 +2,7 @@
{% block title %}{{ device.name }}{% endblock %}
{% block body %}
{% block content %}
<script>

View File

@ -3,7 +3,7 @@
{% block title %}Devices{% endblock %}
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="New Device" onclick="window.location='{% url 'ITAM:_device_add' %}';">
<table class="data">

View File

@ -2,7 +2,7 @@
{% block title %}{{ operating_system.name }}{% endblock %}
{% block body %}
{% block content %}
<script>

View File

@ -3,7 +3,7 @@
{% block title %}Operating Systems{% endblock %}
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="New Operating System" onclick="window.location='{% url 'ITAM:_operating_system_add' %}';">
<table class="data">

View File

@ -2,7 +2,7 @@
{% block title %}{{ software.name }}{% endblock %}
{% block body %}
{% block content %}
<script>

View File

@ -3,7 +3,7 @@
{% block title %}Software{% endblock %}
{% block content_header_icon %}{% endblock %}
{% block body %}
{% block content %}
<input type="button" value="New Software" onclick="window.location='{% url 'ITAM:_software_add' %}';">
<table class="data">