Spaces:
Running
Running
File size: 2,619 Bytes
914b8cc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | <!DOCTYPE html>
<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> |