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
6f1b1acc6f
commit
498f0d20b4
|
@ -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