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

28 lines
1.1 KiB
HTML
Raw Normal View History

2015-04-28 17:55:35 +00:00
{% extends 'base.html' %}
{% block content %}
2015-08-21 19:27:51 +00:00
<div class="ui page grid">
<div class="nine 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>
2015-08-21 19:27:51 +00:00
<input name="allow" class="positive ui button" type="submit" value="Authorize" />
</div>
</form>
2015-08-21 19:27:51 +00:00
</div>
</div>
</div>
{% endblock %}