init: projet complet copymail pour Raspberry Pi
Stack: Nginx + PHP 8.2 + MariaDB + Postfix + Dovecot + Samba - install.sh: script installation automatisé pour RPi OS Bookworm - Interface web: visionneuse mails + admin (comptes, domaine, dashboard) - Chaque compte mail génère automatiquement un share Samba - Processeur cron: extraction pièces jointes via zbateson/mail-mime-parser - Zéro injection SQL (PDO + prepared statements) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
7
web/assets/js/app.js
Normal file
7
web/assets/js/app.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Auto-dismiss alerts after 4s
|
||||
document.querySelectorAll('.alert-dismissible').forEach(el => {
|
||||
setTimeout(() => {
|
||||
const btn = el.querySelector('.btn-close');
|
||||
if (btn) btn.click();
|
||||
}, 4000);
|
||||
});
|
||||
Reference in New Issue
Block a user