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') diff --git a/templates/devel/packages.html b/templates/devel/packages.html index ac368124..4e1381ab 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -13,7 +13,28 @@

{{ title }}{% if maintainer %}, {% 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 @@

{{ title }}{% if maintainer %},

{% for pkg in packages %} - + @@ -57,6 +78,11 @@

{{ title }}{% if maintainer %}, {% endblock %} -- cgit v1.2.3-54-g00ecf

Arch
{{ pkg.arch.name }} {{ pkg.repo.name|capfirst }} {% pkg_details_link pkg %}