2020-08-17 09:53:30 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-08-17 15:49:49 +00:00
|
|
|
<div class="ui center aligned segment">
|
|
|
|
{% if client.oauthLogoURI %}
|
|
|
|
<img class="ui centered tiny image" src="{{ client.oauthLogoURI }}" alt="{{ client.oauthClientName }}">
|
|
|
|
{% endif %}
|
2020-08-14 11:18:08 +00:00
|
|
|
|
2020-08-17 15:49:49 +00:00
|
|
|
<p>{{ gettext('The application %(name)s is requesting access to:', name=client.oauthClientName) }}</p>
|
|
|
|
<p>
|
|
|
|
<strong>{{ grant.request.scope }}</strong>
|
|
|
|
</p>
|
2020-08-14 11:18:08 +00:00
|
|
|
|
2020-08-17 15:49:49 +00:00
|
|
|
<p>{{ gettext('from: %(user)s', user=user.name) }}</p>
|
|
|
|
|
|
|
|
<div class="ui buttons">
|
|
|
|
<form action="{{ request.url }}" method="post">
|
|
|
|
<input type="hidden" name="answer" value="deny" />
|
|
|
|
<input type="submit" class="ui negative button" value="{% trans %}Deny{% endtrans %}" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<form action="{{ request.url }}" method="post">
|
|
|
|
<input type="hidden" name="answer" value="logout" />
|
|
|
|
<input type="submit" class="ui button" value="{% trans %}Switch user{% endtrans %}" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<form action="{{ request.url }}" method="post">
|
|
|
|
<input type="hidden" name="answer" value="accept" />
|
|
|
|
<input type="submit" class="ui positive button" value="{% trans %}Accept{% endtrans %}" />
|
|
|
|
</form>
|
|
|
|
</div>
|
2020-08-17 09:53:30 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|