Revert "topkek"

This reverts commit 8c3c84ce29
This commit is contained in:
Flummi 2017-04-01 18:00:57 +00:00
parent 0e00f2901a
commit 9542f76ce7
2 changed files with 33 additions and 20 deletions

View File

@ -9,7 +9,7 @@
<body>
<div class="navbar"><a href="/">f0ck.me</a> | <a href="/how">how to</a> | <a href="/contact">Contact</a> | <a href="/random">Random</a> | <span id="themes"></span></div>
<ul id="posts" data-last="{{ last }}">
{% for item in items %}<li class="post"><a href="./{{ item.id }}" title="{{ item.mime }}"><img class="thumb" src="./t/16430.png" /></a></li>
{% for item in items %}<li class="post"><a href="./{{ item.id }}" title="{{ item.mime }}"><img class="thumb" src="./t/{{ item.id }}.png" /></a></li>
{% endfor %}
</ul>
<script src="./s/jquery-3.1.0.min.js"></script>

View File

@ -20,26 +20,39 @@
&nbsp;| <a id="prev" href="/{{ prev }}">->></a>
{% endif %}
</div>
<div class="wrapper">
<div class="medium">
{% if item == "image" || item == "audio" || item == "video" %}
<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">
<span class="id">ID: {{ id }} | by: <span class="name">{{ username }}</span><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 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 %}
</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">
<span class="id">ID: {{ id }} | by: <span class="name">{{ username }}</span><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>
<script src="./s/shit.js"></script>
<script src="./s/theme.js"></script>
<script src="./s/plyr.js"></script>