From 7381396045ae6d0c6ff5ac37e7e9120a30a4f6b0 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 17 Jul 2015 14:49:47 +0200 Subject: [PATCH] css changed to work on Raspberry browser, timer changed on server side --- presenter/getPic.pl | 4 ++-- presenter/showroom.pl | 4 ++-- presenter/style.css | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/presenter/getPic.pl b/presenter/getPic.pl index aa204ab..390d0c7 100755 --- a/presenter/getPic.pl +++ b/presenter/getPic.pl @@ -23,6 +23,6 @@ do { $f = $data[0]; chomp($f); sleep(1) if($f eq $old); - }while($timer++ < 60 && $f eq $old); + }while($timer++ < 40 && $f eq $old); -print $f; \ No newline at end of file +print $f; diff --git a/presenter/showroom.pl b/presenter/showroom.pl index e63b0c3..738af22 100755 --- a/presenter/showroom.pl +++ b/presenter/showroom.pl @@ -38,8 +38,8 @@ Select a file and press upload.
 
- - + + HDOC diff --git a/presenter/style.css b/presenter/style.css index 5cc9885..910e2ec 100644 --- a/presenter/style.css +++ b/presenter/style.css @@ -53,6 +53,7 @@ h1 { height:100%; width:100%; position:absolute; + text-align:center; padding-right:100px; text-align:center; } @@ -67,7 +68,7 @@ h1 { max-height:100%; max-width:100%; object-fit:contain; - margin:auto; + margin:0 auto; padding:0; } -- 2.43.0