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,9 +8,9 @@
{% if wizard.steps.prev %}
<button name="wizard_goto_step" type="submit"
value="{{ wizard.steps.prev }}"
class="button is-info">{% trans "Back" %}</button>
class="button">{% trans "Back" %}</button>
{% else %}
<button disabled name="" type="button" class="button is-info">{% trans "Back" %}</button>
<button disabled name="" type="button" class="button">{% trans "Back" %}</button>
{% endif %}
<button type="submit" class="button is-success">{% trans "Next" %}</button>
<button type="submit" class="button">{% trans "Next" %}</button>
</div>

View File

@@ -22,7 +22,7 @@
<form method="post">{% csrf_token %}{{ form }}
<a href="{% url 'two_factor:profile'%}"
class="float-right button is-info">{% trans "Back to Account Security" %}</a>
<button class="button is-success" type="submit">{% trans "Generate Tokens" %}</button>
class="float-right button">{% trans "Back to Account Security" %}</a>
<button class="button" type="submit">{% trans "Generate Tokens" %}</button>
</form>
{% endblock %}

View File

@@ -34,7 +34,7 @@
<p class="subtitle">
{% for other in other_devices %}
<button name="challenge_device" value="{{ other.persistent_id }}"
class="button is-success" type="submit">
class="button" type="submit">
{{ other.generate_challenge_button_title }}
</button>
{% endfor %}</p>
@@ -43,7 +43,7 @@
<p class="subtitle">{% trans "As a last resort, you can use a backup token:" %}</p>
<p class="subtitle">
<button name="wizard_goto_step" type="submit" value="backup"
class="button is-success">{% trans "Use Backup Token" %}</button>
class="button">{% trans "Use Backup Token" %}</button>
</p>
{% endif %}

View File

@@ -14,8 +14,8 @@
<div class="buttons">
<a href="javascript:history.go(-1)"
class="float-right button is-info">{% trans "Go back" %}</a>
<a href="{% url 'two_factor:setup' %}" class="button is-success">
class="float-right button">{% trans "Go back" %}</a>
<a href="{% url 'two_factor:setup' %}" class="button">
{% trans "Enable Two-Factor Authentication" %}</a>
</div>

View File

@@ -18,7 +18,7 @@
<a href="{% url 'two_factor:profile' %}"
class="float-right button">{% trans "Back to Account Security" %}</a>
<p class="subtitle"><a href="{% url 'two_factor:phone_create' %}"
class="button is-success">{% trans "Add Phone Number" %}</a></p>
class="button">{% trans "Add Phone Number" %}</a></p>
{% endif %}
{% endblock %}

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 %}