From 4063587b20cbd97e55069a7ea94a2a231b7de622 Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Wed, 6 Jun 2012 14:19:42 -0500 Subject: web_reports: add group filtering logic to grid and detailed list --- .../Reports/reports/templates/widgets/filter_bar.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Server/Reports/reports/templates/widgets/filter_bar.html') diff --git a/src/lib/Bcfg2/Server/Reports/reports/templates/widgets/filter_bar.html b/src/lib/Bcfg2/Server/Reports/reports/templates/widgets/filter_bar.html index 6fbe585ab..759415507 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/templates/widgets/filter_bar.html +++ b/src/lib/Bcfg2/Server/Reports/reports/templates/widgets/filter_bar.html @@ -1,13 +1,25 @@ {% spaceless %} +
+
{% if filters %} {% for filter, filter_url in filters %} {% if forloop.first %} -
Active filters (click to remove): + Active filters (click to remove): {% endif %} {{ filter|capfirst }}{% if not forloop.last %}, {% endif %} {% if forloop.last %} -
+ {% if groups %}|{% endif %} {% endif %} {% endfor %} {% endif %} +{% if groups %} + + +{% endif %} +
+
{% endspaceless %} -- cgit v1.2.3-1-g7c22