diff --git a/netbox/templates/extras/report.html b/netbox/templates/extras/report.html index f69db9c44..68e888097 100644 --- a/netbox/templates/extras/report.html +++ b/netbox/templates/extras/report.html @@ -10,7 +10,7 @@ {% block breadcrumbs %} -{% endblock %} +{% endblock breadcrumbs %} {% block subtitle %} {% if report.description %} @@ -18,7 +18,7 @@
{{ report.description|render_markdown }}
{% endif %} -{% endblock %} +{% endblock subtitle %} {% block controls %}{% endblock %} @@ -28,34 +28,32 @@ Report -{% endblock %} +{% endblock tabs %} -{% block content-wrapper %} -
-
- {% if perms.extras.run_report %} -
-
- {% csrf_token %} - -
-
- {% endif %} -
-
- {% if report.result %} - Last run: - {{ report.result.created|annotated_date }} - - {% endif %} -
+{% block content %} +
+ {% if perms.extras.run_report %} +
+
+ {% csrf_token %} + +
+ {% endif %} +
+
+ {% if report.result %} + Last run: + {{ report.result.created|annotated_date }} + + {% endif %} +
-{% endblock %} +{% endblock content %} diff --git a/netbox/templates/extras/script.html b/netbox/templates/extras/script.html index bb2b83360..7d37b0cbb 100644 --- a/netbox/templates/extras/script.html +++ b/netbox/templates/extras/script.html @@ -7,69 +7,67 @@ {% block object_identifier %} {{ script.full_name }} -{% endblock %} +{% endblock object_identifier %} {% block breadcrumbs %} -{% endblock %} +{% endblock breadcrumbs %} {% block subtitle %}
{{ script.Meta.description|render_markdown }}
-{% endblock %} +{% endblock subtitle %} {% block controls %}{% endblock %} {% block tabs %} - -{% endblock %} + +{% endblock tabs %} -{% block content-wrapper %} -
-
-
-
- {% if not perms.extras.run_script %} -
- - You do not have permission to run scripts. -
- {% endif %} -
- {% csrf_token %} -
- {% if form.requires_input %} -
-
Script Data
-
- {% else %} -
- - This script does not require any input to run. -
- {% endif %} - {% render_form form %} -
-
- Cancel - -
-
-
+{% block content %} +
+
+
+ {% if not perms.extras.run_script %} +
+ + You do not have permission to run scripts. +
+ {% endif %} +
+ {% csrf_token %} +
+ {% if form.requires_input %} +
+
Script Data
+
+ {% else %} +
+ + This script does not require any input to run. +
+ {% endif %} + {% render_form form %} +
+
+ Cancel + +
+
-
- {{ script.filename }} -
{{ script.source }}
-
-{% endblock content-wrapper %} +
+ {{ script.filename }} +
{{ script.source }}
+
+{% endblock content %} diff --git a/netbox/templates/ipam/vlan/base.html b/netbox/templates/ipam/vlan/base.html index 74af7f16f..42c6c0347 100644 --- a/netbox/templates/ipam/vlan/base.html +++ b/netbox/templates/ipam/vlan/base.html @@ -37,9 +37,3 @@ {% endif %} {% endblock %} - -{% block content-wrapper %} -
- {% block content %}{% endblock %} -
-{% endblock %}