OAuth2: Add approval and verified apps
This commit is contained in:
@@ -28,9 +28,24 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% if client.verified %}
|
||||
<div class="row my-4 align-items-center">
|
||||
<div class="col-2 text-center fs-3">
|
||||
<i class="fas text-info fa-check-circle fa-xl"></i>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p class="my-0">
|
||||
{{ _("Verified Application") }}
|
||||
</p>
|
||||
<p class="text-muted my-0">
|
||||
{{ _("ContentDB trusts this application") }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row my-4 align-items-center">
|
||||
<div class="col-2 text-center">
|
||||
<i class="fas fa-globe fa-xl"></i>
|
||||
<div class="col-2 text-center fs-3">
|
||||
<i class="fas fa-globe-europe"></i>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p class="my-0">
|
||||
@@ -57,4 +72,12 @@
|
||||
</div>
|
||||
</article>
|
||||
</form>
|
||||
{% if not client.approved %}
|
||||
<aside class="alert alert-danger mt-5 w-50 mx-auto">
|
||||
<h3 class="mt-0">{{ _("Application isn't approved yet") }}</h3>
|
||||
<p class="mb-0">
|
||||
{{ _("To allow users other than yourself to log in, you'll need to contact ContentDB staff and ask them to approve your app.") }}
|
||||
</p>
|
||||
</aside>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user