Fixed Generate Script

This commit is contained in:
2026-02-12 14:36:29 +00:00
parent 509cd9c332
commit 5de6b80794
13 changed files with 764 additions and 166 deletions

View File

@@ -19,7 +19,7 @@ header{
}
.main-container{
padding:50px 20px 20px 20px ;
padding:50px 20px 50px 20px ;
background-color: #363636;
width:100vw;
height:100vh;
@@ -75,7 +75,7 @@ header{
margin:5px;
background-color: rgba(255, 255, 255, 0.774);
color:black;
flex-direction: column;
justify-content: space-between;
flex-wrap: wrap;

View File

@@ -8,4 +8,22 @@ function show_details(){
})
})
}
}
function aggiornaDati() {
fetch('/process/ajax-refresh.php')
.then(response => response.text())
.then(html => {
const container = document.getElementById('main-container');
if (container) {
container.innerHTML = html;
// Se hai funzioni tipo show_details()
if (typeof show_details === "function") {
show_details();
}
}
})
.catch(error => console.error('Errore AJAX:', error));
}