From a2034fc80d4e73816502537f8dfe864ab4ef8db3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 15 Sep 2012 09:14:36 -0500 Subject: Add JS-based filtering to the developer reports This can use the todolist filtering functions we made more generic in a previous commit. Signed-off-by: Dan McGee --- templates/devel/packages.html | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'templates/devel') diff --git a/templates/devel/packages.html b/templates/devel/packages.html index ac36812..4e1381a 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -13,7 +13,28 @@ {% if maintainer %}This report only includes packages maintained by {{ maintainer.get_full_name }} ({{ maintainer.username }}).{% endif %}

- + +
+

Filter Packages

+
+
+ Select filter criteria + {% for arch in arches %} +
+
+ {% endfor %} + {% for repo in repos %} +
+
+ {% endfor %} +
+
+
{{ packages|length }} packages displayed.
+
+ +
+ +
@@ -31,7 +52,7 @@ {% for pkg in packages %} - + @@ -57,6 +78,11 @@ {% endblock %} -- cgit v1.2.3-24-g4f1b
Arch
{{ pkg.arch.name }} {{ pkg.repo.name|capfirst }} {% pkg_details_link pkg %}