[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: use less space for overview

Holger Levsen holger at moszumanska.debian.org
Fri May 22 14:43:42 UTC 2015


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 e6836849dad5da26e080bcad0863f966e630082b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri May 22 16:43:23 2015 +0200

    reproducible: use less space for overview
---
 bin/reproducible_html_graphs.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 2ae66a7..9d4a65a 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -576,7 +576,12 @@ create_main_stats_page() {
 	write_page "<p>"
 	# do the global stats
 	for i in 3 7 4 5 1 ; do
-		write_page " <a href=\"/userContent/${TABLE[$i]}.png\"><img src=\"/userContent/${TABLE[$i]}.png\" alt=\"${MAINLABEL[$i]}\"></a>"
+		if [ $i = "3" ] || [ $i = "1" ] ; then
+			OVERVIEW=""
+		else
+			OVERVIEW='class="overview"'
+		fi
+		write_page " <a href=\"/userContent/${TABLE[$i]}.png\"><img src=\"/userContent/${TABLE[$i]}.png\" $OVERVIEW alt=\"${MAINLABEL[$i]}\"></a>"
 		# redo pngs once a day
 		if [ ! -f $BASE/${TABLE[$i]}.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[$i]}.png) ] ; then
 			create_png_from_table $i ${TABLE[$i]}.png
@@ -584,7 +589,7 @@ create_main_stats_page() {
 		if [ "$i" = "3" ] ; then
 			write_page "</p>"
 			write_usertag_table
-			write_page "<p>"
+			write_page "<p style=\"clear:both;\">"
 		fi
 	done
 	write_page "</p>"

-- 
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