mirror of https://github.com/dirtbags/moth.git
36 lines
801 B
HTML
36 lines
801 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Scoreboard</title>
|
|
<link rel="stylesheet" href="style.css" type="text/css">
|
|
<script src="scoreboard.js" async></script>
|
|
<style>
|
|
body, html {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
cursor: none;
|
|
}
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
<script>
|
|
function init() {
|
|
setInterval(function(){
|
|
window.document.getElementById('reloader').src = window.document.getElementById('reloader').src;
|
|
},2000);
|
|
}
|
|
window.addEventListener("load", init);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<iframe id="reloader" src="//koth/scoreboard.html">
|
|
<div id="scoreboard"></div>
|
|
</body>
|
|
</html>
|