| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Offline - Contact Management System</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, #4CAF50 0%, #45a049 100%); | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 100vh; | |
| text-align: center; | |
| padding: 20px; | |
| } | |
| .offline-container { | |
| max-width: 500px; | |
| } | |
| .offline-icon { | |
| font-size: 80px; | |
| margin-bottom: 20px; | |
| opacity: 0.8; | |
| } | |
| h1 { | |
| font-size: 2rem; | |
| margin-bottom: 1rem; | |
| } | |
| p { | |
| font-size: 1.1rem; | |
| line-height: 1.6; | |
| margin-bottom: 2rem; | |
| opacity: 0.9; | |
| } | |
| .retry-btn { | |
| background: white; | |
| color: #4CAF50; | |
| border: none; | |
| padding: 12px 30px; | |
| font-size: 1rem; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-weight: 600; | |
| transition: transform 0.2s; | |
| } | |
| .retry-btn:hover { | |
| transform: translateY(-2px); | |
| } | |
| .retry-btn:active { | |
| transform: translateY(0); | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="offline-container"> | |
| <div class="offline-icon">📡</div> | |
| <h1>You're Offline</h1> | |
| <p>It looks like you've lost your internet connection. Please check your connection and try again.</p> | |
| <button class="retry-btn" onclick="window.location.reload()">Retry Connection</button> | |
| </div> | |
| </body> | |
| </html> | |