[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible debian: improve pkg set navigation
Holger Levsen
holger at layer-acht.org
Thu May 12 23:33:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 24f6c1353ebb071cee373e5a2238f5320b2b34fa
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri May 13 01:32:42 2016 +0200
reproducible debian: improve pkg set navigation
---
bin/reproducible_html_pkg_sets.sh | 10 ++++++++--
userContent/reproducible/static/style.css | 5 +++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_pkg_sets.sh b/bin/reproducible_html_pkg_sets.sh
index cfcc1ea..1b246d6 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..cb2bf2d 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%;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list