The new updates of partners and user
Made-with: Cursor
This commit is contained in:
56
templates/partner/login.html
Normal file
56
templates/partner/login.html
Normal file
@@ -0,0 +1,56 @@
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Partner Login</title>
|
||||
<link
|
||||
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
|
||||
rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="bg-light">
|
||||
|
||||
<div class="container d-flex justify-content-center mt-5">
|
||||
<div class="col-md-4">
|
||||
|
||||
<div class="card shadow-sm p-4">
|
||||
|
||||
<h2 class="text-center mb-3">Eventify Partner Portal</h2>
|
||||
|
||||
<h4 class="text-center mb-3">Login</h4>
|
||||
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-danger py-2">{{ message }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<form method="post" novalidate>
|
||||
{% csrf_token %}
|
||||
|
||||
<div class="mb-3">
|
||||
{{ form.username.label_tag }}
|
||||
{{ form.username }}
|
||||
{% for error in form.username.errors %}
|
||||
<small class="text-danger">{{ error }}</small>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
{{ form.password.label_tag }}
|
||||
{{ form.password }}
|
||||
{% for error in form.password.errors %}
|
||||
<small class="text-danger">{{ error }}</small>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary w-100">Login</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user