django-oidc-provider/example_project/provider_app/templates/oidc_provider/authorize.html
2016-04-06 21:28:13 -03:00

32 lines
No EOL
1.4 KiB
HTML

{% extends 'base.html' %}
{% block content %}
<div class="ui container" style="margin-top:100px">
<div class="ui stackable grid">
<div class="row">
<div class="eight wide centered column">
<div class="ui segment">
<h1 class="ui dividing header">Request for Permission</h1>
<p>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 }}
<div class="ui bulleted list">
{% for scope in params.scope %}
<div class="item">{{ scope | capfirst }}</div>
{% endfor %}
</div>
<div class="ui fluid large buttons">
<input class="ui button" type="submit" value="Cancel" />
<div class="or"></div>
<input name="allow" class="positive ui button" type="submit" value="Authorize" />
</div>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}