/
oriono
/
taskman
Обзор
Документация
Войти
/
oriono
/
taskman
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
static/offline.html
89 строк
2 KB
abo
Improve offline page styling and localization
08 фев 2026, 22:50
08 фев 2026, 22:50
12c4e0c
Код
Авторство
О чём код?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>TaskMan — No Connection</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <style> body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; text-align: center; padding: 50px 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; } .container { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); max-width: 500px; width: 90%; } .icon { font-size: 80px; margin-bottom: 20px; animation: pulse 2s infinite; } h1 { color: #667eea; margin: 0 0 15px 0; font-size: 28px; } p { color: #666; font-size: 16px; line-height: 1.6; margin: 0 0 30px 0; } .btn { display: inline-block; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; text-decoration: none; padding: 12px 30px; border-radius: 25px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none; font-size: 16px; } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4); } .btn:active { transform: translateY(0); } .status { margin-top: 25px; padding: 15px; background: #f8f9fa; border-radius: 10px; font-size: 14px; color: #888; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } </style> </head> <body> <div class="container"> <div class="icon">📡</div> <h1>TaskMan Offline</h1> <p>You are currently offline. Please check your internet connection and try again.</p> <button class="btn" onclick="location.reload()">Try Again</button> <div class="status"> <strong>Status:</strong> No internet connection detected </div> </div> </body> </html>