summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-13 01:32:42 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-13 01:32:42 +0200
commit24f6c1353ebb071cee373e5a2238f5320b2b34fa (patch)
tree914f8fc1d7183496fbf2d9fbf50636d227c5f4d3 /bin
parent942c9a81066b7b46d13f33d2ba1f894466839d88 (diff)
downloadjenkins.debian.net-24f6c1353ebb071cee373e5a2238f5320b2b34fa.tar.xz
reproducible debian: improve pkg set navigation
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_pkg_sets.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/reproducible_html_pkg_sets.sh b/bin/reproducible_html_pkg_sets.sh
index cfcc1ead..1b246d6c 100755
--- a/bin/reproducible_html_pkg_sets.sh
+++ b/bin/reproducible_html_pkg_sets.sh
@@ -90,14 +90,20 @@ update_meta_pkg_stats() {
#
create_pkg_sets_navigation() {
local i
- write_page "<ul><li>Tracked package sets in $SUITE: </li>"
+ write_page "<ul><li>Tracked package sets in $SUITE/$ARCH: </li>"
+ write_page "<br />"
for i in $(seq 1 ${#META_PKGSET[@]}) ; do
+ case $i in
+ 7|10|16|24) write_page "<br />"
+ ;;
+ *) ;;
+ esac
if [ -f $BASE/$SUITE/$ARCH/${TABLE[6]}_${META_PKGSET[$i]}.png ] ; then
THUMB="${TABLE[6]}_${META_PKGSET[$i]}-thumbnail.png"
LABEL="Reproducibility status for packages in $SUITE/$ARCH from '${META_PKGSET[$i]}'"
- write_page "<a href=\"/$SUITE/$ARCH/pkg_set_${META_PKGSET[$i]}.html\"><img src=\"/userContent/$SUITE/$ARCH/$THUMB\" class=\"metaoverview\" alt=\"$LABEL\" title=\"${META_PKGSET[$i]}\" name=\"${META_PKGSET[$i]}\"></a>"
write_page "<li>"
write_page "<a href=\"/$SUITE/$ARCH/pkg_set_${META_PKGSET[$i]}.html\">${META_PKGSET[$i]}</a>"
+ write_page "<a href=\"/$SUITE/$ARCH/pkg_set_${META_PKGSET[$i]}.html\"><img src=\"/userContent/$SUITE/$ARCH/$THUMB\" class=\"setview\" alt=\"$LABEL\" title=\"${META_PKGSET[$i]}\" name=\"${META_PKGSET[$i]}\"></a>"
write_page "</li>"
fi
done