Przeglądaj źródła

[Web] Fixed list of tfa keys

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
Kristian Feldsam 3 lat temu
rodzic
commit
ea6be8a9f8
1 zmienionych plików z 6 dodań i 4 usunięć
  1. 6 4
      data/web/templates/tfa_keys.twig

+ 6 - 4
data/web/templates/tfa_keys.twig

@@ -3,10 +3,12 @@
     {% for key_info in tfa_data.additional %}
       <form style="display:inline;" method="post">
         <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 %}">
-          {{ key_info.key_id }}
-          <a href="#" style="font-weight:bold;color:white" onClick="$(this).closest('form').submit()">[{{ lang.admin.remove }}]</a>
-        </div>
+        <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 }}
+            <a href="#" style="font-weight:bold;color:white" onClick="$(this).closest('form').submit()">[{{ lang.admin.remove }}]</a>
+          </span>
+        </p>
       </form>
     {% endfor %}
   {% endif %}