api_diff / templates /error.html
kumudraj01's picture
spell fix
5970584
Raw
History Blame Contribute Delete
1.94 kB
<!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>