aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
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>