mirror of https://github.com/dirtbags/moth.git
Added _www user to httpd user list for OS X in install script. Added points.json to localStorage in scoreboard.js. Added restore.html to display contents of points.json in csv format.
This commit is contained in:
parent
fe729162a1
commit
34a9e26cac
|
@ -0,0 +1,22 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Scoreboard</title>
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
|
<script src="scoreboard.js" async></script>
|
||||||
|
<script>
|
||||||
|
function init() {
|
||||||
|
var pointslog = JSON.parse(localStorage.getItem("points"));
|
||||||
|
for (point in points){
|
||||||
|
console.log(point);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener("load", init);
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Scoreboard</h1>
|
||||||
|
<div id="scoreboard"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue