]> git.plutz.net Git - serve0/commitdiff
improved transcode display
authorpaul <paul@plutz.net>
Wed, 15 Apr 2015 07:38:15 +0000 (07:38 +0000)
committerpaul <paul@plutz.net>
Wed, 15 Apr 2015 07:38:15 +0000 (07:38 +0000)
svn path=/trunk/; revision=36

pages/videoview.sh
templates/videoview.css.sh

index b8ee7dab3ae5bb39f426f201094ba78a0ce47f6a..02974481de6cf6ad0b8938eb9a6d4b17e405bb37 100755 (executable)
@@ -101,9 +101,11 @@ _printVideo(){
     linkinfo="$(urlsave "$info")"
 
     [ $height -gt 480 ] && \
-      alt480="<a class=\"videolink alt 480p\" href=\"?action=transcode&i=${linkinfo}&t=480\">480p</a>" || unset alt480
+      alt480="<a class=\"videolink alt 480p\" href=\"?action=transcode&i=${linkinfo}&t=480\">480p</a>" \
+    ||unset alt480
     [ $height -gt 240 ] && \
-      alt240="<a class=\"videolink alt 240p\" href=\"?action=transcode&i=${linkinfo}&t=240\">240p</a>" || unset alt240
+      alt240="<a class=\"videolink alt 240p\" href=\"?action=transcode&i=${linkinfo}&t=240\">240p</a>" \
+    ||unset alt240
 
     tee "$cache" <<VIDEOend
       <li class="thumb">
@@ -111,7 +113,7 @@ _printVideo(){
           <img src="$thumb">
         </a>
         <a class="videolink" href="$video">$info</a>
-        ${alt480} ${alt320} ${$alt240}
+        ${alt480} ${alt320} ${alt240} <br>
         <!-- a href="$reenc">VP8</a -->
         <!-- a class="videolink fake-mp4" href="$mpfake">fake-mp4</a -->
         
index 15ca3be11dd0fe87ac4d39a9089e944ea4c9ed3f..3024c43a11f297e114f22b465aef82c0b5636739 100755 (executable)
@@ -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 {