X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fview.html.sh;h=6c8a2e0aec965534908f63afaed53e8241ea0f62;hb=10c72cceebb66db98ad621181369edfa6294f924;hp=8df1b5695061f02e9956dc00f6748bb8393ef7de;hpb=12c83ad8f3ac1a3178ced9dbd82c3b6e078a06b9;p=serve0 diff --git a/templates/view.html.sh b/templates/view.html.sh index 8df1b56..6c8a2e0 100755 --- a/templates/view.html.sh +++ b/templates/view.html.sh @@ -16,88 +16,90 @@ # along with Serve0 If not, see . cat < +Search + - Order by: + Order by Name Date Length - + - Clear All - Dismiss - - - Page: - << - $(($page + 1)) - >> - + Dismiss +Preferences + $(. $_EXEC/templates/preferences.html.sh) + +{+} + + Hide + + Index view + Browse Folders + + + - $info + $(htmlsafe "$info") - Download - - " + Download + View 180º Steroscopic + View 360º Steroscopic + + " - $(($length / 60)):$(($length % 60)) min + $(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) ) Width: $width Height: $height $(printf %s\\n "$tags" |sed -r 's:\|*([^|]+)\|*:\1 :g') ${description:+$(printf %s "$description" |_wiki)} + - - - - - - $( - for cat in $(list_categories); do - printf '%s:' "${cat}" - catt="${cat}:" - [ "$catt" = "none:" ] && catt='' - - printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do - printf '%s' \ - "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \ - "$line" "${line#*:}" - done - printf '' + + + + + + + + + $( + for cat in $(list_categories); do + printf '%s:' "${cat}" + catt="${cat}:" + [ "$catt" = "none:" ] && catt='' + + printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do + printf '%s' \ + "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \ + "$line" "${line#*:}" done - ) - - - Additional Tags (one per line): - - - - Description: - $description - - - - - Hide - - - + printf '' + done + ) -
%s:' "${cat}" - catt="${cat}:" - [ "$catt" = "none:" ] && catt='' - - printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do - printf '%s' \ - "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \ - "$line" "${line#*:}" - done - printf '
- Additional Tags (one per line): - -
- Description: - $description -