k / templates /error.html
Swapnilbpatil's picture
Upload 2 files
ca7683a verified
Raw History Blame Contribute Delete
2.11 kB
<!-- templates/error.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error - Kidney Disease Detection</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8f9fa;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.error-container {
max-width: 600px;
background-color: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
text-align: center;
}
.error-icon {
font-size: 60px;
color: #e74c3c;
margin-bottom: 20px;
}
.error-title {
font-size: 28px;
color: #2c3e50;
margin-bottom: 15px;
}
.error-message {
font-size: 18px;
color: #7f8c8d;
margin-bottom: 30px;
}
.home-btn {
background-color: #3498db;
color: white;
padding: 12px 30px;
border: none;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
display: inline-block;
}
.home-btn:hover {
background-color: #2980b9;
transform: translateY(-2px);
color: white;
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-icon">❌</div>
<h1 class="error-title">Something Went Wrong</h1>
<p class="error-message">{{ message }}</p>
<a href="/" class="home-btn">Return to Home</a>
</div>
</body>
</html>