35d460b127
Multi-tenant marine invoicing system: Stripe payments, PDF generation, digital signatures, QR codes, SMTP email, bilingual templates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
175 lines
4.2 KiB
HTML
175 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>MarineInvoice Pro — Login</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: 'DM Sans', sans-serif;
|
|
background: #0a1628;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
body::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 600px; height: 600px;
|
|
background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
|
|
top: -200px; right: -200px;
|
|
border-radius: 50%;
|
|
}
|
|
body::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 400px; height: 400px;
|
|
background: radial-gradient(circle, rgba(26,58,107,0.4) 0%, transparent 70%);
|
|
bottom: -100px; left: -100px;
|
|
border-radius: 50%;
|
|
}
|
|
.login-card {
|
|
background: #112240;
|
|
border: 1px solid rgba(201,168,76,0.2);
|
|
border-radius: 24px;
|
|
padding: 48px 40px;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
box-shadow: 0 24px 80px rgba(0,0,0,0.5);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.logo {
|
|
text-align: center;
|
|
margin-bottom: 36px;
|
|
}
|
|
.logo-icon {
|
|
width: 64px; height: 64px;
|
|
background: linear-gradient(135deg, #c9a84c, #e8c97a);
|
|
border-radius: 16px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
margin-bottom: 16px;
|
|
box-shadow: 0 8px 24px rgba(201,168,76,0.3);
|
|
}
|
|
.logo h1 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 24px;
|
|
color: #f8f9fc;
|
|
font-weight: 700;
|
|
}
|
|
.logo h1 span { color: #c9a84c; }
|
|
.logo p {
|
|
color: #8892a4;
|
|
font-size: 13px;
|
|
margin-top: 6px;
|
|
}
|
|
.form-group { margin-bottom: 20px; }
|
|
label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #8892a4;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
input {
|
|
width: 100%;
|
|
background: rgba(255,255,255,0.06);
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
border-radius: 12px;
|
|
padding: 14px 16px;
|
|
color: #f8f9fc;
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 15px;
|
|
outline: none;
|
|
transition: all 0.2s;
|
|
}
|
|
input:focus {
|
|
border-color: #c9a84c;
|
|
background: rgba(201,168,76,0.08);
|
|
box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
|
|
}
|
|
.btn-login {
|
|
width: 100%;
|
|
padding: 14px;
|
|
background: linear-gradient(135deg, #c9a84c, #e8c97a);
|
|
border: none;
|
|
border-radius: 12px;
|
|
color: #0a1628;
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
margin-top: 8px;
|
|
transition: all 0.2s;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.btn-login:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(201,168,76,0.4);
|
|
}
|
|
.alert {
|
|
padding: 12px 16px;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
font-size: 13px;
|
|
}
|
|
.alert-error {
|
|
background: rgba(231,76,60,0.15);
|
|
border: 1px solid rgba(231,76,60,0.3);
|
|
color: #e74c3c;
|
|
}
|
|
.footer-text {
|
|
text-align: center;
|
|
margin-top: 24px;
|
|
color: #8892a4;
|
|
font-size: 12px;
|
|
}
|
|
.wave {
|
|
position: absolute;
|
|
bottom: 0; left: 0; right: 0;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, transparent, #c9a84c, transparent);
|
|
border-radius: 0 0 24px 24px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-card">
|
|
<div class="wave"></div>
|
|
<div class="logo">
|
|
<div class="logo-icon">⚓</div>
|
|
<h1>Marine<span>Invoice</span> Pro</h1>
|
|
<p>Sistema de Facturación Náutica</p>
|
|
</div>
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ category }}">{{ message }}</div>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
<form method="POST">
|
|
<div class="form-group">
|
|
<label>Usuario</label>
|
|
<input type="text" name="username" placeholder="Tu usuario" required autofocus>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Contraseña</label>
|
|
<input type="password" name="password" placeholder="••••••••" required>
|
|
</div>
|
|
<button type="submit" class="btn-login">🚀 Ingresar</button>
|
|
</form>
|
|
<div class="footer-text">MarineInvoice Pro © 2024</div>
|
|
</div>
|
|
</body>
|
|
</html>
|