diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-19 12:08:30 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-19 12:08:30 +0200 |
commit | 906bac3ad466fe801bbdd87b537218611b82ba84 (patch) | |
tree | d5f41ef64efd48a813c35ace622f3a3e11b141bb | |
parent | b79e3f5260e11ef7986e0351a676d6f5ea2077ec (diff) | |
download | jenkins.debian.net-906bac3ad466fe801bbdd87b537218611b82ba84.tar.xz |
reproducible: use proper table headers
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 4 | ||||
-rwxr-xr-x | bin/reproducible_html_notes.sh | 3 |
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> </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>" |