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
fb59131e06
commit
c833e2566b
|
@ -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