parent
735fcbfadb
commit
7acdc5e47f
1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
||||
<!doctype html> |
||||
<html> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="refresh" content="3600"> |
||||
<title>striim ja kell</title> |
||||
<style> |
||||
body { |
||||
background:black; |
||||
margin:0; |
||||
padding:0; |
||||
} |
||||
</style> |
||||
<p id=kell style="color:white;font-size:600%;text-align:center;padding:0;margin:0;"></p> |
||||
<img style="cursor:none;width:100%;" src="http://kontor.lapikud.ee:9999/?action=stream" alt="video0"/> |
||||
<script> |
||||
setInterval(function(){ |
||||
var d = new Date(); |
||||
var p = document.getElementById("kell"); |
||||
var datestring = ("0" + d.getDate()).slice(-2) + "-" + ("0"+(d.getMonth()+1)).slice(-2) + "-" + d.getFullYear() + " " + ("0" + d.getHours()).slice(-2) + ":" + ("0" + d.getMinutes()).slice(-2); |
||||
p.innerHTML = datestring; |
||||
}, 1000); |
||||
|
||||
</script> |
Loading…
Reference in new issue