[Web] Fixed list of tfa keys
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>master
parent
254778fb20
commit
ea6be8a9f8
|
@ -3,10 +3,12 @@
|
||||||
{% for key_info in tfa_data.additional %}
|
{% for key_info in tfa_data.additional %}
|
||||||
<form style="display:inline;" method="post">
|
<form style="display:inline;" method="post">
|
||||||
<input type="hidden" name="unset_tfa_key" value="{{ key_info.id }}">
|
<input type="hidden" name="unset_tfa_key" value="{{ key_info.id }}">
|
||||||
<div style="padding:4px;margin:4px" class="label label-keys label-{% if tfa_id == key_info.id %}success{% else %}default{% endif %}">
|
<p>
|
||||||
{{ key_info.key_id }}
|
<span style="padding:4px;margin:4px" class="label label-keys label-{% if tfa_id == key_info.id %}success{% else %}default{% endif %}">
|
||||||
<a href="#" style="font-weight:bold;color:white" onClick="$(this).closest('form').submit()">[{{ lang.admin.remove }}]</a>
|
{{ key_info.key_id }}
|
||||||
</div>
|
<a href="#" style="font-weight:bold;color:white" onClick="$(this).closest('form').submit()">[{{ lang.admin.remove }}]</a>
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
</form>
|
</form>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue