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

32 lines
1.4 KiB
HTML
Raw Normal View History

2015-04-28 17:55:35 +00:00
{% extends 'base.html' %}
{% block content %}
2016-04-07 00:28:13 +00:00
<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>
2016-04-07 00:28:13 +00:00
</div>
2015-08-21 19:27:51 +00:00
</div>
</div>
</div>
{% endblock %}