generated from app-generator/django-argon-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 5
/
login.html
110 lines (96 loc) · 4.87 KB
/
login.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{% extends 'layouts/base-fullscreen.html' %}
{% load static %}
{% load socialaccount %}
{% block title %} Login {% endblock title %}
<!-- Specific CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}
{% block content %}
<!-- Page content -->
<div class="container mt--8 pb-5">
<div class="row justify-content-center">
<div class="col-lg-5 col-md-7">
<div class="card bg-secondary shadow border-0">
{# <div class="card-header bg-transparent pb-5">#}
{# <div class="text-muted text-center mt-2 mb-3">#}
{# Sign IN#}
{# </div>#}
{# </div>#}
<div class="card-header bg-transparent pb-5">
<div class="text-muted text-center mt-2 mb-3">
<small>Sign in with</small>
</div>
<div class="btn-wrapper text-center">
<a href="{% provider_login_url 'github' %}" class="btn btn-neutral btn-icon">
<span class="btn-inner--icon">
<img src="{% static 'assets/img/icons/common/github.svg' %}">
</span>
<span class="btn-inner--text">Github</span>
</a>
<a href="{% provider_login_url 'google' %}" class="btn btn-neutral btn-icon">
<span class="btn-inner--icon">
<img src="{% static 'assets/img/icons/common/google.svg' %}">
</span>
<span class="btn-inner--text">Google</span>
</a>
</div>
</div>
<div class="card-body px-lg-5 py-lg-5">
<div class="text-center text-muted mb-4">
{% if msg %}
<p>{{ msg }}</p>
{% else %}
<p>
Use default credentials: test / ApS12_ZZs8
<br/>
OR <a href={% url 'register' %}>create your own user</a>
</p>
{% endif %}
</div>
<form method="POST">
{% csrf_token %}
<div class="form-group mb-3">
<div class="input-group input-group-alternative">
<div class="input-group-prepend">
<span class="input-group-text"><i class="ni ni-hat-3"></i></span>
</div>
{{ form.username }}
</div>
</div>
<div class="form-group">
<div class="input-group input-group-alternative">
<div class="input-group-prepend">
<span class="input-group-text"><i class="ni ni-lock-circle-open"></i></span>
</div>
{{ form.password }}
</div>
</div>
<div class="custom-control custom-control-alternative custom-checkbox">
<input class="custom-control-input" id=" customCheckLogin" type="checkbox">
<label class="custom-control-label" for=" customCheckLogin">
<span class="text-muted">Remember me</span>
</label>
</div>
<div class="text-center">
<button type="submit" class="btn btn-primary my-4">Sign in</button>
</div>
</form>
</div>
</div>
<div class="row mt-3">
<div class="col-6">
<a href="{% url 'register' %}" class="text-light">
<small>Register</small>
</a>
</div>
<div class="col-6 text-right">
<a href="https://appseed.us/support" class="text-light">
<small>Get Support</small>
</a>
</div>
</div>
</div>
</div>
</div>
{% endblock content %}
<!-- Specific JS goes HERE -->
{% block javascripts %}{% endblock javascripts %}