Better system + main page debut
This commit is contained in:
16
static/js/index.js
Normal file
16
static/js/index.js
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user