aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorSteve Losh <steve@stevelosh.com>2009-01-30 23:53:09 -0500
committerSteve Losh <steve@stevelosh.com>2009-01-30 23:53:09 -0500
commit120720baf3ce09aacaddb82c0937af596aea62fe (patch)
treeb65903b7b98883114b72efda855aebec6f51d19c /templates/base.html
parent012817b8ed9c47354fe3b1e7657b82bcda4e77a4 (diff)
downloadbugseverywhere-120720baf3ce09aacaddb82c0937af596aea62fe.tar.gz
Implemented the status filter.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html21
1 files changed, 18 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 8f8fb3d..66ecd2f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,9 +19,16 @@
$('#external-pane').hide();
$('#external-pane-content').corners('bottom 8px');
- $('#filter-assignee').click(function() {
+ $('#filter-assignee').click(function(e) {
$('#external-pane-content').html($('#assignees').html());
$('#external-pane').fadeIn('fast');
+ e.preventDefault();
+ });
+
+ $('#filter-target').click(function(e) {
+ $('#external-pane-content').html($('#targets').html());
+ $('#external-pane').fadeIn('fast');
+ e.preventDefault();
});
$('table tr:odd').addClass('stripe');
@@ -43,8 +50,8 @@
Just show me:
<a href="/">Open</a>
<a href="/?status=closed">Closed</a>
- <a href="#" id="filter-assignee">Assigned to...</a>
- <a href="#">Scheduled for...</a>
+ <a href="" id="filter-assignee">Assigned to...</a>
+ <a href="" id="filter-target">Scheduled for...</a>
</span>
<span id="create">
<a href="fixme">&#43; Create a new bug</a>
@@ -76,5 +83,13 @@
{% endfor %}
</p>
</div>
+ <div id="targets">
+ <p>
+ <a href="/?target=None">Unscheduled</a><br /><br />
+ {% for target in targets %}
+ <a href="/?target={{ target }}">{{ target }}</a><br />
+ {% endfor %}
+ </p>
+ </div>
</body>
</html>