f0ckv1/s/item.tpl.html

55 lines
2.0 KiB
HTML
Raw Normal View History

2016-10-21 21:37:40 +00:00
<!doctype blah>
2016-10-19 14:41:05 +00:00
<html>
<head>
<title>{{ id }} - f0ck.me</title>
2016-10-20 21:07:09 +00:00
<link rel="stylesheet" type="text/css" href="./s/stylo.css">
2016-10-19 14:41:05 +00:00
<link rel="stylesheet" type="text/css" href="./s/style.css">
2016-11-06 02:02:13 +00:00
<link rel="icon" type="image/gif" href="./s/favicon.gif" />
2016-10-19 14:41:05 +00:00
</head>
<body>
2016-10-19 14:45:24 +00:00
<div class="return"><a href="/" title="return to main">f0ck.me</a></div>
2016-10-21 21:37:40 +00:00
<div class="controls">
{% if next != null %}
2016-11-15 13:18:15 +00:00
<a id="next" href="/{{ next }}"><<-</a>&nbsp;|&nbsp;
2016-10-21 21:37:40 +00:00
{% endif %}
2016-11-15 13:18:15 +00:00
<a id="random" href="/random">random</a>&nbsp;
2016-10-21 21:37:40 +00:00
{% if prev != null %}
2016-11-15 13:18:15 +00:00
&nbsp;| <a id="prev" href="/{{ prev }}">->></a>
2016-10-21 21:37:40 +00:00
{% endif %}
</div>
2016-11-15 13:18:15 +00:00
2016-10-21 21:37:40 +00:00
<div class="medium">
2016-10-20 23:14:03 +00:00
{% if item == "video" %}
2016-11-15 13:18:15 +00:00
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
2016-10-20 23:14:03 +00:00
{% elseif item == "audio" %}
2016-11-15 13:18:15 +00:00
{% if thumb != null %}
<div>
<img src="{{ thumb }}" /><br />
{% endif %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% if thumb != null %}
</div>
{% endif %}
2016-10-19 14:41:05 +00:00
{% elseif item == "image" %}
2016-11-15 13:18:15 +00:00
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 640px;height:auto;" /></a>
2016-10-19 14:41:05 +00:00
{% else %}
2016-11-15 13:18:15 +00:00
<h1>404 - Not f0cked</h1>
2016-10-19 14:41:05 +00:00
{% endif %}
2016-10-21 21:37:40 +00:00
<div class="panel info">
<span class="id">ID: {{ id }} | by: {{ username }}<span></span><br />
2016-11-04 01:18:32 +00:00
<span class="src">src: <a id="holland" href="{{ srcurl }}" target="_blank">{{ src }}</a></span><br />
2016-10-21 21:37:40 +00:00
<span class="dest">dest: {{ dest }}</span><br />
<span class="mime">mime: {{ mime }}</span>&nbsp;<br />
<span class="size">size: {{ size }}</span><br />
<span class="channel">channel: {{ userchannel }}</span>&nbsp;
<span class="network">network: {{ usernetwork }}</span><br>
2016-11-15 13:12:43 +00:00
<span class="timestamp">timestamp: {{ timestamp }}</span><br>
2016-11-05 17:44:52 +00:00
<span id="themes">theme: </span>
2016-10-21 21:37:40 +00:00
</div>
</div>
2016-11-06 01:11:53 +00:00
<script src="./s/shit.js"></script>
<script src="./s/theme.js"></script>
2016-10-19 14:41:05 +00:00
</body>
2016-10-22 15:39:20 +00:00
</html>