From bcba6e61cda6094a1228fe1bd9b942cfc2036d81 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 3 Jun 2015 22:40:09 -0400 Subject: provide anchors to target sections of the front page This patch makes it easier to point people at the list of variations and the list of usertagged bugs. It also uses css to make the targeted sections have a different header color (i'm happy for more style-y people to improve on this visual cue). --- bin/reproducible_html_graphs.sh | 4 ++-- userContent/reproducible/static/style.css | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index bd128daa..b7114f2e 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -367,7 +367,7 @@ write_usertag_table() { let "COUNT+=1" VALUE=$(echo $RESULT | cut -d "|" -f$COUNT) if [ $COUNT -eq 1 ] ; then - write_page "" + write_page "
Usertagged bugsOpenDoneTotal
" elif [ $((COUNT%2)) -eq 0 ] ; then write_page "" TOTAL=$VALUE @@ -600,7 +600,7 @@ create_main_stats_page() { done # explain setup write_page "

" - write_page "

Usertagged bugsOpenDoneTotal
${FIELD:5}$VALUE
" + write_page "
variationfirst buildsecond build
" write_page "" write_page "" write_page "" diff --git a/userContent/reproducible/static/style.css b/userContent/reproducible/static/style.css index 5bb7ed93..0453bc49 100644 --- a/userContent/reproducible/static/style.css +++ b/userContent/reproducible/static/style.css @@ -218,6 +218,12 @@ th { padding: 0.5em; } +table:target th { + background: #ffb; +} + + + iframe#main { margin: 0; width: 100%; -- cgit v1.2.3-70-g09d2
variationfirst buildsecond build
hostname$(hostname)i-capture-the-hostname
domainname$(hostname -d)i-capture-the-domainname
env BUILDUSERIDBUILDUSERID=\"1111\"BUILDUSERID=\"2222\"