rooting-future / templates /error.html
mtornani's picture
Fix guest view 500: pass plan= alias, create error.html, strip block chars in PDF/DOCX via export_core
eeead3f
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Errore – Rooting Future</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f172a; color: #f1f5f9; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.card { background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 2.5rem; text-align: center; max-width: 420px; width: 100%; }
.icon { font-size: 3rem; margin-bottom: 1rem; }
h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: #f87171; }
p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 1.5rem; }
a { display: inline-block; background: #10b981; color: #000; padding: 0.6rem 1.5rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 0.9rem; }
a:hover { background: #059669; }
</style>
</head>
<body>
<div class="card">
<div class="icon">⚠️</div>
<h1>Errore</h1>
<p>{{ message or 'Si è verificato un errore imprevisto.' }}</p>
<a href="/">Torna alla Dashboard</a>
</div>
</body>
</html>