diff options
| author | Paul Buetow <paul@buetow.org> | 2022-02-20 10:47:50 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-02-20 10:47:50 +0000 |
| commit | 66c34c39d75d73159fe82c1d07961e0505fc8d6c (patch) | |
| tree | c34f4c8d5586525aeae4b6950ebf040f0de3b21b /share/templates/default/view.tmpl | |
| parent | 52b3acc71006dec6ab33eb1fea7897d05aef334a (diff) | |
refactor templates
Diffstat (limited to 'share/templates/default/view.tmpl')
| -rw-r--r-- | share/templates/default/view.tmpl | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/share/templates/default/view.tmpl b/share/templates/default/view.tmpl index 8894a76..8a64035 100644 --- a/share/templates/default/view.tmpl +++ b/share/templates/default/view.tmpl @@ -1,21 +1,23 @@ cat <<END -<a href="${num}-$((i-1)).html"><<<</a> -<a href="page-${num}.html#$photo">Thumbnails</a> -<a href="${num}-$((i+1)).html">>>></a> -<br /> -<br /> +<p> + <a href="${num}-$((i-1)).html"><<<</a> + <a href="page-${num}.html#$photo">Thumbnails</a> + <a href="${num}-$((i+1)).html">>>></a> +</p> + <a href="${num}-$((i+1)).html"> - <img border='0' src='${backhref}/${photos_dir}/${photo}' /> + <img border='0' src='${backhref}/${photos_dir}/${photo}' /> </a> -<br /> -<br /> -<a href="${backhref}/${photos_dir}/${photo}">Direct link</a> + +<p> + <a href="${backhref}/${photos_dir}/${photo}">Direct link</a> +</p> END + if [ "${ORIGINAL_BASEPATH}x" != x ]; then -cat <<END -<a href="${ORIGINAL_BASEPATH}/${photo}">Original</a> + cat <<END +<p> + <a href="${ORIGINAL_BASEPATH}/${photo}">Original</a> +</p> END fi -cat <<END -<h3>${photo}</h3> -END |
