X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fview.html.sh;h=49439587ba27fe45a255f5e3657a913ac554f464;hb=d017019db3aeebf58a6e66ef30d5d62948550d0f;hp=c17284b23acf5a94689f96c179b723733c290dd9;hpb=cc3eaa233f51324cdb20b594b6751468ba78aa4f;p=serve0 diff --git a/templates/view.html.sh b/templates/view.html.sh index c17284b..4943958 100755 --- a/templates/view.html.sh +++ b/templates/view.html.sh @@ -1,54 +1,110 @@ -#!/bin/zsh +# Copyright 2014, 2015 Paul Hänsch +# +# This file is part of Serve0 +# +# Serve0 is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Serve0 is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Serve0 If not, see . + +cat < + + + + + + + Clear All + Advanced + +
+ + << + $(($page + 1)) + >> +
+ -cat < - Dismiss + Dismiss
- Full
- + Full +
- $infoEdit
- $(($length / 60)):$(($length % 60)) min - Width: $widthHeight: $height
-

Tags:$(sed 's,|$,,;s,|, ,g' <<<"$tags") -

$(_wiki <<<"$description") +

$info

+ Edit + + $(($length / 60)):$(($length % 60)) min + Width: $width + Height: $height
+ + Tags: + $(echo "$tags" |sed -r 's:\|*([^|]+)\|*:\1:g') + $([ -n "$description" ] && echo "$(_wiki <<<"$description")")
- + Tags: + + + Additional Tags (one per line): + + + Description: + + + + + -viewEND -# vi:set filetype=html: +
+
    + $(thumblist) +
+ +
+EOF +# vi:set filetype=html: