django-oidc-provider/example_project/provider_app/templates/oidc_provider/authorize.html
Ignacio fa4c95e97d Modify example project template.
Conflicts:
	example_project/provider_app/templates/base.html
	example_project/provider_app/templates/login.html
	example_project/provider_app/templates/oidc_provider/authorize.html
	example_project/provider_app/templates/oidc_provider/error.html
2016-04-16 17:59:10 -03:00

27 lines
No EOL
1.2 KiB
HTML

{% extends 'base.html' %}
{% block content %}
<div class="row">
<div class="col s12 m8 offset-m2 l6 offset-l3">
<h4 class="grey-text text-lighten-3">Request for Permission</h4>
<div class="card hoverable">
<div class="card-content">
<p class="flow-text">Client <i>{{ client.name }}</i> would like to access this information of you.</p>
<form method="post" action="{% url 'oidc_provider:authorize' %}">
{% csrf_token %}
{{ hidden_inputs }}
<ul class="collection">
{% for scope in params.scope %}
<li class="collection-item">{{ scope | capfirst }}</li>
{% endfor %}
</ul>
<input class="waves-effect waves-light btn grey" type="submit" value="Cancel" />
<input name="allow" class="waves-effect waves-light btn green right" type="submit" value="Authorize" />
</form>
</div>
</div>
</div>
</div>
{% endblock %}