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:
James Wernicke 2015-05-28 13:43:40 -06:00
parent fb59131e06
commit c833e2566b
1 changed files with 22 additions and 0 deletions

22
www/restore.html Normal file
View File

@ -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>