diff options
Diffstat (limited to 'templates/searchresults.html')
-rw-r--r-- | templates/searchresults.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/searchresults.html b/templates/searchresults.html new file mode 100644 index 0000000..6f5abe5 --- /dev/null +++ b/templates/searchresults.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block title %} +Debian Project patch tracking system +{% endblock %} +{% block content %} +<h1>Debian Project patch tracking system</h1> +<h2>Search Results: {{ searchDescription }} - {{ searchKey }}</h2> +<table class="packagelisting"> +<tr> +<th>package</th> +{% for dist in packageIndex.dists %} + <th>{{ dist }}</th> +{% endfor %} +</tr> +{% for row in packageIndex %} +<tr> + <td> + <a name="{{ row.package.anchor_name }}" /> + <a href="http://packages.debian.org/{{ row.package.name }}">{{ row.package.name }}</a> + </td> + {% for pkg in row.entries %} + <td> + {% if pkg %} + <a href="{{ conf.root_url }}/package/{{ pkg.name }}/{{ pkg.version }}">{{ pkg.wrappable_version|safe }}</a> + {% else %} + <i>n/a</i> + {% endif %} + </td> + {% endfor %} +</tr> +{% endfor %} +</table> +{% endblock %} |