mirror of
https://github.com/Hopiu/bowser.git
synced 2026-03-17 03:20:24 +00:00
122 lines
3.1 KiB
HTML
122 lines
3.1 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>Network Error</title>
|
||
|
|
<style>
|
||
|
|
* {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||
|
|
background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
|
||
|
|
min-height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.container {
|
||
|
|
text-align: center;
|
||
|
|
color: #333;
|
||
|
|
max-width: 600px;
|
||
|
|
padding: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-icon {
|
||
|
|
font-size: 80px;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
h1 {
|
||
|
|
font-size: 36px;
|
||
|
|
margin: 20px 0;
|
||
|
|
color: #d32f2f;
|
||
|
|
}
|
||
|
|
|
||
|
|
p {
|
||
|
|
font-size: 16px;
|
||
|
|
line-height: 1.6;
|
||
|
|
margin: 20px 0;
|
||
|
|
opacity: 0.85;
|
||
|
|
}
|
||
|
|
|
||
|
|
.url {
|
||
|
|
background: rgba(0,0,0,0.1);
|
||
|
|
padding: 15px;
|
||
|
|
border-radius: 4px;
|
||
|
|
word-break: break-all;
|
||
|
|
margin: 20px 0;
|
||
|
|
font-family: monospace;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-details {
|
||
|
|
background: rgba(255,255,255,0.3);
|
||
|
|
padding: 20px;
|
||
|
|
border-radius: 4px;
|
||
|
|
margin: 20px 0;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.actions {
|
||
|
|
margin-top: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn {
|
||
|
|
display: inline-block;
|
||
|
|
background: rgba(0,0,0,0.1);
|
||
|
|
color: #333;
|
||
|
|
padding: 12px 24px;
|
||
|
|
border-radius: 4px;
|
||
|
|
text-decoration: none;
|
||
|
|
margin: 10px;
|
||
|
|
border: 1px solid rgba(0,0,0,0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn:hover {
|
||
|
|
background: rgba(0,0,0,0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
.footer {
|
||
|
|
font-size: 12px;
|
||
|
|
opacity: 0.7;
|
||
|
|
margin-top: 40px;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="container">
|
||
|
|
<div class="error-icon">⚠️</div>
|
||
|
|
<h1>Network Error</h1>
|
||
|
|
<p>Unable to connect to the requested server.</p>
|
||
|
|
<div class="url">{{ url }}</div>
|
||
|
|
|
||
|
|
<div class="error-details">
|
||
|
|
<strong>Error Details:</strong>
|
||
|
|
<p>{{ error_message }}</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<p>This could be due to:</p>
|
||
|
|
<ul style="text-align: left; display: inline-block; margin: 20px 0;">
|
||
|
|
<li>Network connectivity issues</li>
|
||
|
|
<li>The server being unavailable</li>
|
||
|
|
<li>DNS resolution failure</li>
|
||
|
|
<li>Invalid URL format</li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
<div class="actions">
|
||
|
|
<a href="about:startpage" class="btn">← Go to Start Page</a>
|
||
|
|
<a href="#" class="btn">↶ Retry</a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="footer">
|
||
|
|
<p>Network Error | Bowser Browser</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|