File size: 2,253 Bytes
f0a40ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% extends 'base.html' %}
{% load static %}
{% block contents %}

<div class="auth-container">
    <div class="glass-panel p-5" style="max-width: 450px; width: 100%;">
        <div class="text-center mb-5">
            <div class="bg-primary bg-opacity-10 d-inline-flex align-items-center justify-content-center rounded-circle mb-3"

                style="width: 60px; height: 60px;">
                <i class="fas fa-user text-primary fs-3"></i>
            </div>
            <h3 class="fw-bold text-white">Welcome Back</h3>
            <p class="text-muted small">Access your secure fraud analysis dashboard.</p>
        </div>

        <form action="{% url 'UserLoginCheck' %}" method="POST" class="needs-validation" novalidate>
            {% csrf_token %}

            <div class="mb-4">
                <label class="input-label">Login ID</label>
                <input type="text" class="input-modern" id="loginid" name="loginid" required

                    placeholder="Enter your ID">
            </div>

            <div class="mb-4">
                <label class="input-label">Password</label>
                <input type="password" class="input-modern" id="pswd" name="pswd" required placeholder="••••••••">
            </div>

            <button class="btn-modern w-100 mb-4" type="submit">
                Sign In
            </button>

            <div class="d-flex justify-content-between align-items-center">
                <button class="btn btn-sm text-muted" type="reset" style="background: none; border: none;">
                    Reset
                </button>
                <a href="{% url 'UserRegisterForm' %}" class="text-primary text-decoration-none small fw-bold">
                    Create Account
                </a>
            </div>

            {% if messages %}
            <div class="mt-4">
                {% for message in messages %}
                <div class="alert alert-info bg-transparent border-info text-info text-center small p-2" role="alert">
                    {{ message }}
                </div>
                {% endfor %}
            </div>
            {% endif %}
        </form>
    </div>
</div>

{% endblock %}