35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>SekiPOS Login</title>
|
|
<link rel="shortcut icon" href="./static/favicon.png" type="image/x-icon">
|
|
<link rel="stylesheet" href="./static/styleLogin.css">
|
|
</head>
|
|
<body>
|
|
<div class="login-box">
|
|
<h2>SekiPOS</h2>
|
|
<p class="sub-text">¡Hola de nuevo!</p>
|
|
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="error-msg">{{ messages[0] }}</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<form method="POST">
|
|
<input type="text" name="username" placeholder="Usuario" required>
|
|
<input type="password" name="password" placeholder="Contraseña" required>
|
|
<button type="submit">Iniciar Sesión</button>
|
|
</form>
|
|
</div>
|
|
|
|
<script>
|
|
// Sync theme with main page
|
|
const savedTheme = localStorage.getItem('theme') || 'light';
|
|
if (savedTheme === 'dark') {
|
|
document.documentElement.setAttribute('data-theme', 'dark');
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |