f0ckv1/s/item.tpl.html
2017-10-21 06:18:52 +02:00

86 lines
4.0 KiB
HTML

<!doctype blah>
<html>
<head>
<title>{{ id }} - f0ck.me</title>
<link rel="stylesheet" type="text/css" href="./s/video-js.min.css" />
<link rel="stylesheet" type="text/css" href="./s/vsg-skin.css" />
<link rel="stylesheet" type="text/css" href="./s/style.css" />
<link rel="stylesheet" type="text/css" href="./s/master.css" />
<link rel="stylesheet" type="text/css" href="./s/font-awesome-4.7.0/css/font-awesome.min.css" />
<link rel="icon" type="image/gif" href="./s/favicon.gif" />
<meta name="Description" content="f0cked by {{ username }}" />
<meta property="og:image" content="{{ thumbnail }}" />
<meta charset="utf-8" />
</head>
<body>
<div class="return"><a href="/" title="return to main"><img class="van" src="./s/f0ck_small.png" alt="f0ck Logo"></a></div>
<div class="controls">
<a id="random" href="/random">RANDOM</a>
</div>
<div class="wrapper">
<div class="medium">
{% if next != null %}<a href="/{{ next }}"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>{% endif %}
{% if item == "video" %}
<video id="my-video" class="video-js" src="{{ dest }}" preload="auto" height="360" width="640" controls autoplay loop data-setup="{}"></video>
{% elseif item == "audio" %}
{% if thumb != null %}
<div>
<!-- <img src="{{ thumb }}" /><br /> -->
{% endif %}
<audio id="my-video" class="video-js audiojs" controls loop src="{{ dest }}" data-setup="{}" poster="{% if thumb !== null %}{{ thumb }}{% else %}/s/pingu.gif{% endif %}" type="audio/mp3" ></audio>
{% if thumb != null %}
</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 %}
{% if prev != null %}<a href="/{{ prev }}"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>{% endif %}
</div>
</div>
<div class="panel info">
<div class="mudderfigg">
<span class="id">ID: {{ id }} by {{ username }}</span> <span class="id"> <i class="fa fa-tint" aria-hidden="true"></i> <a id="holland" href="{{ srcurl }}" target="_blank">{{ src }}</a></span> <span class="id"><i class="fa fa-download" aria-hidden="true"></i><a href="{{ dest }}" download> Download</a></span> <span class="id"><i class="fa fa-file-o" aria-hidden="true"></i> {{ mime }}</span> <span class="id"><i class="fa fa-hdd-o" aria-hidden="true"></i> {{ size }}</span> <span class="id"><i class="fa fa-commenting-o" aria-hidden="true"></i> IRC <span class="">{{ usernetwork }} {{ userchannel }}</span></span> <span class="id"><i class="fa fa-clock-o" aria-hidden="true"></i> <time class="timeago" title="{{ timestamp }}" datetime="{{ timestamp }}"></time></span> <span class="id"><span id="themes"></span></span>
</div>
</div>
<script src="./s/shit.js"></script>
<script src="./s/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="./s/jquery.timeago.js"></script>
<script src="./s/theme.js"></script>
<script src="./s/video.min.js"></script>
<script>
$(document).ready(() => {
var s = $.timeago.settings;
var str = s.strings;
s.refreshMillis = 1000;
s.allowFuture = true;
s.localeTitle = true;
str.seconds = "%d seconds";
str.minute = "1 minute";
str.hour = "1 hour";
str.hours = "%d hours";
str.day = "1 day";
str.month = "1 month";
str.year = "1 year";
str.suffixFromNow = null;
$("time.timeago").timeago();
});
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//observation.stasi.club/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//observation.stasi.club/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
</body>
</html>