svthalia/concrexit

View on GitHub
website/templates/oauth2_provider/authorized-token-delete.html

Summary

Maintainability
Test Coverage
{% extends "base.html" %}
{% load i18n django_bootstrap5 alert %}

{% comment %}This page is automatically used by django-oauth-toolkit{% endcomment %}

{% block title %}{% trans "delete application"|capfirst %} —  {{ block.super }}{% endblock %}
{% block opengraph_title %}{% trans "delete application"|capfirst %} — {{ block.super }}{% endblock %}

{% block body %}
    <section class="page-section">
        <div class="container">
            <h1 class="section-title center-lg-50">{% trans "delete application"|capfirst %}</h1>

            <p class="col-12 col-lg-6 offset-lg-3">{% trans "Are you sure you want to revoke the access for this application?" %}</p>

            <form class="col-12 col-lg-6 offset-lg-3" action="" method="post">
                {% csrf_token %}

                <div class="form-row mt-4">
                    <input type="submit" class="btn btn-danger w-100" value="{% trans "confirm"|capfirst %}" />
                    <a href="{% url 'oauth2_provider:authorized-token-list' %}" class="btn btn-secondary w-100 mt-4">{% trans "cancel"|capfirst %}</a>
                </div>
            </form>
        </div>
    </section>
{% endblock %}