Better system + main page debut

This commit is contained in:
2024-09-09 23:34:18 +02:00
parent 6c96cae51d
commit ccc632a418
6 changed files with 72 additions and 3 deletions

16
static/js/index.js Normal file
View File

@@ -0,0 +1,16 @@
App = {
div: document.getElementById("app"),
current_page: 0,
vote_plus_id: null,
vote_plus_nickname: null,
vote_plus_reason: null,
vote_moins_id: null,
vote_moins_nickname: null,
vote_moins_reason: null
}
load_page(App["current_page"])
function load_page(id) {
console.log("He he")
}