vsgallery/tpl/gallery.html

36 lines
1.4 KiB
HTML
Raw Normal View History

2022-01-08 16:22:16 +00:00
{% extends tpl/layout.html %}
{% block title %}Gallery{% endblock %}
{% block content %}
<div class="content">
<div class="page-header">
2022-01-10 17:41:27 +00:00
<div class="title"><a href="{{ $startpage }}">{{ $galleryname }}</a></div>
2022-01-08 16:22:16 +00:00
<div class="search">
2022-01-10 16:14:35 +00:00
<form class="f-search" action="index.php" method="get">
2022-01-10 16:16:19 +00:00
<input type="text"placeholder="Suche.." name="f" />
2022-01-10 16:14:35 +00:00
<button type="submit"><i class="fa fa-search"></i></button>
2022-01-08 16:22:16 +00:00
<input type="hidden" name="d" value="{{ $dir }}">
<input type="hidden" name="s" value="{{ $slice }}">
</form>
</div>
</div>
2022-01-10 16:33:10 +00:00
<div class="images">
2022-01-08 16:22:16 +00:00
{% foreach($images as $image): %}
<div class="multi-image">
<a href="index.php?d={{ $dir }}&s=1&gs={{ $slice }}&p={{ $image['i'] }}{{ $filter }}">
<img src="{{ $image['t'] }}" alt="{{ $image['n'] }}"/>
</a>
</div>
{% endforeach %}
2022-01-10 16:33:10 +00:00
</div>
2022-01-08 16:22:16 +00:00
<div class="footer page-footer">
<a id="link-first" href="/index.php?d={{ $dir }}&p=1&s={{ $slice }}{{ $filter }}">1</a>
2022-01-10 17:18:33 +00:00
<a id="link-prev" href="/index.php?d={{ $dir }}&p={{ $prev_page }}&s={{ $slice }}{{ $filter }}"><i class="fa fa-caret-left"></i></a>
2022-01-08 16:22:16 +00:00
<span class="info">{{ $page }}</span>
2022-01-10 17:18:33 +00:00
<a id="link-next" href="/index.php?d={{ $dir }}&p={{ $next_page }}&s={{ $slice }}{{ $filter }}"><i class="fa fa-caret-right"></i></a>
2022-01-08 16:22:16 +00:00
<a id="link-last" href="/index.php?d={{ $dir }}&p={{ $last_page }}&s={{ $slice }}{{ $filter }}">{{ $last_page }}</a>
</div>
</div>
{% endblock %}