diff --git a/netbox/project-static/css/base.css b/netbox/project-static/css/base.css index 0f6b24077..ce6a8e2d8 100644 --- a/netbox/project-static/css/base.css +++ b/netbox/project-static/css/base.css @@ -338,6 +338,18 @@ table.component-list tr.ipaddress:hover td { background-color: #e6f7f7; } +/* Reports */ +table.reports td.method { + font-family: monospace; + padding-left: 30px; +} +table.reports td.stats label { + display: inline-block; + line-height: 14px; + margin-bottom: 0; + min-width: 40px; +} + /* AJAX loader */ .loading { position: fixed; diff --git a/netbox/templates/extras/report_list.html b/netbox/templates/extras/report_list.html index 492da8b75..947e22fb5 100644 --- a/netbox/templates/extras/report_list.html +++ b/netbox/templates/extras/report_list.html @@ -7,39 +7,43 @@
{% for module, module_reports in reports %}

{{ module|bettertitle }}

- +
+ - {% for report in module_reports %} - + + {% if report.results %} {% else %} {% endif %} - {% for method, stats in report.results.data.items %} - + - {% endfor %} {% endfor %}
NameStatus Description Last RunStatus
{{ report.name }} + + {{ report.name }} + + {% include 'extras/inc/report_label.html' %} + {{ report.description|default:"" }}{{ report.results.created }}Never{% include 'extras/inc/report_label.html' %}
-
- - - - -
- {{ method }} +
+ {{ method }} + + + + +