Template cleanup (#6421)

* Clean up & comment base templates

* Clean up login template & form

* Use SVG file for NetBox logo

* Simplify breadcrumbs

* Merge changelog.html into home.html

* Rename title_container block to header

* Move breadcrumbs block to object.html

* Attach names to endblock template tags

* Reorganize root-level templates into base/ and inc/

* Remove obsolete reference to Bootstrap 3.4.1
This commit is contained in:
Jeremy Stretch
2021-05-17 16:27:27 -04:00
committed by GitHub
parent 00b4a82ee8
commit cb7cde2a6b
73 changed files with 426 additions and 468 deletions

View File

@@ -11,7 +11,7 @@
<form action="{% url 'virtualization:cluster_remove_devices' pk=object.pk %}" method="post">
{% csrf_token %}
<div class="card-body">
{% include 'responsive_table.html' with table=devices_table %}
{% include 'inc/responsive_table.html' with table=devices_table %}
</div>
{% if perms.virtualization.change_cluster %}
<div class="card-footer noprint">

View File

@@ -9,7 +9,7 @@
Virtual Machines
</h5>
<div class="card-body">
{% include 'responsive_table.html' with table=virtualmachines_table %}
{% include 'inc/responsive_table.html' with table=virtualmachines_table %}
</div>
</div>
</div>