Versiunea funcțională EUMI
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row justify-content-center mt-5">
|
||||
<div class="col-md-4">
|
||||
|
||||
<!-- Logo / Titlu instituție -->
|
||||
<!-- <div class="text-center mb-4">
|
||||
<img src="{% static 'img/stema.png' %}" alt="Stema Roman" style="width: 80px;" class="mb-3">
|
||||
<h4 class="fw-bold">U.A.T. Municipiul Roman</h4>
|
||||
<p class="text-muted small">Platformă Gestiune IT (IT EUMI)</p>
|
||||
</div> -->
|
||||
|
||||
<div class="card shadow">
|
||||
<div class="card-header bg-dark text-white text-center fw-bold">
|
||||
Autentificare
|
||||
</div>
|
||||
<div class="card-body p-4">
|
||||
{% if form.errors %}
|
||||
<div class="alert alert-danger p-2 small text-center">
|
||||
Utilizator sau parolă incorectă. Vă rugăm să încercați din nou.
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="{% url 'login' %}">
|
||||
{% csrf_token %}
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="id_username" class="form-label fw-bold">Nume utilizator</label>
|
||||
<input type="text" name="username" class="form-control" id="id_username" required autofocus>
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="id_password" class="form-label fw-bold">Parolă</label>
|
||||
<input type="password" name="password" class="form-control" id="id_password" required>
|
||||
</div>
|
||||
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary fw-bold">Conectare</button>
|
||||
</div>
|
||||
<!-- Redirect URL ascuns pentru Django -->
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user