prettify
This commit is contained in:
parent
b13c65166f
commit
46109770fc
|
@ -30,18 +30,17 @@
|
||||||
action="{{ url_for('developer.client_detail', client_id=client.id, action="edit") }}">
|
action="{{ url_for('developer.client_detail', client_id=client.id, action="edit") }}">
|
||||||
{{ form.csrf_token }}
|
{{ form.csrf_token }}
|
||||||
|
|
||||||
<h3>App Info</h3>
|
<h3>Website/App Info</h3>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Display Name</label>
|
<label class="form-label">Name</label>
|
||||||
{{ form.name(class="form-control", value=client.name) }}
|
{{ form.name(class="form-control", value=client.name) }}
|
||||||
{{ render_field_errors(form.name) }}
|
{{ render_field_errors(form.name) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-label">App Icon</div>
|
<label class="form-label">Icon
|
||||||
<p>
|
<span class="text-muted small-text">The icon is displayed on the authorization page</span>
|
||||||
<small class="text-muted">The icon displayed on the authorization page</small>
|
</label>
|
||||||
</p>
|
|
||||||
{{ form.icon(class="form-control-file") }}
|
{{ form.icon(class="form-control-file") }}
|
||||||
{{ render_field_errors(form.icon) }}
|
{{ render_field_errors(form.icon) }}
|
||||||
|
|
||||||
|
@ -50,7 +49,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary">Update</button>
|
<button type="submit" class="mt-2 btn btn-primary">Update</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
@ -39,14 +39,11 @@
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="row">
|
<label class="form-label">Authorized Redirect URIs</label>
|
||||||
<label class="form-label col">Authorized Redirect URIs</label>
|
|
||||||
<p class="col text-right">
|
|
||||||
<small class="text-muted">
|
<small class="text-muted">
|
||||||
<b>redirect_uri</b> must be <b>HTTPS</b> for security reason.
|
By default <b>localhost</b> is whitelisted. <br>
|
||||||
|
A <b>redirect_uri</b> must be <b>HTTPS</b> for security reason.
|
||||||
</small>
|
</small>
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% if not client.redirect_uris %}
|
{% if not client.redirect_uris %}
|
||||||
<div class="alert alert-warning alert-dismissible fade show mb-4" role="alert">
|
<div class="alert alert-warning alert-dismissible fade show mb-4" role="alert">
|
||||||
|
@ -93,7 +90,7 @@
|
||||||
<button type="button" id="create-new-uri" class="mt-2 btn btn-secondary">Add new uri</button>
|
<button type="button" id="create-new-uri" class="mt-2 btn btn-secondary">Add new uri</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary btn-lg">Update</button>
|
<button type="submit" class="btn btn-primary">Update</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- template for new uri -->
|
<!-- template for new uri -->
|
||||||
|
|
Loading…
Reference in a new issue