aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html23
-rw-r--r--templates/list.html6
2 files changed, 22 insertions, 7 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>
diff --git a/templates/list.html b/templates/list.html
index 34e3169..34e28d3 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block page_title %}
- {{ label }} Bugs
+ {{ label }}
{% endblock %}
{% block content %}
@@ -15,9 +15,9 @@
{% for bug in bugs %}
<tr>
<td>{{ bd.bug_shortname(bug) }}</td>
- <td>{{ bug.summary }}</td>
+ <td>{{ bug.summary|e|truncate(60) }}</td>
<td>{{ bug.status }}</td>
- <td>{{ bug.assigned }}</td>
+ <td>{{ bug.assigned|striptags }}</td>
</tr>
{% endfor %}
</table>