modified: README.md modified: app.py new file: blueprints/__init__.py new file: blueprints/__pycache__/.gitignore new file: blueprints/auth.py new file: blueprints/finance.py new file: blueprints/inventory.py new file: blueprints/pos.py new file: blueprints/sales.py new file: core/__pycache__/.gitignore new file: core/db.py new file: core/db/.gitignore new file: core/events.py new file: core/openfood.py new file: core/utils.py modified: static/style.css modified: templates/checkout.html modified: templates/dicom.html modified: templates/login.html modified: templates/macros/base.html modified: templates/macros/modals.html modified: templates/macros/navbar.html
24 lines
774 B
HTML
24 lines
774 B
HTML
{% extends "macros/base.html" %}
|
|
|
|
{% block title %}Login{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="login-box text-center">
|
|
<h2 class="fw-bold mb-1">SekiPOS</h2>
|
|
<p class="mb-4 text-muted">¡Hola de nuevo!</p>
|
|
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="error-alert p-2 mb-3">{{ messages[0] }}</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<form method="POST">
|
|
<input class="form-control mb-3" type="text" name="username" placeholder="Usuario" required autofocus>
|
|
<input class="form-control mb-3" type="password" name="password" placeholder="Contraseña" required>
|
|
<button type="submit" class="btn btn-login w-100">
|
|
Iniciar Sesión
|
|
</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |