45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
{% extends "oauth2_provider/base.html" %}
|
|
{% load i18n %}
|
|
{% block content %}
|
|
<div class="block-center">
|
|
<h3 class="block-center-heading">{{ application.name }}</h3>
|
|
<ul class="unstyled">
|
|
<li>
|
|
<p>
|
|
<b>{% trans "Client ID" %}</b>
|
|
</p>
|
|
<input class="input-block-level"
|
|
type="text"
|
|
value="{{ application.client_id }}"
|
|
readonly>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<b>{% trans "URL" %}</b>
|
|
</p>
|
|
<p>{{ application.url | default:"" | urlize }}</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<b>{% trans "Description" %}</b>
|
|
</p>
|
|
<p>{{ application.description_html|safe }}</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<b>{% trans "Redirect Uris" %}</b>
|
|
{% if not application.redirect_uris %}WARNING: no redirect uris have been set, authorization may not work.{% endif %}
|
|
</p>
|
|
<textarea readonly>{{ application.redirect_uris }}</textarea>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<div class="btn-toolbar">
|
|
<a class="btn" href="{% url "oauth2_provider:list" %}">{% trans "Go Back" %}</a>
|
|
<a class="btn btn-primary"
|
|
href="{% url "oauth2_provider:update" application.id %}">{% trans "Edit" %}</a>
|
|
<a class="btn btn-danger"
|
|
href="{% url "oauth2_provider:delete" application.id %}">{% trans "Delete" %}</a>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|