feat: captura y respaldo de login clasico, screenshots para tiendas y servicios sinpe

This commit is contained in:
unknown
2026-10-07 17:54:14 -06:00
parent 27465cd89d
commit 9a78500206
50 changed files with 1256 additions and 0 deletions
+167
View File
@@ -0,0 +1,167 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SiboPay - Inicio de Sesión Clásico con Roles</title>
<link rel="icon" type="image/png" href="/img/sibopay-emblem.png">
<link rel="stylesheet" href="/css/styles.css">
<style>
body {
margin: 0;
padding: 0;
font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
background: radial-gradient(circle at 50% 10%, #0284c7 0%, #0f172a 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.login-overlay {
position: relative !important;
background: none !important;
padding: 20px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100%;
}
</style>
</head>
<body>
<div class="login-overlay">
<div id="viewLoginClassicCard" class="login-card">
<div class="login-brand">
<div class="login-logo" style="margin-bottom: 6px;">
<img src="/img/sibopay-emblem.png" alt="SiboPay Logo" style="width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(2, 132, 199, 0.3)); display: inline-block;">
</div>
<h1 class="login-title" style="margin: 0; font-size: 1.85rem; font-weight: 900; letter-spacing: -0.5px;">Sibo<strong style="color: #0284c7;">Pay</strong></h1>
<p class="login-subtitle">Sistema Digital de Pagos y Monedero Estudiantil</p>
</div>
<!-- SELECTOR ENTRE INICIO DE SESIÓN Y REGISTRO -->
<div class="login-tabs">
<button type="button" class="login-tab-btn active" id="tabBtnLogin" onclick="switchLoginTab('login')" style="display: inline-flex; align-items: center; justify-content: center; gap: 8px;">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><polyline points="10 17 15 12 10 7"/><line x1="15" x2="3" y1="12" y2="12"/></svg>
<span>Iniciar Sesión</span>
</button>
<button type="button" class="login-tab-btn" id="tabBtnRegister" onclick="switchLoginTab('register')" style="display: inline-flex; align-items: center; justify-content: center; gap: 8px;">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7" r="3.5"/><path d="M3 20v-1.5A4.5 4.5 0 0 1 7.5 14h3A4.5 4.5 0 0 1 15 18.5V20"/><circle cx="17.5" cy="7.5" r="2.5"/><path d="M15 14a3.5 3.5 0 0 1 5.5 3v3"/></svg>
<span>Registro de Padres</span>
</button>
</div>
<!-- FORMULARIO 1: INICIAR SESIÓN CON SELECTOR DE ROL -->
<form id="formLogin" onsubmit="event.preventDefault()">
<div class="login-role-selector-wrap">
<label style="font-size: 0.74rem; font-weight: 900; color: #475569; text-transform: uppercase; letter-spacing: 0.6px; display: block; margin-bottom: 8px;">¿Quién eres?</label>
<div class="login-role-grid">
<div onclick="selectLoginRole('padre')" id="loginRoleCardPadre" class="login-role-card selected">
<div class="login-role-icon">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
<circle cx="9" cy="7" r="3.5"/>
<path d="M3 20v-1.5A4.5 4.5 0 0 1 7.5 14h3A4.5 4.5 0 0 1 15 18.5V20"/>
<circle cx="17.5" cy="7.5" r="2.5"/>
<path d="M15 14a3.5 3.5 0 0 1 5.5 3v3"/>
</svg>
</div>
<span class="login-role-name">Padre</span>
<span class="login-role-desc">o Encargado</span>
</div>
<div onclick="selectLoginRole('estudiante')" id="loginRoleCardEstudiante" class="login-role-card">
<div class="login-role-icon">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1-2.5-2.5Z"/>
<path d="M6 6h10"/>
<path d="M6 10h10"/>
<circle cx="12" cy="15" r="2"/>
</svg>
</div>
<span class="login-role-name">Estudiante</span>
<span class="login-role-desc">Carné QR</span>
</div>
<div onclick="selectLoginRole('personal')" id="loginRoleCardPersonal" class="login-role-card">
<div class="login-role-icon">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 13.8V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.8"/>
<path d="M4 13.8h16a1 1 0 0 1 1 1V20a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5.2a1 1 0 0 1 1-1Z"/>
<line x1="10" y1="18" x2="14" y2="18"/>
</svg>
</div>
<span class="login-role-name">Personal</span>
<span class="login-role-desc">Soda / Cocina</span>
</div>
</div>
</div>
<div class="login-form-group">
<label id="lblLoginUser" for="loginUsername">Usuario o Teléfono del Padre:</label>
<input type="text" id="loginUsername" class="login-input" placeholder="Ej: padre, carlos_papa o 8888-1122" value="padre">
</div>
<div class="login-form-group">
<label id="lblLoginPass" for="loginPassword">Contraseña:</label>
<input type="password" id="loginPassword" class="login-input" placeholder="••••••••" value="••••••••">
</div>
<button type="submit" id="btnLoginSubmit" class="login-submit-btn" style="display: flex; align-items: center; justify-content: center; gap: 8px;">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><polyline points="10 17 15 12 10 7"/><line x1="15" x2="3" y1="12" y2="12"/></svg>
<span id="lblBtnLoginText">Ingresar como Padre / Encargado</span>
</button>
</form>
<!-- ACCESOS RÁPIDOS DE PRUEBA (1-CLICK DEMO) -->
<div class="login-demo-box">
<div class="login-demo-title">Accesos Rápidos de Prueba:</div>
<div class="login-demo-btns">
<button type="button" class="login-demo-btn" style="border: 1.5px solid #0284c7; background: #f0f9ff;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#0284c7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>
<span style="color: #0284c7; font-weight: 800;">Developer</span>
</button>
<button type="button" class="login-demo-btn">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
<span>Admin Soda</span>
</button>
<button type="button" class="login-demo-btn">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="5" rx="2"/><line x1="2" x2="22" y1="10" y2="10"/></svg>
<span>Cajero</span>
</button>
<button type="button" class="login-demo-btn">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>
<span>Padre</span>
</button>
</div>
</div>
</div>
</div>
<script>
function selectLoginRole(role) {
document.getElementById('loginRoleCardPadre').classList.toggle('selected', role === 'padre');
document.getElementById('loginRoleCardEstudiante').classList.toggle('selected', role === 'estudiante');
document.getElementById('loginRoleCardPersonal').classList.toggle('selected', role === 'personal');
const lblUser = document.getElementById('lblLoginUser');
const inputUser = document.getElementById('loginUsername');
const btnText = document.getElementById('lblBtnLoginText');
if (role === 'estudiante') {
lblUser.textContent = 'Carné o Código de Estudiante:';
inputUser.placeholder = 'Ej: EST-2026-00001';
btnText.textContent = 'Ingresar como Estudiante';
} else if (role === 'personal') {
lblUser.textContent = 'Usuario de Personal / Cocina:';
inputUser.placeholder = 'Ej: cocina, cajero, soda';
btnText.textContent = 'Ingresar al Personal de Soda / Cocina';
} else {
lblUser.textContent = 'Usuario o Teléfono del Padre:';
inputUser.placeholder = 'Ej: padre, 8888-1122';
btnText.textContent = 'Ingresar como Padre / Encargado';
}
}
</script>
</body>
</html>