summaryrefslogtreecommitdiff
path: root/templates/packages/search.html
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-07 17:28:37 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-07 17:28:37 -0400
commit51d947827419e5d61842cbd895a914076defb9c9 (patch)
treec6a6bc8d774775b831da3fc1896072f0cd032b10 /templates/packages/search.html
parentc8549029ec0b103c932c62f1919f6ba263b0c7ef (diff)
trying to flesh out the page
Diffstat (limited to 'templates/packages/search.html')
-rw-r--r--templates/packages/search.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index bf075584..a54a9a0f 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -18,6 +18,7 @@
<td><span class="smalltext">Keywords</span></td>
<td><span class="smalltext">Maintainer</span></td>
<td><span class="smalltext">Last Update</span></td>
+ <td><span class="smalltext">Flagged</span></td>
<td><span class="smalltext">Per Page</span></td>
</tr>
<tr>
@@ -26,6 +27,7 @@
{% td_input search_form.q %}
{% td_input search_form.maintainer%}
{% td_input search_form.last_update %}
+ {% td_input search_form.flagged %}
{% td_input search_form.limit %}
<td><input type="submit" value="Search" />
</tr>
@@ -40,13 +42,14 @@
<tr>
<form method="post" action="/packages/update/">
<th>&nbsp;</th>
- <th>Arch</th>
- <th>Repo</th>
- <th>Name</th>
+ <th><a href="{% buildsortqs "arch" %}">Arch</a></th>
+ <th><a href="{% buildsortqs "repo" %}">Repo</a></th>
+ <th><a href="{% buildsortqs "pkgname" %}">Name</a></th>
<th>Version</th>
<th>Description</th>
- <th>Maintainer</th>
- <th>Last Updated</th>
+ <th><a href="{% buildsortqs "maintainer" %}">Maintainer</a></th>
+ <th><a href="{% buildsortqs "-last_update" %}">Last Updated</a></th>
+
</tr>
{% for pkg in package_list %}
<tr class="{% cycle pkgr2,pkgr1 %}">
@@ -84,8 +87,8 @@
<a href="/packages/search/{{page_obj.next_page_number}}/{{current_query}}">
Next &gt;&gt;&gt;
</a>
- {% else %} &gt;&gt;&gt;
- Next
+ {% else %}
+ Next &gt;&gt;&gt;
{% endif %}
</td>
<br />