Spaces:
Running
Running
| <html> | |
| <head> | |
| <title>Error - Human Notes Evaluator</title> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> | |
| <style> | |
| .error-container { | |
| max-width: 800px; | |
| margin: 50px auto; | |
| padding: 30px; | |
| background-color: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 0 20px rgba(0,0,0,0.1); | |
| } | |
| .error-title { | |
| color: #d9534f; | |
| border-bottom: 1px solid #eee; | |
| padding-bottom: 15px; | |
| margin-bottom: 20px; | |
| } | |
| .error-message { | |
| background-color: #f8d7da; | |
| color: #721c24; | |
| padding: 15px; | |
| border-radius: 4px; | |
| margin: 20px 0; | |
| border-left: 4px solid #f5c6cb; | |
| } | |
| .error-details { | |
| background-color: #f8f9fa; | |
| padding: 15px; | |
| border-radius: 4px; | |
| font-family: monospace; | |
| white-space: pre-wrap; | |
| overflow-x: auto; | |
| } | |
| .error-actions { | |
| margin-top: 30px; | |
| display: flex; | |
| gap: 10px; | |
| flex-wrap: wrap; | |
| } | |
| .error-actions a { | |
| text-decoration: none; | |
| padding: 10px 15px; | |
| border-radius: 4px; | |
| background-color: #007bff; | |
| color: white; | |
| } | |
| .error-actions a.secondary { | |
| background-color: #6c757d; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <h1>Human Notes Evaluator</h1> | |
| </div> | |
| <div class="error-container"> | |
| <h2 class="error-title">An Error Occurred</h2> | |
| <p>We encountered a problem while processing your request. This may be due to a temporary issue or a configuration problem.</p> | |
| <div class="error-message"> | |
| {{ error_message }} | |
| </div> | |
| {% if error_details %} | |
| <h3>Technical Details</h3> | |
| <div class="error-details"> | |
| {{ error_details }} | |
| </div> | |
| {% endif %} | |
| <div class="error-actions"> | |
| <a href="{{ url_for('index') }}">Return to Home</a> | |
| <a href="{{ url_for('debug') }}" class="secondary">View Debug Information</a> | |
| <a href="{{ url_for('reset') }}" class="secondary">Reset Application</a> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |