From 0a971561ed4d68947d60a85cd02b789a18667ed6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 23 May 2015 11:03:07 +0200 Subject: reproducible: improve layout of main page --- bin/reproducible_html_graphs.sh | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 9d4a65a9..8be03ae5 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -538,7 +538,7 @@ create_main_stats_page() { write_page "\"$LABEL\"" done done - write_page "

" + write_page "

" # write suite table write_page "" for SUITE in $SUITES ; do @@ -572,25 +572,21 @@ create_main_stats_page() { SEC=$(echo "$RESULT-($MIN*60)"|bc) write_page "" write_page "
suiteall sources packagesreproducible packagesunreproducible packagespackages failing to buildother packages
average test duration in all suites$MIN minutes, $SEC seconds
" - # other graphs - write_page "

" - # do the global stats + # write bugs with usertags table + write_usertag_table + write_page "

" + # do other global graphs for i in 3 7 4 5 1 ; do - if [ $i = "3" ] || [ $i = "1" ] ; then + if [ $i = "1" ] ; then OVERVIEW="" else - OVERVIEW='class="overview"' + OVERVIEW='class="halfview"' fi write_page " \"${MAINLABEL[$i]}\"" # 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 fi - if [ "$i" = "3" ] ; then - write_page "

" - write_usertag_table - write_page "

" - fi done write_page "

" # write suite builds age graphs -- cgit v1.2.3-70-g09d2