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
{
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
{
background-repeat: no-repeat;
background-color: #ff0;
}
+table.insetbox
+{
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
<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>
<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>