irgendwas mit controls

This commit is contained in:
Flummi 2016-10-19 14:41:05 +00:00
parent c333fb4339
commit 90687172d6

View File

@ -1,37 +1,37 @@
<!DOCTYPE blah> <!DOCTYPE blah>
<html> <html>
<head> <head>
<title>{{ id }} - f0ck.me</title> <title>{{ id }} - f0ck.me</title>
<link rel="stylesheet" type="text/css" href="./s/style.css"> <link rel="stylesheet" type="text/css" href="./s/style.css">
<link rel="icon" type="image/gif" href="./s/favicon.gif" /> <link rel="icon" type="image/gif" href="./s/favicon.gif" />
</head> </head>
<body> <body>
<div class="id">[ID: {{ id }} | by: {{ username }}]</div> <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="return"><a href="/" title="return to main">f0ck.me</a></div><br /> <div class="id">[ID: {{ id }} | by: {{ username }}]</div>
{% if thumb != null %} <div class="return"><a href="/" title="return to main">f0ck.me</a></div><br />
<div class="thumbnail"> {% if thumb != null %}
<img src="{{ thumb }}" /> <div class="thumbnail">
</div> <img src="{{ thumb }}" />
{% endif %} </div>
<div class="medium"> {% endif %}
{% if item == "video" %} <div class="medium">
<video src="{{ dest }}" style="max-width: 1024px" preload="auto" autoplay controls loop></video> {% if item == "video" %}
{% elseif item == "audio" %} <video src="{{ dest }}" style="max-width: 1024px" preload="auto" autoplay controls loop></video>
<audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio> {% elseif item == "audio" %}
{% elseif item == "image" %} <audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a> {% elseif item == "image" %}
{% else %} <a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
<h1>404 - Not f0cked</h1> {% else %}
{% endif %} <h1>404 - Not f0cked</h1>
</div> {% endif %}
<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><br />
<div class="info"> <div class="info">
<span class="src">src: <a href="{{ srcurl }}" target="_blank">{{ src }}</a></span><br /> <span class="src">src: <a href="{{ srcurl }}" target="_blank">{{ src }}</a></span><br />
<span class="dest">dest: {{ dest }}</span><br /> <span class="dest">dest: {{ dest }}</span><br />
<span class="mime">mime: {{ mime }}</span>&nbsp; <span class="mime">mime: {{ mime }}</span>&nbsp;
<span class="size">size: {{ size }}</span><br /> <span class="size">size: {{ size }}</span><br />
<span class="channel">channel: {{ userchannel }}</span>&nbsp; <span class="channel">channel: {{ userchannel }}</span>&nbsp;
<span class="network">network: {{ usernetwork }}</span> <span class="network">network: {{ usernetwork }}</span>
</div> </div>
</body> </body>
</html> </html>