f0ckv1/s/item.tpl.html

37 lines
1.6 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 />
2016-09-13 12:12:36 +00:00
{% if thumb != null %}
<div class="thumbnail">
<img src="{{ thumb }}" />
</div>
{% endif %}
<div class="medium">
{% if item == "video" %}
2016-08-19 17:31:40 +00:00
<video src="{{ dest }}" style="max-width: 1024px" preload="auto" autoplay controls loop></video>
2016-08-17 19:13:55 +00:00
{% elseif item == "audio" %}
2016-08-19 17:31:40 +00:00
<audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
2016-08-17 19:13:55 +00:00
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %}
<h1>404 - Not f0cked</h1>
{% endif %}
</div>
2016-08-18 01:33:10 +00:00
<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="info">
2016-09-01 07:56:53 +00:00
<span class="src">src: <a href="{{ srcurl }}" 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>