Update button styles
Replace Bootstrap 3 button default style with Bootstrap 4 equivalent.
This commit is contained in:
parent
fe7628b36e
commit
bf94b789d6
14 changed files with 16 additions and 16 deletions
|
@ -1,2 +1,2 @@
|
|||
<input class="btn btn-primary" type="submit" value="Save" />
|
||||
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
||||
<a class="btn btn-secondary" href="{% url "dashboard" %}">Cancel</a>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<div class="form-actions">
|
||||
<a class="btn btn-light" href="{% url "checkout" %}?fix_errors=true">Try fixing these errors</a>
|
||||
<a class="btn btn-light" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||
<a class="btn btn-link" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<div class="form-actions">
|
||||
<input class="btn btn-primary" type="submit" value="Apply payment" />
|
||||
<a class="btn btn-default" href="{% url "invoice" invoice.id %}">Return to invoice</a>
|
||||
<a class="btn btn-secondary" href="{% url "invoice" invoice.id %}">Return to invoice</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
|
@ -75,14 +75,14 @@
|
|||
<i class="fa fa-credit-card"></i> Check out and pay
|
||||
</a>
|
||||
|
||||
<a class="btn btn-light" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||
<a class="btn btn-link" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||
|
||||
{% else %}
|
||||
|
||||
<p>You have no items that need to be paid.</p>
|
||||
|
||||
<div class="form-actions">
|
||||
<a class="btn btn-light" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||
<a class="btn btn-link" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<div class="panel-footer">
|
||||
<input class="btn btn-primary" type="submit" value="Apply voucher code" />
|
||||
<a href="{% url "dashboard" %}" class="btn btn-default">Back to dashboard</a>
|
||||
<a href="{% url "dashboard" %}" class="btn btn-link">Return to dashboard</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
{% csrf_token %}
|
||||
<p>Are you sure you want to cancel <b>{{ proposal.title }}</b>?</p>
|
||||
<input class="btn btn-danger" type="submit" value="I am sure" />
|
||||
<a class="btn btn-default" href="{% url "proposal_detail" proposal.pk %}">{% trans 'No, keep it for now' %}</a>
|
||||
<a class="btn btn-secondary" href="{% url "proposal_detail" proposal.pk %}">{% trans 'No, keep it for now' %}</a>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<a class="btn btn-lg btn-success" role="button" href="{% url "proposal_speaker_manage" proposal.id %}">Manage Additional Speakers</a>
|
||||
<a class="btn btn-lg btn-danger" href="{% url "proposal_cancel" proposal.pk %}">{% trans "Cancel this proposal" %}</a>
|
||||
{% else %}
|
||||
<a href="{% url "proposal_leave" proposal.pk %}" class="btn btn-default">{% trans "Remove me from this proposal" %}</a>
|
||||
<a href="{% url "proposal_leave" proposal.pk %}" class="btn btn-secondary">{% trans "Remove me from this proposal" %}</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% trans 'Cancelled' %}
|
||||
|
@ -61,7 +61,7 @@
|
|||
<h2 class="my-4">{% trans 'Conversation with Reviewers' %}</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% for message in proposal.messages.all %}
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<fieldset>
|
||||
{% include "_form_snippet.html" with form=form %}
|
||||
<input class="btn btn-primary" type="submit" value="Save" />
|
||||
<a class="btn btn-default" href="{% url "proposal_detail" proposal.pk %}">Cancel</a>
|
||||
<a class="btn btn-secondary" href="{% url "proposal_detail" proposal.pk %}">Cancel</a>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
You will be able to edit your proposal after it has been submitted. The program committee may ask questions, provide feedback, and even suggest changes to your proposal as part of the review processes.
|
||||
</p>
|
||||
<input class="btn btn-primary" type="submit" name="finish" value="Submit" />
|
||||
<input class="btn btn-default" type="submit" name="add-speakers" value="Submit and Add Additional Speakers" />
|
||||
<input class="btn btn-secondary" type="submit" name="add-speakers" value="Submit and Add Additional Speakers" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div class="dropdown-menu pull-right">
|
||||
<input type="submit" name="result_submit" value="accept" class="btn btn-block btn-xs btn-success" />
|
||||
<input type="submit" name="result_submit" value="standby" class="btn btn-block btn-info btn-xs" />
|
||||
<input type="submit" name="result_submit" value="undecide" class="btn btn-block btn-default btn-xs" />
|
||||
<input type="submit" name="result_submit" value="undecide" class="btn btn-block btn-secondary btn-xs" />
|
||||
</div>
|
||||
{% else %}
|
||||
{% if proposal.result.status == "standby" %}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<div class="form-actions pad-buttons">
|
||||
<br/>
|
||||
<input class="btn btn-primary" type="submit" value="Add" />
|
||||
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
||||
<a class="btn btn-secondary" href="{% url "dashboard" %}">Cancel</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
{{ form|bootstrap_horizontal }}
|
||||
<div class="form-actions">
|
||||
<input class="btn btn-primary" type="submit" value="Apply" />
|
||||
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
||||
<a class="btn btn-secondary" href="{% url "dashboard" %}">Cancel</a>
|
||||
<p class="help-block">
|
||||
<small>By submitting this sponsor application you are agreeing to the
|
||||
{% comment %}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
<div class="form-actions">
|
||||
<input class="btn btn-primary" type="submit" value="Save" />
|
||||
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
||||
<a class="btn btn-secondary" href="{% url "dashboard" %}">Cancel</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
{% if can_leave %}
|
||||
<form class="form-horizontal" method="post" action="{% url "team_leave" team.slug %}">
|
||||
{% csrf_token %}
|
||||
<input type="submit" class="btn btn-default" value="leave">
|
||||
<input type="submit" class="btn btn-secondary" value="leave">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue