mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 08:08:04 +01:00
Increase product density on basket form
This commit is contained in:
parent
93829df543
commit
346477be88
4 changed files with 4 additions and 4 deletions
|
@ -64,6 +64,7 @@ DEBUG = env("DEBUG")
|
||||||
ALLOWED_HOSTS = ["localhost"] # Required for healthcheck
|
ALLOWED_HOSTS = ["localhost"] # Required for healthcheck
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
ALLOWED_HOSTS.append("127.0.0.1")
|
ALLOWED_HOSTS.append("127.0.0.1")
|
||||||
|
ALLOWED_HOSTS.append("192.168.1.27")
|
||||||
|
|
||||||
ALLOWED_HOSTS.extend(env("HOSTS"))
|
ALLOWED_HOSTS.extend(env("HOSTS"))
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
.product-img-placeholder {
|
.product-img-placeholder {
|
||||||
aspect-ratio: 1/1;
|
font-size: 3em;
|
||||||
font-size: 6em;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="card-title">{{ product.name }}</h4>
|
<h5 class="card-title">{{ product.name }}</h5>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<button class="btn btn-danger" type="button" onclick="decrementValue('{{ field.id_for_label }}')"><i class="fa-solid fa-minus"></i></button>
|
<button class="btn btn-danger" type="button" onclick="decrementValue('{{ field.id_for_label }}')"><i class="fa-solid fa-minus"></i></button>
|
||||||
{% crispy_field field 'class' 'form-control' 'inputmode' 'numeric' %}
|
{% crispy_field field 'class' 'form-control' 'inputmode' 'numeric' %}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="card-title">{{ product.name }}</h4>
|
<h5 class="card-title">{{ product.name }}</h5>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="number" step="1" inputmode="numeric" min="0"
|
<input type="number" step="1" inputmode="numeric" min="0"
|
||||||
name="unpriced_product-{{ product.pk }}" class="numberinput form-control" required="" id="unpriced_id_product-{{ product.pk }}"
|
name="unpriced_product-{{ product.pk }}" class="numberinput form-control" required="" id="unpriced_id_product-{{ product.pk }}"
|
||||||
|
|
Loading…
Reference in a new issue