NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Web] Fixed list of tfa keys

Signed-off-by: Kristian Feldsam <[email protected]>

ea6be8a9
Kristian Feldsam <[email protected]> 4 years, 9 months ago
data/web/templates/tfa_keys.twig | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Diff

diff --git a/data/web/templates/tfa_keys.twig b/data/web/templates/tfa_keys.twig
index e6868132..8cefbbb8 100644
--- a/data/web/templates/tfa_keys.twig
+++ b/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 %}