f0ckv1/s/item.tpl.html

57 lines
2.3 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>
2017-02-02 11:54:03 +00:00
<link rel="stylesheet" type="text/css" href="./s/plyr.css" />
2016-12-19 10:57:55 +00:00
<link rel="stylesheet" type="text/css" href="./s/style.css" />
2017-09-03 17:11:29 +00:00
<link rel="stylesheet" type="text/css" href="./s/master.css" />
2016-11-06 02:02:13 +00:00
<link rel="icon" type="image/gif" href="./s/favicon.gif" />
2017-02-02 10:51:28 +00:00
2016-12-19 11:04:12 +00:00
<meta name="Description" content="f0cked by {{ username }}" />
2017-07-27 06:57:47 +00:00
<meta property="og:image" content="https://f0ck.me/t/{{ id }}.png" />
2016-10-19 14:41:05 +00:00
</head>
<body>
2017-09-03 17:12:38 +00:00
<div class="return"><a href="/" title="return to main"><img class="van" src="./s/f0ck_small.png" alt="f0ck Logo"></a></div>
2016-10-21 21:37:40 +00:00
<div class="controls">
2017-09-08 15:07:48 +00:00
{% if next != null %}<a id="next" href="/{{ next }}">&lt;&lt;-</a>&nbsp;|&nbsp;{% endif %}<a id="random" href="/random">random</a>{% if prev != null %}&nbsp;|&nbsp;<a id="prev" href="/{{ prev }}">-&gt;&gt;</a>{% endif %}
2016-10-21 21:37:40 +00:00
</div>
<div class="wrapper">
<div class="medium">
{% if item == "video" %}
<video id="player" src="{{ dest }}" preload="auto" controls loop></video>
{% elseif item == "audio" %}
{% if thumb != null %}
<div>
<img src="{{ thumb }}" /><br />
{% endif %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" ></audio>
{% if thumb != null %}
2016-11-15 13:18:15 +00:00
</div>
{% endif %}
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 640px;height:auto;" /></a>
{% else %}
<h1>404 - Not f0cked</h1>
{% endif %}
</div>
</div>
<div class="panel info">
2017-08-11 15:23:00 +00:00
<span class="id">ID: {{ id }} | by: <span class="name">{{ username }}</span></span><br />
<span class="src">src: <a id="holland" href="{{ srcurl }}" target="_blank">{{ src }}</a></span><br />
<span class="dest">Download: <a href="{{ dest }}" download>{{ dest }}</a></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>
<span class="timestamp">timestamp: {{ timestamp }}</span><br>
<span id="themes">theme: </span>
</div>
2016-11-06 01:11:53 +00:00
<script src="./s/shit.js"></script>
<script src="./s/theme.js"></script>
2017-02-02 11:51:00 +00:00
<script src="./s/plyr.js"></script>
2017-02-02 14:15:40 +00:00
<script>plyr.setup( { autoplay: "false" } );</script>
2016-10-19 14:41:05 +00:00
</body>
2016-10-22 15:39:20 +00:00
</html>