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
tfa_keys.twig
<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 }}">
        <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 %}">
            {{ key_info.key_id }}
            <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>
          </span>
        </div>
      </form>
    {% endfor %}
  {% endif %}
</div>