vsgallery/tpl/single.html

35 lines
1.2 KiB
HTML
Raw Normal View History

2022-01-08 16:22:16 +00:00
{% extends tpl/layout.html %}
{% block title %}{{ $page }}/{{ $last_page }} | {{ $imagename }}{% endblock %}
{% block content %}
2022-01-10 20:27:57 +00:00
<div class="container">
<div class="content-single">
2022-01-10 20:34:52 +00:00
<div class="single-image">
<img src="{{ $imageurl }}" title="{{ $page }}/{{ $last_page }}" />
</div>
2022-01-11 18:38:10 +00:00
{% if ($page > 1): %}
2022-02-03 16:16:26 +00:00
<a id="link-prev" class="clickable clickable-left" href="/index.php?d={{ $dir }}&so={{ $sort }}&p={{ $prev_page }}&s=1&gs={{ $gallery_slice }}{{ $filter }}">
2022-01-10 20:42:06 +00:00
<div></div>
2022-01-10 20:27:57 +00:00
</a>
2022-01-11 18:38:10 +00:00
{% endif %}
2022-02-03 16:16:26 +00:00
<a id="link-home" class="clickable clickable-center" href="/index.php?d={{ $dir }}&so={{ $sort }}&p={{ $gallery_page }}&s={{ $gallery_slice }}{{ $filter }}">
2022-01-10 20:42:06 +00:00
<div></div>
2022-01-10 20:27:57 +00:00
</a>
2022-01-11 18:38:10 +00:00
{% if ($page < $last_page): %}
2022-02-03 16:16:26 +00:00
<a id="link-next" class="clickable clickable-right" href="/index.php?d={{ $dir }}&so={{ $sort }}&p={{ $next_page }}&s=1&gs={{ $gallery_slice }}{{ $filter }}">
2022-01-10 20:42:06 +00:00
<div></div>
2022-01-10 20:27:57 +00:00
</a>
2022-01-11 18:38:10 +00:00
{% endif %}
2022-01-10 20:27:57 +00:00
</div>
<div class="page-footer">
2022-01-11 17:08:26 +00:00
{% if(!empty($tags)): %}
2022-01-10 20:27:57 +00:00
{% foreach($tags as $tag): %}
2022-02-03 16:16:26 +00:00
<a href="/index.php?d={{ $dir }}&so={{ $sort }}&s={{ $gallery_slice }}&f={{{ $tag }}}"><span class="tag">{{ $tag }}</span></a>
2022-01-10 20:27:57 +00:00
{% endforeach %}
2022-01-11 17:08:26 +00:00
{% endif %}
2022-01-08 16:22:16 +00:00
</div>
</div>
{% endblock %}