X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dohtml;h=e1f1c650fe204a4ef405bbf395e3ce2b43e1df80;hb=2a921bc4a4f78a7de3a39edbd39cb174db1557d7;hp=8a1055f6900a761063d538fd77fcaf255f3dda70;hpb=a00f1a19cc83ae763213278b462bace11f29a7b1;p=bugscan.git
diff --git a/dohtml b/dohtml
index 8a1055f..e1f1c65 100755
--- a/dohtml
+++ b/dohtml
@@ -2,6 +2,41 @@
htmldir=/org/bugs.debian.org/www/bugscan
+html_header() {
+ local title="$1" # Title of page
+ local date="$2" # Date
+
+ cat <$title
+
+$date
+
+EOF
+}
+
+html_page_creation_notice() {
+ cat <
+Please contact
+owner@bugs.debian.org for comments.
+EOF
+}
+
+html_closing_tags() {
+ cat <$title
+ html_header "$title" "$date"
-$date
+ cat <
You might also want to check out UDD instead of this page.
@@ -51,12 +79,12 @@ tags:
The second set of tags indicate what releases a bug applies to: -O for oldstable (lenny), S for stable (squeeze), T for testing (wheezy), +O for oldstable (squeeze), S for stable (wheezy), T for testing (jessie), U for unstable (sid) or E for experimental.
@@ -64,28 +92,16 @@ U for unstable (sid) or E for experimental.
EOF
./bugreport -H -l $filter
- cat < Other graphs:
+
-Please contact
-owner@bugs.debian.org for comments.
-
-
-EOF
+ html_page_creation_notice
+
+ html_closing_tags
}
makemainpage() {
- cat <$title
-$time
+ header "$title" "$time"
+
+ cat <
The red line graphs all bugs with release-critical severities; the green line graphs the number of bugs that are actually a concern for the next @@ -128,10 +151,11 @@ EOF + Only bugs relevant to testing
-