First commit

This commit is contained in:
2024-06-13 09:45:05 +02:00
commit 8073f47c48
11 changed files with 2082 additions and 0 deletions

20
js/main.js Normal file
View File

@@ -0,0 +1,20 @@
console.log('main.js loaded');
async function update() {
const response = await fetch('http://127.0.0.1/api/getzones.php', {
method: 'GET',
});
console.log(response);
const content = await response.json();
// loop le result
// update menu with key
// loop value
// update table with value
}
window.onload = () => {
update();
};