f0ckv1/s/item.tpl.html

32 lines
1.4 KiB
HTML
Raw Normal View History

<!DOCTYPE blah>
<html>
<head>
<title>{{ id }} - f0ck.me</title>
<link rel="stylesheet" type="text/css" href="./s/style.css">
<link rel="icon" type="image/gif" href="./s/favicon.gif" />
</head>
<body>
<div class="id">[ID: {{ id }} | by: {{ username }}]</div>
<div class="return"><a href="/" title="return to main">f0ck.me</a></div><br />
<div class="medium">
{% if item == "video" %}
<video src="{{ dest }}" style="max-width: 1024px" autoplay controls loop></video>
{% endif %}
{% if item == "audio" %}
<audio controls src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% endif %}
{% if item == "image" %}
<img src="{{ dest }}" style="max-width: 1024px" />
{% endif %}
</div>
2016-08-16 18:27:09 +00:00
<div class="controls">{% if next != null %}<a href="/{{ next }}"><<-</a> | {% endif %} <a href="/random" title="Random">random</a> {% if prev != null %} | <a href="/{{ prev }}">->></a>{% endif %}</div><br />
<div class="info">
<span class="src">src: <a href="{{ src }}" target="_blank">{{ src }}</a></span><br />
<span class="dest">dest: {{ dest }}</span><br />
<span class="mime">mime: {{ mime }}</span>&nbsp;
<span class="size">size: {{ size }}</span><br />
<span class="channel">channel: {{ userchannel }}</span>&nbsp;
<span class="network">network: {{ usernetwork }}</span>
</div>
</body>
</html>