2021-09-22 20:47:10 +02:00
|
|
|
<div id="tfa_keys">
|
|
|
|
{% if tfa_data.additional %}
|
|
|
|
{% for key_info in tfa_data.additional %}
|
|
|
|
<form style="display:inline;" method="post">
|
|
|
|
<input type="hidden" name="unset_tfa_key" value="{{ key_info.id }}">
|
2022-08-30 15:59:16 +02:00
|
|
|
<div class="d-flex flex-column">
|
|
|
|
<span style="padding:4px;margin:4px" class="me-auto badge fs-6 bg-{% if tfa_id == key_info.id %}success{% else %}dark{% endif %}">
|
2021-10-23 15:23:56 +02:00
|
|
|
{{ key_info.key_id }}
|
2022-07-01 16:44:24 +02:00
|
|
|
<a href="#" class="btn p-0 text-white" style="font-size: 12px; line-height: 1rem;" onClick='return confirm("{{ lang.admin.ays }}")?$(this).closest("form").submit():"";'>[{{ lang.admin.remove }}]</a>
|
2021-10-23 15:23:56 +02:00
|
|
|
</span>
|
2022-08-30 15:59:16 +02:00
|
|
|
</div>
|
2021-09-22 20:47:10 +02:00
|
|
|
</form>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|