Improve professionalism by removing color

This commit is contained in:
2022-12-08 07:20:46 +00:00
parent cf4b8a0195
commit d1c44cee92
24 changed files with 101 additions and 101 deletions

View File

@@ -8,7 +8,7 @@
<form method="post">
{% csrf_token %}
<table>{{ form }}</table>
<button class="button is-danger"
<button class="button"
type="submit">{% trans "Disable" %}</button>
</form>
{% endblock %}

View File

@@ -31,7 +31,7 @@
{% endfor %}
</ul>
<p class="subtitle"><a href="{% url 'two_factor:phone_create' %}"
class="button is-info">{% trans "Add Phone Number" %}</a></p>
class="button">{% trans "Add Phone Number" %}</a></p>
{% endif %}
<h2 class="title is-4">{% trans "Backup Tokens" %}</h2>
@@ -45,18 +45,18 @@
{% endblocktrans %}
</p>
<p class="subtitle"><a href="{% url 'two_factor:backup_tokens' %}"
class="button is-info">{% trans "Show Codes" %}</a></p>
class="button">{% trans "Show Codes" %}</a></p>
<h3 class="title is-5">{% trans "Disable Two-Factor Authentication" %}</h3>
<p class="subtitle">{% blocktrans trimmed %}However we strongly discourage you to do so, you can
also disable two-factor authentication for your account.{% endblocktrans %}</p>
<p class="subtitle"><a class="button is-info" href="{% url 'two_factor:disable' %}">
<p class="subtitle"><a class="button" href="{% url 'two_factor:disable' %}">
{% trans "Disable Two-Factor Authentication" %}</a></p>
{% else %}
<p class="subtitle">{% blocktrans trimmed %}Two-factor authentication is not enabled for your
account. Enable two-factor authentication for enhanced account
security.{% endblocktrans %}</p>
<p class="subtitle"><a href="{% url 'two_factor:setup' %}" class="button is-success">
<p class="subtitle"><a href="{% url 'two_factor:setup' %}" class="button">
{% trans "Enable Two-Factor Authentication" %}</a>
</p>
{% endif %}