django-oidc-provider/example_project/provider_app/templates/oidc_provider/authorize.html

27 lines
1.2 KiB
HTML
Raw Normal View History

2015-04-28 17:55:35 +00:00
{% 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>
2015-08-21 19:27:51 +00:00
</div>
</div>
</div>
{% endblock %}