4
0

error.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Error - Squid Monitor</title>
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"/>
  8. <style>
  9. body {
  10. background-color: #f8f9fa;
  11. display: flex;
  12. justify-content: center;
  13. align-items: center;
  14. height: 100vh;
  15. margin: 0;
  16. }
  17. .error-container {
  18. text-align: center;
  19. padding: 2rem;
  20. background-color: #ffffff;
  21. border-radius: 8px;
  22. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  23. }
  24. .error-icon {
  25. font-size: 4rem;
  26. color: #dc3545;
  27. margin-bottom: 1rem;
  28. }
  29. .error-message {
  30. font-size: 1.25rem;
  31. margin-bottom: 1rem;
  32. }
  33. .btn-home {
  34. margin-top: 1rem;
  35. }
  36. </style>
  37. </head>
  38. <body>
  39. <div class="error-container">
  40. <div class="error-icon">
  41. <i class="bi bi-exclamation-triangle-fill"></i>
  42. </div>
  43. <h1 class="error-message">{{ message }}</h1>
  44. <p>
  45. Disculpamos las molestias. Por favor, intenta de nuevo más tarde o
  46. contacta al soporte si el problema persiste.
  47. </p>
  48. <a href="/" class="btn btn-primary btn-home">Volver al Inicio</a>
  49. </div>
  50. <!-- Bootstrap JS and Icons -->
  51. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  52. <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet"/>
  53. </body>
  54. </html>