Files
homelab/ansible/plays/files/custom_error.html
k.renner c13b5819d1 Add 'ansible/' from commit '693bc3fc87b3fe155df2ed8004f163ba247ca6d8'
git-subtree-dir: ansible
git-subtree-mainline: 2d82d3bd67
git-subtree-split: 693bc3fc87
2026-01-27 17:56:08 +01:00

66 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Service Unavailable</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #f4f4f5;
color: #18181b;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
padding: 2rem;
background: white;
border-radius: 8px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
max-width: 400px;
width: 90%;
}
h1 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: #ef4444;
}
p {
color: #52525b;
line-height: 1.5;
margin-bottom: 1.5rem;
}
.icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.refresh-btn {
background-color: #2563eb;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
transition: background-color 0.2s;
}
.refresh-btn:hover {
background-color: #1d4ed8;
}
</style>
</head>
<body>
<div class="container">
<div class="icon">🔌</div>
<h1>Service Unavailable</h1>
<p>The application is currently unavailable or starting up. Please try again in a few moments.</p>
<button class="refresh-btn" onclick="window.location.reload()">Refresh Page</button>
</div>
</body>
</html>