From 7a4f6d29874b0a800c0163a12195ffa9cb8727d6 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Sun, 1 Feb 2009 20:01:13 -0500 Subject: [PATCH] Changes before Laura checks it out. --- .../e3389187-1e84-43d5-b40b-26f53090edff/body | 1 + .../values | 21 ++++++++ .../values | 49 +++++++++++++++++++ .../values | 2 +- .../values | 35 +++++++++++++ .../values | 2 +- cfbe.config | 3 +- static/style/cfbe.css | 11 +++-- templates/base.html | 10 +++- templates/bug.html | 6 +-- templates/list.html | 2 +- 11 files changed, 129 insertions(+), 13 deletions(-) create mode 100644 .be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/body create mode 100644 .be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/values create mode 100644 .be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values create mode 100644 .be/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values diff --git a/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/body b/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/body new file mode 100644 index 0000000..49a1e50 --- /dev/null +++ b/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/body @@ -0,0 +1 @@ +The problem is the jQuery selector... I need to escape something special but I'm not sure what. \ No newline at end of file diff --git a/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/values b/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/values new file mode 100644 index 0000000..bf58725 --- /dev/null +++ b/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/comments/e3389187-1e84-43d5-b40b-26f53090edff/values @@ -0,0 +1,21 @@ + + + +Content-type=text/plain + + + + + + +Date=Mon, 02 Feb 2009 00:39:43 +0000 + + + + + + +From=Steve Losh + + + diff --git a/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values b/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values new file mode 100644 index 0000000..256574b --- /dev/null +++ b/.be/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values @@ -0,0 +1,49 @@ + + + +assigned=Steve Losh + + + + + + +creator=Steve Losh + + + + + + +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 + + + diff --git a/.be/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values b/.be/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values index ee7978b..851021e 100644 --- a/.be/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values +++ b/.be/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values @@ -1,7 +1,7 @@ -assigned=Steve Losh +assigned=Steve Losh diff --git a/.be/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values b/.be/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values new file mode 100644 index 0000000..f62f417 --- /dev/null +++ b/.be/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values @@ -0,0 +1,35 @@ + + + +creator=Steve Losh + + + + + + +severity=minor + + + + + + +status=open + + + + + + +summary=The bug editing/comment forms break the rhythm. + + + + + + +time=Sun, 01 Feb 2009 23:59:17 +0000 + + + diff --git a/.be/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values b/.be/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values index 2d28890..c100da5 100644 --- a/.be/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values +++ b/.be/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values @@ -1,7 +1,7 @@ -assigned=Steve Losh +assigned=Steve Losh diff --git a/cfbe.config b/cfbe.config index 3f12e00..db56ff2 100644 --- a/cfbe.config +++ b/cfbe.config @@ -1,5 +1,6 @@ [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" diff --git a/static/style/cfbe.css b/static/style/cfbe.css index 34bac92..360744f 100644 --- a/static/style/cfbe.css +++ b/static/style/cfbe.css @@ -1,7 +1,10 @@ /* @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; } @@ -45,9 +48,7 @@ p.bug-comment-footer { margin: 0em 0em; color: #888; } 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; } @@ -57,4 +58,4 @@ form#bug-details-edit-form label { font-weight: 700; width: 7.5em; margin-left: 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%; } 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 @@ Jinja2, and jQuery.
- He asked aardvarks for help. + He asked aardvarks for help + to make it all line up.

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 @@ @@ -128,7 +128,7 @@
- +
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 @@ {{ bd.bug_shortname(bug) }} - {{ bug.summary|e|truncate(65) }} + {{ bug.summary|e|truncate(60) }} {{ bug.status }} {{ bug.target }} {{ bug.assigned|striptags }} -- 2.26.2