Files
MarineMaintenance/templates/login.html
T
alro65 67a0e674ca Initial commit — MarineMaintenance v1.0
Marine maintenance management: work orders with photos, ISM/SWP procedures,
MSDS, inventory, RFQ/purchases, vessel history, bilingual PDF reports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 01:54:20 -04:00

154 lines
4.9 KiB
HTML

<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Marine Maintenance — Login</title>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body {
font-family: 'Barlow', sans-serif;
background: #0a1628;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
/* fondo decorativo */
body::before {
content: '';
position: absolute;
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
top: -100px; right: -100px;
border-radius: 50%;
}
body::after {
content: '';
position: absolute;
width: 400px; height: 400px;
background: radial-gradient(circle, rgba(0,180,216,0.05) 0%, transparent 70%);
bottom: -80px; left: -80px;
border-radius: 50%;
}
.login-box {
background: #0f2040;
border: 1px solid rgba(0,180,216,0.2);
border-radius: 16px;
padding: 48px 44px;
width: 400px;
max-width: 95vw;
position: relative;
z-index: 1;
box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.logo-area {
text-align: center;
margin-bottom: 36px;
}
.logo-icon { font-size: 42px; margin-bottom: 10px; }
h1 {
font-family: 'Barlow Condensed', sans-serif;
font-size: 22px;
font-weight: 700;
color: #00b4d8;
letter-spacing: 2px;
text-transform: uppercase;
}
.subtitle {
font-size: 12px;
color: #8a9bb0;
letter-spacing: 3px;
text-transform: uppercase;
margin-top: 4px;
}
.form-group { margin-bottom: 18px; }
label {
display: block;
font-size: 11px;
color: #8a9bb0;
text-transform: uppercase;
letter-spacing: 1.5px;
font-weight: 600;
margin-bottom: 7px;
}
input {
width: 100%;
background: rgba(255,255,255,0.06);
border: 1px solid rgba(0,180,216,0.25);
border-radius: 8px;
padding: 11px 14px;
color: #f0f4f8;
font-family: 'Barlow', sans-serif;
font-size: 14px;
transition: border-color 0.2s, background 0.2s;
}
input:focus {
outline: none;
border-color: #00b4d8;
background: rgba(0,180,216,0.08);
}
.btn-login {
width: 100%;
background: #00b4d8;
color: #0a1628;
border: none;
border-radius: 8px;
padding: 12px;
font-family: 'Barlow', sans-serif;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
cursor: pointer;
transition: background 0.2s;
margin-top: 8px;
}
.btn-login:hover { background: #90e0ef; }
.error {
background: rgba(230,57,70,0.15);
border: 1px solid rgba(230,57,70,0.3);
color: #e63946;
border-radius: 8px;
padding: 10px 14px;
font-size: 13px;
margin-bottom: 18px;
}
.version {
text-align: center;
font-size: 11px;
color: rgba(138,155,176,0.5);
margin-top: 28px;
}
</style>
</head>
<body>
<div class="login-box">
<div class="logo-area">
<div class="logo-icon"></div>
<h1>Marine Maintenance</h1>
<div class="subtitle">Sistema de Gestión</div>
</div>
{% if error %}
<div class="error">{{ error }}</div>
{% endif %}
<form method="POST">
<div class="form-group">
<label>Usuario</label>
<input type="text" name="username" autocomplete="username"
value="{{ username or '' }}" required autofocus>
</div>
<div class="form-group">
<label>Contraseña</label>
<input type="password" name="password" autocomplete="current-password" required>
</div>
<button type="submit" class="btn-login">Ingresar →</button>
</form>
<div class="version">Marine Maintenance Pro v2.0 · Puerto 5500</div>
</div>
</body>
</html>