aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--beweb/beweb/static/css/style.css12
-rw-r--r--beweb/beweb/templates/edit_bug.kid2
-rw-r--r--beweb/beweb/templates/master.kid4
4 files changed, 11 insertions, 9 deletions
diff --git a/README b/README
index 9867264..0cc3c70 100644
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ commands, see "be help"
Using BeWeb, the web UI
=======================
BeWeb uses the Turbogears framework: http://www.turbogears.org/
-Please ensure you have Turbogears 0.8a4 or a compatible release installed.
+Please ensure you have Turbogears 0.8a5 or a compatible release installed.
Because it uses BE data, the web UI does not require a database.
To use BeWeb, first create a configuration file, telling it which projects
diff --git a/beweb/beweb/static/css/style.css b/beweb/beweb/static/css/style.css
index 858fd74..76a3092 100644
--- a/beweb/beweb/static/css/style.css
+++ b/beweb/beweb/static/css/style.css
@@ -45,15 +45,10 @@ body
{
font-family: "Verdana";
font-size:11pt;
+ background-color: white;
}
.comment
{
- margin-top: 1em;
- margin-bottom; 60px;
- padding: 0.5em;
- border: dashed thin black;
- background-color: #ffa;
- width:60%
}
.comment table
{
@@ -77,3 +72,8 @@ body
background-repeat: no-repeat;
background-color: #ff0;
}
+table.insetbox
+{
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
diff --git a/beweb/beweb/templates/edit_bug.kid b/beweb/beweb/templates/edit_bug.kid
index 4001253..d55ab2e 100644
--- a/beweb/beweb/templates/edit_bug.kid
+++ b/beweb/beweb/templates/edit_bug.kid
@@ -29,11 +29,13 @@ def select_among(name, options, default):
<tr><td>${select_among("status", ["open", "closed", "in-progress"], bug.status)}</td><td>${select_among("severity", severity_levels, bug.severity)}</td><td>${bug.assigned}</td><td><input name="summary" value="${bug.summary}" size="80" /></td></tr>
</table>
<div py:for="comment in bug.list_comments()" class="comment">
+ <insetbox>
<table>
<tr><td>From</td><td>${comment.From}</td></tr>
<tr><td>Date</td><td>${time_to_str(comment.date)}</td></tr>
</table>
<pre>${comment.body}</pre>
+ </insetbox>
</div>
<p><input type="submit" name="action" value="Update"/></p>
</form>
diff --git a/beweb/beweb/templates/master.kid b/beweb/beweb/templates/master.kid
index 4f44fba..743634a 100644
--- a/beweb/beweb/templates/master.kid
+++ b/beweb/beweb/templates/master.kid
@@ -15,14 +15,14 @@
<div py:replace="item[:]"/>
</body>
-<table py:match="item.tag=='{http://www.w3.org/1999/xhtml}innerbox'" cellspacing="0" cellpadding="0">
+<table py:match="item.tag=='{http://www.w3.org/1999/xhtml}insetbox'" cellspacing="0" cellpadding="0" class="insetbox">
<tr><td><img src="/static/images/is-tl.png" /></td>
<td background="/static/images/is-t.png" />
<td><img src="/static/images/is-tr.png"/></td>
</tr>
<tr>
<td background="/static/images/is-l.png"/>
- <td py:content="item.text"> Hello, this is some random text</td>
+ <td py:content="item[:]"> Hello, this is some random text</td>
<td background="/static/images/is-r.png"/>
</tr>
<tr>