Update item.tpl.html

This commit is contained in:
Flummi 2016-10-20 22:18:07 +00:00
parent ad1e693bf8
commit eb7c0d3649

View File

@ -13,17 +13,18 @@
{% if item == "video" %} {% if item == "video" %}
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video> <video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %} {% elseif item == "audio" %}
{% if thumb != null %} {% if thumb != null %}
<div class="thumbnail"> <div class="thumbnail">
<img src="{{ thumb }}" /> <img src="{{ thumb }}" />
</div> </div><br />
{% endif %} {% endif %}
<audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio> <audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% elseif item == "image" %} {% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a> <a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %} {% else %}
<h1>404 - Not f0cked</h1> <h1>404 - Not f0cked</h1>
{% endif %} {% endif %}
</div>
<br /> <br />
<div class="panel info"> <div class="panel info">
<span class="id">ID: {{ id }} | by: {{ username }}<span></span><br /> <span class="id">ID: {{ id }} | by: {{ username }}<span></span><br />
@ -34,7 +35,6 @@
<span class="channel">channel: {{ userchannel }}</span>&nbsp; <span class="channel">channel: {{ userchannel }}</span>&nbsp;
<span class="network">network: {{ usernetwork }}</span> <span class="network">network: {{ usernetwork }}</span>
</div> </div>
</div>
<br /> <br />
<script> <script>
function arrowKeys(e) { function arrowKeys(e) {
@ -65,5 +65,5 @@
video.volume = 0.5; video.volume = 0.5;
</script> </script>
</body> </body>
<! Fuck git… seriously--> <!-- Fuck git… seriously-->
</html> </html>