improve client UI

This commit is contained in:
Son 2021-10-26 11:55:42 +02:00
parent f19655fc93
commit 1aff59e112
4 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@
{% set client_details_page = "advanced" %}
{% block client_details_content %}
<h1 class="h2">Danger Zone</h1>
<form method="post">
{{ form.csrf_token }}
<div class="alert alert-danger">When your website is deleted, users can no longer log into it. This operation is not reversible!</div>

View File

@ -23,7 +23,7 @@
action="{{ url_for('developer.client_detail', client_id=client.id, action="edit") }}">
{{ form.csrf_token }}
<h3>Info</h3>
<h1 class="h2">Info</h1>
<div class="form-group">
<label class="form-label">Name</label>
{{ form.name(class="form-control", value=client.name) }}

View File

@ -3,7 +3,7 @@
{% set client_details_page = "oauth_endpoint" %}
{% block client_details_content %}
<h3>OAuth2 endpoints</h3>
<h1 class="h2">OAuth2 endpoints</h1>
<div class="form-group">
<label class="form-label">OpenID Connect Discovery Document</label>

View File

@ -5,7 +5,7 @@
{% block client_details_content %}
<form method="post">
{{ form.csrf_token }}
<h3>OAuth2 Settings</h3>
<h1 class="h2">OAuth2 Settings</h1>
<div class="form-group">
<label class="form-label">AppID / OAuth2 Client ID</label>