vsgallery/tpl/gallery.html

43 lines
1.6 KiB
HTML
Raw Normal View History

2022-01-08 16:22:16 +00:00
{% extends tpl/layout.html %}
{% block title %}Gallery{% endblock %}
{% block content %}
2022-01-10 20:27:57 +00:00
<div class="container">
<div class="page-header">
<div class="title"><a href="{{ $startpage }}">{{ $galleryname }}</a></div>
<div class="search">
<form action="index.php" method="get">
<input type="text"placeholder="Suche.." name="f" />
<button type="submit"><i class="fa fa-search"></i></button>
<input type="hidden" name="d" value="{{ $dir }}">
<input type="hidden" name="s" value="{{ $slice }}">
</form>
</div>
2022-01-08 16:22:16 +00:00
</div>
2022-01-10 20:27:57 +00:00
<div class="content">
2022-01-11 15:25:49 +00:00
{% foreach($dirs as $d): %}
<div class="multi-image">
2022-01-11 15:28:21 +00:00
<a href="index.php?d={{ $d }}&s={{ $slice }}&p=1">
2022-01-11 15:25:49 +00:00
<img src="./img/folder.png" alt="{{ $d }}"/>
</a>
</div>
{% endforeach %}
2022-01-10 20:27:57 +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 %}
</div>
<div class="page-footer">
2022-01-08 16:22:16 +00:00
<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>
2022-01-10 20:27:57 +00:00
</div>
2022-01-08 16:22:16 +00:00
</div>
{% endblock %}