hanyuu/templates/oauth2/authorise.twig

30 lines
1 KiB
Twig
Raw Normal View History

{% extends 'oauth2/master.twig' %}
2024-07-30 21:24:20 +00:00
{% set body_header_icon = 'wait' %}
{% set body_header_text = 'Loading...' %}
{% set body_title = 'Authorisation Request' %}
{% block body_content %}
2024-07-30 21:24:20 +00:00
<div class="js-loading"></div>
2024-07-30 21:24:20 +00:00
<div class="js-authorise-error hidden">
<div class="oauth2-errorbody">
<p class="js-authorise-error-text"></p>
</div>
</div>
2024-07-30 21:24:20 +00:00
<form class="js-authorise-form hidden">
<div class="oauth2-authorise-requesting">
<p>A third-party application is requesting permission to access your account.</p>
</div>
2024-07-30 21:24:20 +00:00
<div class="js-authorise-form-info"></div>
<div class="js-authorise-form-scope"></div>
<div class="oauth2-authorise-buttons">
<button name="approve" value="yes" class="oauth2-authorise-button oauth2-authorise-button-accept">Authorise</button>
<button name="approve" value="no" class="oauth2-authorise-button oauth2-authorise-button-deny">Cancel</button>
</div>
</form>
{% endblock %}