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 744792452f
commit 805892f623
73 changed files with 426 additions and 468 deletions
@@ -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">
@@ -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>
@@ -1,4 +1,4 @@
{% extends 'layout.html' %}
{% extends 'base/layout.html' %}
{% load helpers %}
{% load form_helpers %}
@@ -102,12 +102,12 @@
</div>
<div class="row mb-3">
<div class="col col-md-12">
{% include 'panel_table.html' with table=vlan_table heading="VLANs" %}
{% include 'inc/panel_table.html' with table=vlan_table heading="VLANs" %}
</div>
</div>
<div class="row mb-3">
<div class="col col-md-12">
{% include 'panel_table.html' with table=child_interfaces_table heading="Child Interfaces" %}
{% include 'inc/panel_table.html' with table=child_interfaces_table heading="Child Interfaces" %}
</div>
</div>
<div class="row">