error.html 1.7 KB

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