Skip to content

Commit

Permalink
placeholder for the terms acceptance page.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfagundes committed Jan 16, 2024
1 parent fc3ca57 commit c112f6f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 9 additions & 2 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
console.log = function() {}
}

var TERMS_ACCEPTED = true;

/*
var INFO = {
"hardware": {},
Expand All @@ -96,7 +98,7 @@
// for mod-app control
var desktop = null

$('document').ready(function() {
var startApp = function() {
desktop = new Desktop({
titleBox: $('#pedalboard-info h1'),
pedalboard: $('#pedalboard-dashboard'),
Expand Down Expand Up @@ -251,7 +253,12 @@
}
})();
*/
})
};
if (TERMS_ACCEPTED) {
$('document').ready(startApp);
} else {
document.location.href = '/terms.html';
}
</script>

<script type="text/javascript" src="js/templates.js?v={{version}}"></script>
Expand Down
5 changes: 5 additions & 0 deletions html/terms.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<html>
<body>
Here goes terms, and a button to accept
</body>
</html>

0 comments on commit c112f6f

Please sign in to comment.