Fix buttons

This commit is contained in:
kappataumu 2016-06-16 11:47:38 +00:00
parent 9dda2a97da
commit 813032eff7
6 changed files with 9 additions and 9 deletions

View File

@ -31,9 +31,9 @@
{% endfor %} {% endfor %}
<div class="buttonHolder"> <div class="buttonHolder">
<button class="secondaryAction" type="submit" name="action_primary" >{% trans 'Make Primary' %}</button> <button class="secondaryAction btn btn-primary" type="submit" name="action_primary" >{% trans 'Make Primary' %}</button>
<button class="secondaryAction" type="submit" name="action_send" >{% trans 'Re-send Verification' %}</button> <button class="secondaryAction btn btn-primary" type="submit" name="action_send" >{% trans 'Re-send Verification' %}</button>
<button class="primaryAction" type="submit" name="action_remove" >{% trans 'Remove' %}</button> <button class="primaryAction btn btn-primary" type="submit" name="action_remove" >{% trans 'Remove' %}</button>
</div> </div>
</fieldset> </fieldset>
@ -50,7 +50,7 @@
<form method="post" action="{% url 'account_email' %}" class="add_email"> <form method="post" action="{% url 'account_email' %}" class="add_email">
{% csrf_token %} {% csrf_token %}
{{ form.as_p}} {{ form.as_p}}
<button name="action_add" type="submit">{% trans "Add E-mail" %}</button> <button class="btn btn-primary" name="action_add" type="submit">{% trans "Add E-mail" %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -17,7 +17,7 @@
<form method="post" action="{% url 'account_confirm_email' confirmation.key %}"> <form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
{% csrf_token %} {% csrf_token %}
<button type="submit">{% trans 'Confirm' %}</button> <button class="btn btn-primary" type="submit">{% trans 'Confirm' %}</button>
</form> </form>
{% else %} {% else %}

View File

@ -41,7 +41,7 @@ for a {{ site_name }} account and sign in below:{% endblocktrans %}</p>
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /> <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %} {% endif %}
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a> <a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
<button class="primaryAction" type="submit">{% trans "Sign In" %}</button> <button class="primaryAction btn btn-primary" type="submit">{% trans "Sign In" %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -14,7 +14,7 @@
{% if redirect_field_value %} {% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/> <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
{% endif %} {% endif %}
<button type="submit">{% trans 'Sign Out' %}</button> <button class="btn btn-primary" type="submit">{% trans 'Sign Out' %}</button>
</form> </form>

View File

@ -11,7 +11,7 @@
<form method="POST" action="{% url 'account_change_password' %}" class="password_change"> <form method="POST" action="{% url 'account_change_password' %}" class="password_change">
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<button type="submit" name="action">{% trans "Change Password" %}</button> <button class="btn btn-primary" type="submit" name="action">{% trans "Change Password" %}</button>
</form> </form>
{% endblock %} {% endblock %}
{% endraw %} {% endraw %}

View File

@ -16,7 +16,7 @@
{% if redirect_field_value %} {% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /> <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %} {% endif %}
<button type="submit">{% trans "Sign Up" %} &raquo;</button> <button class="btn btn-primary" type="submit">{% trans "Sign Up" %} &raquo;</button>
</form> </form>
{% endblock %} {% endblock %}