Spaces:
Sleeping
Sleeping
File size: 1,935 Bytes
2d9b352 5970584 2d9b352 | 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 | <!DOCTYPE html>
<html>
<head>
<title>Error - API Comparator</title>
<style>
/* Inline critical CSS */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
}
.container {
max-width: 600px;
margin: 100px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
.header {
margin-bottom: 20px;
}
.logo {
width: 100px;
height: auto;
}
.error {
color: #dc3545;
margin: 20px 0;
}
.error-detail {
margin-top: 10px;
padding: 10px;
background-color: #f8f9fa;
border-radius: 4px;
color: #666;
font-family: monospace;
white-space: pre-wrap;
}
.button {
display: inline-block;
background-color: #4caf50;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 4px;
margin-top: 20px;
}
.button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<img src="/static/images/TD-logo.jpeg" alt="Logo" class="logo" />
</div>
<div class="error-container">
<h2>Error</h2>
<div class="error">{{ error }}</div>
{% if detail %}
<div class="error-detail">{{ detail }}</div>
{% endif %}
<div style="margin-top: 20px">
<a href="/" class="button">Return to Home</a>
</div>
</div>
</div>
<div
style="text-align: center; margin-top: 20px; color: #666; font-size: 12px"
>
Copyright © 2025 TELUS Digital. All rights reserved.<br />
For internal use only.
</div>
</body>
</html>
|