Change Error Info Box + Clean HTML

This commit is contained in:
MasterAcnolo
2025-11-17 16:40:05 +01:00
parent 1372582c54
commit 0437cb61a2
2 changed files with 34 additions and 45 deletions

View File

@@ -51,13 +51,10 @@ document.addEventListener("DOMContentLoaded", () => {
if (data.error) {
infoDiv.innerHTML = `
<div style="
padding:12px;
background:#380a0a;
border:1px solid #a93333;
border-radius:6px;
margin-top:10px;
padding:7px;
background:var(----infos-box-color);
">
<strong>Erreur :</strong> ${data.error}
<strong>${data.error}</strong>
</div>
`;
infoDiv.classList.add("visible");