mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make crispy
This commit is contained in:
parent
a8f5661a27
commit
240859c38c
@ -2,9 +2,9 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>
|
<h3>
|
||||||
{% trans "Two-Factor Authentication Backup Tokens" %}
|
{% trans "Two-Factor Authentication Backup Tokens" %}
|
||||||
</h1>
|
</h3>
|
||||||
|
|
||||||
{% if backup_tokens %}
|
{% if backup_tokens %}
|
||||||
{% if reveal_tokens %}
|
{% if reveal_tokens %}
|
||||||
@ -22,11 +22,12 @@
|
|||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit">
|
<button type="submit" class="btn btn-primary">
|
||||||
{% trans 'Generate backup tokens' %}
|
{% trans 'Generate backup tokens' %}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<a href="{% url 'two-factor-remove' %}">Disable Two Factor</a>
|
<br>
|
||||||
|
<a href="{% url 'two-factor-remove' %}" class="btn btn-warning">Disable Two Factor</a>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user