aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html10
-rw-r--r--templates/bug.html6
-rw-r--r--templates/list.html2
3 files changed, 13 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html
index 2503224..0b44d81 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,6 +19,13 @@
$('#external-pane').hide();
$('#external-pane-content').corners('bottom 8px');
+ $('#show-rhythm').click(function(e) {
+ $('body').addClass('rhythm');
+ $('#content-pane').addClass('rhythm');
+ $('#external-pane-content').addClass('rhythm');
+ e.preventDefault();
+ });
+
$('#filter-assignee').click(function(e) {
$('#external-pane-content').html($('#assignees').html());
$('#external-pane').fadeIn('fast');
@@ -82,7 +89,8 @@
<a href="http://jinja.pocoo.org/2/">Jinja2</a>,
and <a href="http://jquery.com">jQuery</a>.
<br/>
- He asked <a href="http://fecklessmind.com/2009/01/20/aardvark-css-framework/">aardvarks</a> for help.
+ He asked <a href="http://fecklessmind.com/2009/01/20/aardvark-css-framework/">aardvarks</a> for help
+ to make it all <a href="" id="show-rhythm">line up</a>.
</p>
</div>
</div>
diff --git a/templates/bug.html b/templates/bug.html
index 48571e9..f9d5943 100644
--- a/templates/bug.html
+++ b/templates/bug.html
@@ -10,7 +10,7 @@
function set_current_detail_default_values() {
$('#bug-details-edit-status option[value="{{ bug.status }}"]').attr('selected', 'yes');
$('#bug-details-edit-target option[value="{{ bug.target|e }}"]').attr('selected', 'yes');
- $('#bug-details-edit-assignee option[value="{{ bug.assigned|striptags }}"]').attr('selected', 'yes');
+ $('#bug-details-edit-assignee option[value^="{{ bug.assigned|striptags }}"]').attr('selected', 'yes');
$('#bug-details-edit-severity option[value="{{ bug.severity }}"]').attr('selected', 'yes');
}
@@ -105,7 +105,7 @@
<select id="bug-details-edit-assignee" name="assignee">
<option value="None">Unassigned</option>
{% for assignee in assignees %}
- <option value="{{ assignee|striptags }}">{{ assignee|striptags|e }}</option>
+ <option value="{{ assignee|e }}">{{ assignee|e }}</option>
{% endfor %}
</select>
</div>
@@ -128,7 +128,7 @@
<fieldset>
<input type="hidden" name="id" value="{{ bug.uuid }}" />
<div class="field">
- <input type="text" id="bug-summary-edit-body" name="summary" value="{{ bug.summary }}" />
+ <input type="text" class="text" id="bug-summary-edit-body" name="summary" value="{{ bug.summary }}" />
</div>
<div class="buttons">
<button type="submit">Save Changes</button>
diff --git a/templates/list.html b/templates/list.html
index e28b0c0..8fad7cd 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -17,7 +17,7 @@
<tr>
<td>{{ bd.bug_shortname(bug) }}</td>
<td><a href="/bug?id={{ bd.bug_shortname(bug)}}">
- {{ bug.summary|e|truncate(65) }}</a></td>
+ {{ bug.summary|e|truncate(60) }}</a></td>
<td>{{ bug.status }}</td>
<td>{{ bug.target }}</td>
<td>{{ bug.assigned|striptags }}</td>