--- /dev/null
+The problem is the jQuery selector... I need to escape something special but I'm not sure what.
\ No newline at end of file
--- /dev/null
+
+
+
+Content-type=text/plain
+
+
+
+
+
+
+Date=Mon, 02 Feb 2009 00:39:43 +0000
+
+
+
+
+
+
+From=Steve Losh <steve@stevelosh.com>
+
+
+
--- /dev/null
+
+
+
+assigned=Steve Losh <steve@stevelosh.com>
+
+
+
+
+
+
+creator=Steve Losh <steve@stevelosh.com>
+
+
+
+
+
+
+severity=minor
+
+
+
+
+
+
+status=open
+
+
+
+
+
+
+summary=Assignee default selection is broken if two people have the same name but different emails.
+
+
+
+
+
+
+target=beta
+
+
+
+
+
+
+time=Mon, 02 Feb 2009 00:38:49 +0000
+
+
+
-assigned=Steve Losh
+assigned=Steve Losh <steve@stevelosh.com>
--- /dev/null
+
+
+
+creator=Steve Losh <steve@stevelosh.com>
+
+
+
+
+
+
+severity=minor
+
+
+
+
+
+
+status=open
+
+
+
+
+
+
+summary=The bug editing/comment forms break the rhythm.
+
+
+
+
+
+
+time=Sun, 01 Feb 2009 23:59:17 +0000
+
+
+
-assigned=Steve Losh
+assigned=Steve Losh <steve@stevelosh.com>
[global]
-server.socket_port = 8080
+server.socket_host = '0.0.0.0'
+server.socket_port = 8000
server.thread_pool = 10
tools.sessions.on = True
tools.staticdir.root = "/Users/sjl/Documents/cherryflavoredbugseverywhere/static"
/* @override http://localhost:8080/static/style/cfbe.css */
-body { background-image: url(/static/images/gradient-background.png); background-color: #bbbbbb; background-repeat: repeat-x;
- /*background-image: url(/static/images/stripe-rhythm.png); background-repeat: repeat;*/ }
+body { background-image: url(/static/images/gradient-background.png); background-color: #bbbbbb; background-repeat: repeat-x; }
+
+body.rhythm { background-image: url(/static/images/stripe-rhythm.png); background-repeat: repeat; }
+div#content-pane.rhythm { background-color: transparent; }
+div#external-pane-content.rhythm { background-color: transparent; }
div#header { background-image: url(/static/images/gradient-header.png); background-repeat: repeat-x;
background-color: #770005; color: #fff; margin-top: 1.5em; }
h4.bug-comment-header { margin: 1.5em 0em 0em; }
form#create-form { height: 3em; display: none; }
-form#create-form div.field { }
form#create-form input#create-summary { width: 30em; font-weight: 700; }
-form#create-form button#create-button { }
form#add-comment-form { display: none; margin-top: 1.5em; }
p#add-comment-link {margin-top: 1.5em; }
form#bug-details-edit-form .field { padding-left: 0em; }
form#bug-summary-edit-form { display: none; }
-input#bug-summary-edit-body { width: 100%; }
\ No newline at end of file
+input#bug-summary-edit-body { width: 95%; }
$('#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');
<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>
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');
}
<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>
<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>
<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>