summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-19 12:08:30 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-19 12:08:30 +0200
commit906bac3ad466fe801bbdd87b537218611b82ba84 (patch)
treed5f41ef64efd48a813c35ace622f3a3e11b141bb
parentb79e3f5260e11ef7986e0351a676d6f5ea2077ec (diff)
downloadjenkins.debian.net-906bac3ad466fe801bbdd87b537218611b82ba84.tar.xz
reproducible: use proper table headers
-rwxr-xr-xbin/reproducible_html_graphs.sh4
-rwxr-xr-xbin/reproducible_html_notes.sh3
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index f02b2d5c..d39d5a7c 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -123,9 +123,9 @@ write_usertag_table() {
let "COUNT+=1"
VALUE=$(echo $RESULT | cut -d "|" -f$COUNT)
if [ $COUNT -eq 1 ] ; then
- write_page "<table class=\"body\"><tr><td colspan=\"4\"><em>Bugs with usertags for reproducible-builds@lists.alioth.debian.org on $VALUE</em></td></tr>"
+ write_page "<table class=\"body\"><tr><th colspan=\"3\">Bugs with usertags for reproducible-builds@lists.alioth.debian.org on $VALUE</th></tr>"
elif [ $((COUNT%2)) -eq 0 ] ; then
- write_page "<tr><td>&nbsp;</td><td><a href=\"https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=${FIELD:5};users=reproducible-builds@lists.alioth.debian.org&archive=both\">${FIELD:5}</a></td><td>Open: $VALUE</td>"
+ write_page "<tr><td><a href=\"https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=${FIELD:5};users=reproducible-builds@lists.alioth.debian.org&archive=both\">${FIELD:5}</a></td><td>Open: $VALUE</td>"
else
write_page "<td>Done: $VALUE</td></tr>"
fi
diff --git a/bin/reproducible_html_notes.sh b/bin/reproducible_html_notes.sh
index ee7c16e6..33bcacf4 100755
--- a/bin/reproducible_html_notes.sh
+++ b/bin/reproducible_html_notes.sh
@@ -147,7 +147,7 @@ create_issue() {
write_page_header "" "Notes about issue '$1'"
write_page "<table class=\"body\">"
- write_page "<tr><td>Identifier:</td><td colspan=\"2\">$1</td></tr>"
+ write_page "<tr><td>Identifier:</td><th colspan=\"2\">$1</th></tr>"
if [ "${ISSUES_URL[$1]}" != "" ] ; then
write_page "<tr><td>URL:</td><td colspan=\"2\"><a href=\"${ISSUES_URL[$1]}\">${ISSUES_URL[$1]}</a></td></tr>"
@@ -332,6 +332,7 @@ echo "$(date) - starting to write $PAGE page."
write_page_header $VIEW "Overview of ${SPOKENTARGET[$VIEW]}"
if $VALID_YAML ; then
write_page "<table class=\"body\">"
+ write_page "<tr><th>Identified issues</th></tr>"
ISSUES=$(echo ${ISSUES} | sed -s "s# #\n#g" | sort | xargs echo)
for ISSUE in ${ISSUES} ; do
write_page "<tr><td><a href=\"$JENKINS_URL/userContent/issues/${ISSUE}_issue.html\">${ISSUE}</a></td></tr>"