Sistema Contenedor Ibiza v2.0 - Despliegue Docker

This commit is contained in:
2026-02-01 00:26:47 -06:00
commit 4d07b4b14c
355 changed files with 110875 additions and 0 deletions

28
public/assets/js/main.js Normal file
View File

@@ -0,0 +1,28 @@
/**
* Main JS
*/
function confirmDelete(message = '¿Estás seguro de eliminar este registro?') {
return confirm(message);
}
function openModal(modalId) {
const modal = document.getElementById(modalId);
if (modal) {
modal.style.display = 'flex';
}
}
function closeModal(modalId) {
const modal = document.getElementById(modalId);
if (modal) {
modal.style.display = 'none';
}
}
// Cerrar modales clickeando fuera
window.onclick = function (event) {
if (event.target.classList.contains('modal')) {
event.target.style.display = "none";
}
}