From: paul Date: Wed, 15 Apr 2015 07:38:15 +0000 (+0000) Subject: improved transcode display X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=ef454abd3f0368091cbb38fead0989f94e094a7b;p=serve0 improved transcode display svn path=/trunk/; revision=36 --- diff --git a/pages/videoview.sh b/pages/videoview.sh index b8ee7da..0297448 100755 --- a/pages/videoview.sh +++ b/pages/videoview.sh @@ -101,9 +101,11 @@ _printVideo(){ linkinfo="$(urlsave "$info")" [ $height -gt 480 ] && \ - alt480="480p" || unset alt480 + alt480="480p" \ + ||unset alt480 [ $height -gt 240 ] && \ - alt240="240p" || unset alt240 + alt240="240p" \ + ||unset alt240 tee "$cache" < @@ -111,7 +113,7 @@ _printVideo(){ $info - ${alt480} ${alt320} ${$alt240} + ${alt480} ${alt320} ${alt240}
diff --git a/templates/videoview.css.sh b/templates/videoview.css.sh index 15ca3be..3024c43 100755 --- a/templates/videoview.css.sh +++ b/templates/videoview.css.sh @@ -122,7 +122,7 @@ a.clearsearch, a.advanced, a.tagger, .pagination_nav { } #thumblist .thumb a.alt { display: inline-block; - margin-top: .5em; + margin-top: .3em; } .footer {