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 +++++++----------- userContent/reproducible/static/style.css | 4 ++++ 2 files changed, 11 insertions(+), 11 deletions(-) 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 diff --git a/userContent/reproducible/static/style.css b/userContent/reproducible/static/style.css index 4ad5a4bd..449e0a7f 100644 --- a/userContent/reproducible/static/style.css +++ b/userContent/reproducible/static/style.css @@ -26,6 +26,10 @@ img { height: auto; } +img.halfview { + max-width: 49%; +} + img.overview { max-width: 33%; } -- cgit v1.2.3-54-g00ecf