blob: cfa4a2baa15d5ef953597930eabc0fd0fb8ba30b (
plain)
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
|
{% extends 'registration/base_simple.html' %}
{% load static %}
{% block title %}Login{% endblock %}
{% block content %}
<div class="row">
<div class="col l4 offset-l4 m8 offset-m2 s12">
<div class="card">
<div class="card-content">
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<br>
<a href={% url 'password_reset' %}>Password dimenticata</a>
<br>
<br>
<button class="btn waves-effect waves-light {{color}}" type="submit">Login</button>
<br><br><hr><br>
<div class="row">
<div class="col s12">
<a href="{% url 'oauth_login' %}?next={{ request.GET.next }}" style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light">
<div class="row">
<div class="col s2">
<img style="height: 30px; padding-top: 3px" src="{% static 'pbs_logo.svg' %}" alt="PBS Logo">
</div>
<div class="col s10">
Login con MiData
</div>
</div>
</a>
</div>
</div>
<div class="row">
<div class="col s12">
<a href={% url 'signup' %} style="width: 100%" class="btn waves-effect waves-light {{color}}">
Registrazione
</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{% endblock %}
|