-
-
-
- Name |
- Status |
- Description |
- Last Run |
- |
-
-
-
- {% for report in module_reports %}
-
-
- {{ report.name }}
- |
-
- {% include 'extras/inc/job_label.html' with result=report.result %}
- |
- {{ report.description|render_markdown|placeholder }} |
-
- {% if report.result %}
- {{ report.result.created|annotated_date }}
- {% else %}
- Never
- {% endif %}
- |
-
- {% if perms.extras.run_report %}
-
-
-
- {% endif %}
- |
-
- {% for method, stats in report.result.data.items %}
-
-
- {{ method }}
- |
-
- {{ stats.success }}
- {{ stats.info }}
- {{ stats.warning }}
- {{ stats.failure }}
- |
-
- {% endfor %}
- {% endfor %}
-
-
+{% block tabs %}
+
+{% endblock tabs %}
+
+{% block content-wrapper %}
+
+ {% if reports %}
+ {% for module, module_reports in reports %}
+
+
+
+
+
+
+ Name |
+ Status |
+ Description |
+ Last Run |
+ |
+
+
+
+ {% for report in module_reports %}
+
+
+ {{ report.name }}
+ |
+
+ {% include 'extras/inc/job_label.html' with result=report.result %}
+ |
+ {{ report.description|render_markdown|placeholder }} |
+
+ {% if report.result %}
+ {{ report.result.created|annotated_date }}
+ {% else %}
+ Never
+ {% endif %}
+ |
+
+ {% if perms.extras.run_report %}
+
+
-
+ {% endif %}
+ |
+
+ {% for method, stats in report.result.data.items %}
+
+
+ {{ method }}
+ |
+
+ {{ stats.success }}
+ {{ stats.info }}
+ {{ stats.warning }}
+ {{ stats.failure }}
+ |
+
+ {% endfor %}
{% endfor %}
- {% else %}
-
-
No Reports Found
- Reports should be saved to {{ settings.REPORTS_ROOT }}
.
-
- This path can be changed by setting REPORTS_ROOT
in NetBox's configuration.
-
- {% endif %}
+
+
+
-
- {% if reports %}
-
-
- {% for module, module_reports in reports %}
-
{{ module|bettertitle }}
-
- {% endfor %}
-
-
- {% endif %}
-
-
-{% endblock %}
+ {% endfor %}
+ {% else %}
+
+
No Reports Found
+ Reports should be saved to {{ settings.REPORTS_ROOT }}
.
+
+ This path can be changed by setting REPORTS_ROOT
in NetBox's configuration.
+
+ {% endif %}
+
+{% endblock content-wrapper %}
diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html
index 1cc35d36c..ccbdca705 100644
--- a/netbox/templates/extras/script_list.html
+++ b/netbox/templates/extras/script_list.html
@@ -3,74 +3,66 @@
{% block title %}Scripts{% endblock %}
-{% block content %}
-
-
- {% if scripts %}
- {% for module, module_scripts in scripts.items %}
-
{{ module|bettertitle }}
-
-
-
- Name |
- Status |
- Description |
- Last Run |
-
-
-
- {% for class_name, script in module_scripts.items %}
-
-
- {{ script }}
- |
-
- {% include 'extras/inc/job_label.html' with result=script.result %}
- |
- {{ script.Meta.description|render_markdown }} |
- {% if script.result %}
-
- {{ script.result.created|annotated_date }}
- |
- {% else %}
- Never |
- {% endif %}
-
- {% endfor %}
-
-
+{% block tabs %}
+
+{% endblock tabs %}
+
+{% block content-wrapper %}
+
+ {% if scripts %}
+ {% for module, module_scripts in scripts.items %}
+
+
+
+
+
+
+ Name |
+ Status |
+ Description |
+ Last Run |
+
+
+
+ {% for class_name, script in module_scripts.items %}
+
+
+ {{ script }}
+ |
+
+ {% include 'extras/inc/job_label.html' with result=script.result %}
+ |
+
+ {{ script.Meta.description|render_markdown|placeholder }}
+ |
+ {% if script.result %}
+
+ {{ script.result.created|annotated_date }}
+ |
+ {% else %}
+ Never |
+ {% endif %}
+
{% endfor %}
- {% else %}
-
-
No Scripts Found
- Scripts should be saved to {{ settings.SCRIPTS_ROOT }}
.
-
- This path can be changed by setting SCRIPTS_ROOT
in NetBox's configuration.
-
- {% endif %}
+
+
+
-
- {% if scripts %}
-
-
- {% for module, module_scripts in scripts.items %}
-
{{ module|bettertitle }}
-
- {% endfor %}
-
-
- {% endif %}
-
-
-{% endblock %}
+ {% endfor %}
+ {% else %}
+
+
No Scripts Found
+ Scripts should be saved to {{ settings.SCRIPTS_ROOT }}
.
+
+ This path can be changed by setting SCRIPTS_ROOT
in NetBox's configuration.
+
+ {% endif %}
+
+{% endblock content-wrapper %}