X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fview.html.sh;h=b251b871527a01a5b76e0d4e514e4eb6c4b85ba2;hb=0d4152e00eda7efa86235fedbecc7bf36d8b159c;hp=c17284b23acf5a94689f96c179b723733c290dd9;hpb=cc3eaa233f51324cdb20b594b6751468ba78aa4f;p=serve0 diff --git a/templates/view.html.sh b/templates/view.html.sh index c17284b..b251b87 100755 --- a/templates/view.html.sh +++ b/templates/view.html.sh @@ -1,54 +1,115 @@ -#!/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

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