Merge branch 'f0ckdev' into 'master'
fixed issues with sc/yt-thumbs above player See merge request !12
This commit is contained in:
commit
7581a4244c
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE blah>
|
<!doctype blah>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ id }} - f0ck.me</title>
|
<title>{{ id }} - f0ck.me</title>
|
||||||
|
@ -8,23 +8,33 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="return"><a href="/" title="return to main">f0ck.me</a></div>
|
<div class="return"><a href="/" title="return to main">f0ck.me</a></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="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>
|
||||||
<div class="medium">
|
<div class="medium">
|
||||||
{% if item == "video" %}
|
{% if item == "video" %}
|
||||||
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
|
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
|
||||||
{% elseif item == "audio" %}
|
{% elseif item == "audio" %}
|
||||||
{% if thumb != null %}
|
{% if thumb != null %}
|
||||||
<!--<div class="audiothumbnail">-->
|
<div>
|
||||||
<img src="{{ thumb }}" />
|
<img src="{{ thumb }}" /><br />
|
||||||
<!--</div>-->
|
{% endif %}
|
||||||
|
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
|
||||||
|
{% if thumb != null %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio><br />
|
|
||||||
{% elseif item == "image" %}
|
{% elseif item == "image" %}
|
||||||
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
|
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>404 - Not f0cked</h1>
|
<h1>404 - Not f0cked</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br />
|
|
||||||
<div class="panel info">
|
<div class="panel info">
|
||||||
<span class="id">ID: {{ id }} | by: {{ username }}<span></span><br />
|
<span class="id">ID: {{ id }} | by: {{ username }}<span></span><br />
|
||||||
<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 />
|
||||||
|
@ -36,7 +46,6 @@
|
||||||
<span class="timestamp">timestamp: {{ timestamp }}</span>
|
<span class="timestamp">timestamp: {{ timestamp }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
|
||||||
<script>
|
<script>
|
||||||
function arrowKeys(e) {
|
function arrowKeys(e) {
|
||||||
switch(e.keyCode) {
|
switch(e.keyCode) {
|
||||||
|
@ -69,5 +78,4 @@ var x = document.getElementById("player");
|
||||||
x.volume = 0.3;
|
x.volume = 0.3;
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
<! Fuck git… seriously-->
|
|
||||||
</html>
|
</html>
|
|
@ -55,11 +55,10 @@ a:hover {
|
||||||
.medium, .thumbnail {
|
.medium, .thumbnail {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
/* align-items: center; */
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
.info {
|
.info {
|
||||||
/* text-align: center; */
|
padding-top: 5px;
|
||||||
padding-top: 5px;
|
|
||||||
}
|
}
|
||||||
.id {
|
.id {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user