summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-22 16:43:23 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-22 16:43:23 +0200
commite6836849dad5da26e080bcad0863f966e630082b (patch)
tree412b961c7208b490c3830adc1f1e912e287acf65
parenta25034c67ca9cd19bdd189be73b7ebb2b59db16e (diff)
downloadjenkins.debian.net-e6836849dad5da26e080bcad0863f966e630082b.tar.xz
reproducible: use less space for overview
-rwxr-xr-xbin/reproducible_html_graphs.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 2ae66a74..9d4a65a9 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>"