85 lines
2.2 KiB
HTML
85 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="theme-color" content="#1f3a4d" />
|
|
<title>Sin conexión · Panel Clínico</title>
|
|
<link rel="icon" type="image/svg+xml" href="/icons/icon.svg" />
|
|
<style>
|
|
:root {
|
|
--bg: #f8f6f4;
|
|
--surface: #ffffff;
|
|
--border: #e5e0dc;
|
|
--text: #2d2d2d;
|
|
--muted: #6b6b6b;
|
|
--heading: #1a1a1a;
|
|
--accent: #1f3a4d;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html, body { height: 100%; }
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
}
|
|
.card {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
text-align: center;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
padding: 32px 28px;
|
|
}
|
|
.mark {
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: 0 auto 18px;
|
|
display: block;
|
|
border-radius: 14px;
|
|
}
|
|
h1 {
|
|
margin: 0 0 8px;
|
|
font-size: 20px;
|
|
line-height: 1.25;
|
|
color: var(--heading);
|
|
}
|
|
p {
|
|
margin: 0 0 20px;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: var(--muted);
|
|
}
|
|
button {
|
|
appearance: none;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
padding: 11px 20px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
background: var(--accent);
|
|
cursor: pointer;
|
|
}
|
|
button:active { opacity: 0.9; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="card">
|
|
<img class="mark" src="/icons/icon.svg" alt="" width="56" height="56" />
|
|
<h1>Sin conexión</h1>
|
|
<p>
|
|
No hay conexión a internet en este momento. Revisa tu red e intenta de nuevo;
|
|
la aplicación seguirá trabajando en cuanto vuelvas a estar en línea.
|
|
</p>
|
|
<button type="button" onclick="location.reload()">Reintentar</button>
|
|
</main>
|
|
</body>
|
|
</html>
|