From 393871b937bf80e4df8d99e4ec64c225e9178895 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 9 Jun 2015 11:09:36 +0200 Subject: reproducible: improve mainpage layout for large screens --- bin/make_graph.py | 2 +- bin/reproducible_html_graphs.sh | 2 +- userContent/reproducible/static/style.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/make_graph.py b/bin/make_graph.py index f03e5633..db098b22 100755 --- a/bin/make_graph.py +++ b/bin/make_graph.py @@ -23,7 +23,7 @@ def main(): countsfile = os.path.join(filein) pngfile = os.path.join(fileout) grdevices = importr('grDevices') - grdevices.png(file=pngfile, width=1600, height=800, pointsize=10, res=100, antialias="none") + grdevices.png(file=pngfile, width=1920, height=960, pointsize=10, res=100, antialias="none") r = robjects.r r('t <- (read.table("'+countsfile+'",sep=",",header=1,row.names=1))') r('cname <- c("date",rep(colnames(t)))') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index dd804db9..ca778d6e 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -343,7 +343,7 @@ create_png_from_table() { DIR=$(dirname $2) mkdir -p $DIR echo "Creating $2 dummy." - convert -size 1600x800 xc:#aaaaaa -depth 8 $2 + convert -size 1920x960 xc:#aaaaaa -depth 8 $2 if [ "$3" != "" ] ; then local THUMB="${TABLE[1]}_${3}-thumbnail.png" convert $2 -adaptive-resize 160x80 ${THUMB} diff --git a/userContent/reproducible/static/style.css b/userContent/reproducible/static/style.css index aa8dbbe4..3e6e3d00 100644 --- a/userContent/reproducible/static/style.css +++ b/userContent/reproducible/static/style.css @@ -35,7 +35,7 @@ img.overview { } img.metaoverview { - max-width: 3.1%; + max-width: 3.3%; } .beta { -- cgit v1.2.3-70-g09d2