aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorSteve Losh <steve@stevelosh.com>2009-01-30 21:45:15 -0500
committerSteve Losh <steve@stevelosh.com>2009-01-30 21:45:15 -0500
commit4cd9b7a520a4902267be73b03b24435ab2923d26 (patch)
treebf00c6959a36ffb41112655f5a3a9e43431f10e3 /templates/base.html
parent4096632287d468c98d7f808079a3f877e7f55fda (diff)
downloadbugseverywhere-4cd9b7a520a4902267be73b03b24435ab2923d26.tar.gz
Made it prettier, and added assignee filters.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html23
1 files changed, 19 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index 4a1f8f7..32fda5a 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -10,12 +10,19 @@
<link rel="stylesheet" type="text/css" media="screen"
href="/static/style/cfbe.css" />
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/scripts/jquery.corners.min.js"></script>
<script type="text/javascript">
$(function() {
$('#content-pane').corners('bottom 8px');
+
+ $('#external-pane').hide();
$('#external-pane-content').corners('bottom 8px');
+
+ $('#filter-assignee').click(function() {
+ $('#external-pane-content').html($('#assignees').html());
+ $('#external-pane').fadeIn('fast');
+ });
});
</script>
</head>
@@ -34,8 +41,8 @@
Just show me:
<a href="/">Open</a>
<a href="/?status=closed">Closed</a>
- <a href="fixme">Assigned to...</a>
- <a href="fixme">Scheduled for...</a>
+ <a href="#" id="filter-assignee">Assigned to...</a>
+ <a href="#">Scheduled for...</a>
</span>
<span id="create">
<a href="fixme">Create a new bug</a>
@@ -54,7 +61,15 @@
</div>
</div>
<div id="external-pane">
- <div id="external-pane-content"><p>Test</p></div>
+ <div id="external-pane-content"></div>
+ </div>
+ <div id="assignees">
+ <p>
+ <a href="/?assignee=None">Unassigned</a><br /><br />
+ {% for assignee in assignees %}
+ <a href="/?assignee={{ assignee|e }}">{{ assignee|e }}</a><br />
+ {% endfor %}
+ </p>
</div>
</body>
</html>