mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 14:53:34 +08:00
Move Delete All button to below the list of current API Keys.
This commit is contained in:
parent
74713c2142
commit
285c1d10cf
1 changed files with 10 additions and 10 deletions
|
@ -22,16 +22,6 @@
|
|||
️API Keys should be kept secret and treated like passwords, they can be used to gain access to your account.
|
||||
</div>
|
||||
|
||||
{% if api_keys|length > 0 %}
|
||||
<form method="post">
|
||||
<input type="hidden" name="form-name" value="delete-all">
|
||||
<span class="delete btn btn-danger delete-all-api-keys">
|
||||
Delete All <i class="fe fe-trash"></i>
|
||||
</span>
|
||||
</form>
|
||||
<br>
|
||||
{% endif %}
|
||||
|
||||
<div class="row">
|
||||
{% for api_key in api_keys %}
|
||||
<div class="col-12 col-lg-6">
|
||||
|
@ -85,6 +75,16 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% if api_keys|length > 0 %}
|
||||
<form method="post">
|
||||
<input type="hidden" name="form-name" value="delete-all">
|
||||
<span class="delete btn btn-danger delete-all-api-keys">
|
||||
Delete All <i class="fe fe-trash"></i>
|
||||
</span>
|
||||
</form>
|
||||
<br>
|
||||
{% endif %}
|
||||
|
||||
<form method="post">
|
||||
{{ new_api_key_form.csrf_token }}
|
||||
<input type="hidden" name="form-name" value="create">
|
||||
|
|
Loading…
Reference in a new issue