Offlinehandling hinzugefügt
This commit is contained in:
65
offline.html
Executable file
65
offline.html
Executable file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>DoMiLi - Offline</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
padding-top: 60px;
|
||||
}
|
||||
.offline-content {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.center-content {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 70vh;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand d-flex align-items-center" href="index.php">
|
||||
<img src="img/icon-192.png" alt="Logo" width="32" height="32" class="me-2">
|
||||
DoMiLi
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Offline Content -->
|
||||
<div class="center-content">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-body p-4">
|
||||
<div class="text-center mb-4">
|
||||
<span class="material-icons" style="font-size: 4rem; color: #6c757d;">cloud_off</span>
|
||||
</div>
|
||||
<h2 class="text-center mb-3">Keine Internetverbindung</h2>
|
||||
<p class="text-center text-muted mb-4">
|
||||
Bitte überprüfe deine Netzwerkverbindung und versuche es erneut.
|
||||
</p>
|
||||
<div class="text-center">
|
||||
<button class="btn btn-primary" onclick="location.reload()">
|
||||
<span class="material-icons me-1">refresh</span>
|
||||
Erneut versuchen
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user