Fix some minor visual things.
This commit is contained in:
parent
313ce98f8a
commit
5db3b8bf23
|
@ -16,7 +16,7 @@
|
|||
<form class="login" method="POST">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
<button class="form-control btn btn-primary" type="submit">Save</button>
|
||||
<button class="btn btn-primary" type="submit">Save</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,12 +4,11 @@
|
|||
|
||||
{% block profile_content %}
|
||||
|
||||
<div class="panel-group">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel panel-heading">
|
||||
<div class="panel-heading">
|
||||
<h4>Details for Order #{{ order.id }}</h4>
|
||||
</div>
|
||||
<div class="panel panel-body">
|
||||
<div class="panel-body">
|
||||
{% if not order.paid %}
|
||||
<form method="POST" class="form-inline">
|
||||
{% csrf_token %}
|
||||
|
@ -91,23 +90,30 @@
|
|||
|
||||
</div>
|
||||
{% if order.paid %}
|
||||
<div class="panel panel-footer">
|
||||
<div class="panel-footer">
|
||||
<h4>Your order is paid in full.</h4>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
{% if not order.paid %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel panel-heading">
|
||||
<div class="panel-heading">
|
||||
<h4>Terms and Payment Options</h4><i class="icon-btc"></i>
|
||||
</div>
|
||||
<div class="panel panel-body">
|
||||
<div class="panel-body">
|
||||
<form method="POST" class="form-inline">
|
||||
{% csrf_token %}
|
||||
<div class="checkbox" style="margin-top: -10px;">
|
||||
<label><input type="checkbox" name="accept_terms"> I accept the <a href="{% url 'general-terms' %}">general terms & conditions</a>. Finally I accept to adhere to our <a href="{% url 'conduct' %}">Code of Conduct</a> during events as well as in BornHack online channels.</label>
|
||||
<label>
|
||||
<input type="checkbox" name="accept_terms" />
|
||||
I accept the <a href="{% url 'general-terms' %}">general terms & conditions</a>.
|
||||
Finally I accept to adhere to our <a href="{% url 'conduct' %}">Code of Conduct</a>
|
||||
during events as well as in BornHack online channels.
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group">
|
||||
{% bootstrap_button "<i class='glyphicon glyphicon-bitcoin'></i> Blockchain" button_type="submit" button_class="btn-primary" name="payment_method" value="blockchain" %}
|
||||
|
@ -125,12 +131,12 @@
|
|||
</form>
|
||||
<div class="alert alert-info" style="margin-top: 5px; margin-bottom: -10px;">* Please consider the alternatives before choosing credit card. Credit cards are expensive and difficult for us to handle. Thank you!</div>
|
||||
</div>
|
||||
<div class="panel panel-footer">
|
||||
<div class="panel-footer">
|
||||
<i>Bank transfers take up to a week to get registered, but the other
|
||||
payment methods should be more or less instant. Please
|
||||
<a href="{% url 'contact' %}">contact us</a> if your have questions.</i>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{% csrf_token %}
|
||||
{% bootstrap_field form.name %}
|
||||
{% bootstrap_field form.email %}
|
||||
<button class="btn btn-primary form-control" type="submit"><i class="glyphicon glyphicon-check"></i> Save</button>
|
||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-check"></i> Save</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue