summaryrefslogtreecommitdiffstats
path: root/templates
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
parentc8549029ec0b103c932c62f1919f6ba263b0c7ef (diff)
downloadarchweb-51d947827419e5d61842cbd895a914076defb9c9.tar.gz
archweb-51d947827419e5d61842cbd895a914076defb9c9.zip
trying to flesh out the page
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html6
-rw-r--r--templates/packages/search.html17
2 files changed, 13 insertions, 10 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 88794964..887e3a9a 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -34,7 +34,7 @@
<tr class="{% cycle pkgr2,pkgr1 %}">
<td><strong>{{ arch.name }}</strong></td>
<td><a href="/packages/?arch={{ arch.name }}"><strong>{{ arch.packages.count }}</strong> packages</a></td>
- <td><a href="/packages/?arch={{ arch.name }}&flagged_only=y"><strong>{{ arch.packages.flagged.count }}</strong> packages</a></td>
+ <td><a href="/packages/?arch={{ arch.name }}&flagged=Flagged"><strong>{{ arch.packages.flagged.count }}</strong> packages</a></td>
</tr>
{% endfor %}
</table>
@@ -52,7 +52,7 @@
<tr class="{% cycle pkgr2,pkgr1 %}">
<td><strong>{{ repo.name }}</strong></td>
<td><a href="/packages/?repo={{ repo.name }}"><strong>{{ repo.packages.count }}</strong> packages</a></td>
- <td><a href="/packages/?repo={{ repo.name }}&flagged_only=y"><strong>{{ repo.packages.flagged.count }}</strong> packages</a></td>
+ <td><a href="/packages/?repo={{ repo.name }}&flagged=Flagged"><strong>{{ repo.packages.flagged.count }}</strong> packages</a></td>
</tr>
{% endfor %}
</table>
@@ -71,7 +71,7 @@
<tr class="{% cycle pkgr2,pkgr1 %}">
<td><strong>{{ maint.get_full_name }}</strong></td>
<td><a href="/packages/?maint={{ maint.id }}"><strong>{{ maint.maintained_packages.count }}</strong> packages</a></td>
- <td><a href="/packages/?maint={{ maint.id }}&flagged_only=y"><strong>{{ maint.maintained_packages.flagged.count }}</strong> packages</a></td>
+ <td><a href="/packages/?maint={{ maint.id }}&flagged=Flagged"><strong>{{ maint.maintained_packages.flagged.count }}</strong> packages</a></td>
</tr>
{% endfor %}
</table>
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 />