From 5ee65b8f921c77b781a252fccbfac699993ef2ce Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Sat, 3 Dec 2005 22:54:57 -0500 Subject: [PATCH] Switched to inset boxes for comments --- README | 2 +- beweb/beweb/static/css/style.css | 12 ++++++------ beweb/beweb/templates/edit_bug.kid | 2 ++ beweb/beweb/templates/master.kid | 4 ++-- 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): ${select_among("status", ["open", "closed", "in-progress"], bug.status)}${select_among("severity", severity_levels, bug.severity)}${bug.assigned}
+
From${comment.From}
Date${time_to_str(comment.date)}
${comment.body}
+

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 @@
- +
+ -- 2.26.2
- Hello, this is some random text Hello, this is some random text