summaryrefslogtreecommitdiffstats
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
parent942c9a81066b7b46d13f33d2ba1f894466839d88 (diff)
downloadjenkins.debian.net-24f6c1353ebb071cee373e5a2238f5320b2b34fa.tar.xz
reproducible debian: improve pkg set navigation
-rwxr-xr-xbin/reproducible_html_pkg_sets.sh10
-rw-r--r--userContent/reproducible/static/style.css5
2 files changed, 13 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
diff --git a/userContent/reproducible/static/style.css b/userContent/reproducible/static/style.css
index 2f6f04f18..cb2bf2d0 100644
--- a/userContent/reproducible/static/style.css
+++ b/userContent/reproducible/static/style.css
@@ -30,6 +30,11 @@ img.halfview {
max-width: 49%;
}
+img.setview {
+ max-width: 50pt;
+}
+
+
img.overview {
max-width: 32%;
}