Update item.tpl.html

This commit is contained in:
noxy 2016-10-20 23:11:10 +00:00
parent 2e9ae965af
commit c1f5b5e72b

View File

@ -9,19 +9,16 @@
<body>
<div class="return"><a href="/" title="return to main">f0ck.me</a></div>
<div class="controls">{% if next != null %}<a id="next" href="/{{ next }}"><<-</a> | {% endif %} <a id="random" href="/random" title="Random">random</a> {% if prev != null %} | <a id="prev" href="/{{ prev }}">->></a>{% endif %}</div><br />
<div class="medium">
{% if item == "video" %}
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% if thumb != null %}
<div class="thumbnail">
<div class="audiothumbnail">
<img src="{{ thumb }}" />
</div>
{% endif %}
<div class="medium">
{% if item == "video" %}
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %}