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 }}">
|
2021-10-23 15:23:56 +02:00
|
|
|
<p>
|
|
|
|
<span style="padding:4px;margin:4px" class="label label-keys label-{% if tfa_id == key_info.id %}success{% else %}default{% endif %}">
|
|
|
|
{{ key_info.key_id }}
|
2021-10-24 08:17:17 +02:00
|
|
|
<a href="#" style="font-weight:bold;color:white" onClick='return confirm("{{ lang.admin.ays }}")?$(this).closest("form").submit():"";'>[{{ lang.admin.remove }}]</a>
|
2021-10-23 15:23:56 +02:00
|
|
|
</span>
|
|
|
|
</p>
|
2021-09-22 20:47:10 +02:00
|
|
|
</form>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|