gsparc-mezzouna-api/app/templates/login.html

26 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}تسجيل الدخول{% endblock %}
{% block content %}
<div style="max-width:400px; margin:80px auto;">
<div class="card">
<h2 style="text-align:center;">⛽ تسجيل الدخول</h2>
<p style="text-align:center; color:var(--text-light); margin-bottom:1.5rem;">GSPARC Mezzouna — متابعة الوقود</p>
{% if error %}
<div class="alert alert-error">{{ error }}</div>
{% endif %}
<form method="POST" action="/login">
<div class="form-group">
<label>اسم المستخدم</label>
<input type="text" name="username" required autocomplete="username" placeholder="المستخدم">
</div>
<div class="form-group">
<label>كلمة المرور</label>
<input type="password" name="password" required autocomplete="current-password" placeholder="••••••••">
</div>
<button type="submit" class="btn btn-primary" style="width:100%; margin-top:0.5rem;">دخول</button>
</form>
</div>
</div>
{% endblock %}