error.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="{{ get_locale() }}">
  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 contacta al soporte si el problema persiste.") }}
  46. </p>
  47. <a href="/" class="btn btn-primary btn-home">{{ _("Volver al Inicio") }}</a>
  48. </div>
  49. <!-- Bootstrap JS and Icons -->
  50. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  51. <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet"/>
  52. </body>
  53. </html>