From dfbd8db34863594f47671be0ecada0aca6166bb8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 12 Aug 2011 21:35:54 +0200 Subject: Reports: toggle "[+]" to "[-]" and back on expanding/collapsing lists make the whole header bar clickable --- src/lib/Server/Reports/reports/templates/clients/detail.html | 12 ++++++------ .../Reports/reports/templates/config_items/listing.html | 4 ++-- .../Server/Reports/reports/templates/displays/summary.html | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/lib/Server/Reports/reports') diff --git a/src/lib/Server/Reports/reports/templates/clients/detail.html b/src/lib/Server/Reports/reports/templates/clients/detail.html index efd5f9e00..dd4295f21 100644 --- a/src/lib/Server/Reports/reports/templates/clients/detail.html +++ b/src/lib/Server/Reports/reports/templates/clients/detail.html @@ -62,9 +62,9 @@ span.history_links a { {% if interaction.bad_entry_count %}
-
-
[+]
+

Bad Entries — {{ interaction.bad_entry_count }}

+
[+]
{% for e in interaction.bad|sortwell %} @@ -80,9 +80,9 @@ span.history_links a { {% if interaction.modified_entry_count %}
-
-
[+]
+

Modified Entries — {{ interaction.modified_entry_count }}

+
[+]
{% for e in interaction.modified|sortwell %} @@ -98,9 +98,9 @@ span.history_links a { {% if interaction.extra_entry_count %}
-
-
[+]
+

Extra Entries — {{ interaction.extra_entry_count }}

+
[+]
{% for e in interaction.extra|sortwell %} diff --git a/src/lib/Server/Reports/reports/templates/config_items/listing.html b/src/lib/Server/Reports/reports/templates/config_items/listing.html index 572249470..9b1026a08 100644 --- a/src/lib/Server/Reports/reports/templates/config_items/listing.html +++ b/src/lib/Server/Reports/reports/templates/config_items/listing.html @@ -13,9 +13,9 @@ {% for kind, entries in item_list_dict.items %}
-
-
[+]
+

{{ kind }} — {{ entries|length }}

+
[–]
diff --git a/src/lib/Server/Reports/reports/templates/displays/summary.html b/src/lib/Server/Reports/reports/templates/displays/summary.html index 0124f635d..b9847cf96 100644 --- a/src/lib/Server/Reports/reports/templates/displays/summary.html +++ b/src/lib/Server/Reports/reports/templates/displays/summary.html @@ -22,9 +22,9 @@ hide_tables[{{ forloop.counter0 }}] = "table_{{ summary.name }}"; {% if summary_data %} {% for summary in summary_data %}
-
-
[+]
+

{{ summary.nodes|length }} {{ summary.label }}

+
[+]
-- cgit v1.2.3-1-g7c22