Update item.tpl.html
This commit is contained in:
		@@ -9,15 +9,15 @@
 | 
				
			|||||||
<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><br />
 | 
				
			||||||
  {% if thumb != null %}
 | 
					   <div class="medium">
 | 
				
			||||||
  <div class="thumbnail">
 | 
					 | 
				
			||||||
    <img src="{{ thumb }}" />
 | 
					 | 
				
			||||||
  </div>
 | 
					 | 
				
			||||||
  {% endif %}
 | 
					 | 
				
			||||||
  <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 %}
 | 
				
			||||||
 | 
					    <div class="thumbnail">
 | 
				
			||||||
 | 
					    <img src="{{ thumb }}" />
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					    {% endif %}
 | 
				
			||||||
      <audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
 | 
					      <audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
 | 
				
			||||||
    {% 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>
 | 
				
			||||||
@@ -62,7 +62,7 @@
 | 
				
			|||||||
      });
 | 
					      });
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  var video = document.getElementById('player');
 | 
					  var video = document.getElementById('player');
 | 
				
			||||||
  video.volume = 0.3;
 | 
					  video.volume = 0.5;
 | 
				
			||||||
  </script>
 | 
					  </script>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
<! Fuck git… seriously-->
 | 
					<! Fuck git… seriously-->
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user