feat: add PWA support - manifest, service worker, offline page, icons
This commit is contained in:
21
views/errors/offline.php
Normal file
21
views/errors/offline.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Offline — ServerManager</title>
|
||||
<link rel="stylesheet" href="/assets/css/style.css?v=<?= asset_version() ?>">
|
||||
</head>
|
||||
<body class="error-page">
|
||||
<div class="error-card">
|
||||
<div class="error-code" style="font-size:4rem">📡</div>
|
||||
<h1 class="error-message">You're Offline</h1>
|
||||
<p class="error-description">ServerManager needs an internet connection to manage your servers.<br>Check your connection and try again.</p>
|
||||
<div class="error-actions">
|
||||
<a href="/dashboard" class="btn btn-primary">
|
||||
<i class="fas fa-sync"></i> Retry
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user