show prev/next on first and last element
This commit is contained in:
parent
04db63ea0d
commit
342825653e
|
@ -20,7 +20,11 @@
|
|||
</div>
|
||||
<div class="wrapper">
|
||||
<div class="medium">
|
||||
{% if next != null %}<a id="next" href="/{{ next }}"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>{% endif %}
|
||||
{% if next != null %}
|
||||
<a id="next" href="/{{ next }}"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>
|
||||
{% else %}
|
||||
<a id="next" href="#" style="color: #ccc !important;"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>
|
||||
{% endif %}
|
||||
{% if item == "video" %}
|
||||
<video id="my-video" class="video-js" src="{{ dest }}" preload="auto" height="360" width="640" controls autoplay loop data-setup="{}"></video>
|
||||
{% elseif item == "audio" %}
|
||||
|
@ -37,7 +41,11 @@
|
|||
{% else %}
|
||||
<h1>404 - Not f0cked</h1>
|
||||
{% endif %}
|
||||
{% if prev != null %}<a id="prev" href="/{{ prev }}"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>{% endif %}
|
||||
{% if prev != null %}
|
||||
<a id="prev" href="/{{ prev }}"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>
|
||||
{% else %}
|
||||
<a id="prev" href="#" style="color: #ccc !important;"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user