order detail page font format
This commit is contained in:
parent
f3ffbd96e5
commit
73e3dce8d4
4 changed files with 16 additions and 16 deletions
|
@ -482,6 +482,7 @@
|
||||||
margin: 100px auto 40px;
|
margin: 100px auto 40px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
padding: 30px 30px 20px;
|
padding: 30px 30px 20px;
|
||||||
|
color: #595959;
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-detail-container .dashboard-title-thin {
|
.order-detail-container .dashboard-title-thin {
|
||||||
|
@ -515,7 +516,6 @@
|
||||||
|
|
||||||
.order-detail-container p {
|
.order-detail-container p {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
color: #595959;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-detail-container hr {
|
.order-detail-container hr {
|
||||||
|
|
|
@ -59,33 +59,33 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Memory" %}: </span>
|
<span>{% trans "Memory" %}: </span>
|
||||||
<span class="pull-right">{{vm.memory|intcomma}} GB</span>
|
<strong class="pull-right">{{vm.memory|intcomma}} GB</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Disk space" %}: </span>
|
<span>{% trans "Disk space" %}: </span>
|
||||||
<span class="pull-right">{{vm.disk_size|intcomma}} GB</span>
|
<strong class="pull-right">{{vm.disk_size|intcomma}} GB</strong>
|
||||||
</p>
|
</p>
|
||||||
<hr>
|
<hr>
|
||||||
{% if vm.vat > 0 %}
|
{% if vm.vat > 0 %}
|
||||||
<p>
|
<p>
|
||||||
<strong>{% trans "Subtotal" %}: </strong>
|
<strong>{% trans "Subtotal" %}: </strong>
|
||||||
<span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span>
|
<strong class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%): </span>
|
<span>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%): </span>
|
||||||
<span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span>
|
<strong class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if vm.discount.amount > 0 %}
|
{% if vm.discount.amount > 0 %}
|
||||||
<p class="text-primary">
|
<p class="text-primary">
|
||||||
{%trans "Discount" as discount_name %}
|
{%trans "Discount" as discount_name %}
|
||||||
<span>{{ vm.discount.name|default:discount_name }}: </span>
|
<span>{{ vm.discount.name|default:discount_name }}: </span>
|
||||||
<span class="pull-right">- {{ vm.discount.amount }} CHF</span>
|
<strong class="pull-right">- {{ vm.discount.amount }} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
<strong>{% trans "Total" %}</strong>
|
<strong>{% trans "Total" %}</strong>
|
||||||
<span class="pull-right">{{vm.total_price|floatformat:2|intcomma}} CHF</span>
|
<strong class="pull-right">{{vm.total_price|floatformat:2|intcomma}} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
margin: 100px auto 40px;
|
margin: 100px auto 40px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
color: #595959;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(min-width: 768px) {
|
@media(min-width: 768px) {
|
||||||
|
@ -60,7 +61,6 @@
|
||||||
|
|
||||||
.order-detail-container p {
|
.order-detail-container p {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
color: #595959;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-detail-container hr {
|
.order-detail-container hr {
|
||||||
|
|
|
@ -114,40 +114,40 @@
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Cores" %}: </span>
|
<span>{% trans "Cores" %}: </span>
|
||||||
{% if vm.cores %}
|
{% if vm.cores %}
|
||||||
<span class="pull-right">{{vm.cores|floatformat}}</span>
|
<strong class="pull-right">{{vm.cores|floatformat}}</strong>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="pull-right">{{vm.cpu|floatformat}}</span>
|
<strong class="pull-right">{{vm.cpu|floatformat}}</strong>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Memory" %}: </span>
|
<span>{% trans "Memory" %}: </span>
|
||||||
<span class="pull-right">{{vm.memory}} GB</span>
|
<strong class="pull-right">{{vm.memory}} GB</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Disk space" %}: </span>
|
<span>{% trans "Disk space" %}: </span>
|
||||||
<span class="pull-right">{{vm.disk_size}} GB</span>
|
<strong class="pull-right">{{vm.disk_size}} GB</strong>
|
||||||
</p>
|
</p>
|
||||||
<hr>
|
<hr>
|
||||||
{% if vm.vat > 0 %}
|
{% if vm.vat > 0 %}
|
||||||
<p>
|
<p>
|
||||||
<strong>{% trans "Subtotal" %}: </strong>
|
<strong>{% trans "Subtotal" %}: </strong>
|
||||||
<span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span>
|
<strong class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%): </span>
|
<span>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%): </span>
|
||||||
<span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span>
|
<strong class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if vm.discount.amount > 0 %}
|
{% if vm.discount.amount > 0 %}
|
||||||
<p class="text-primary">
|
<p class="text-primary">
|
||||||
{%trans "Discount" as discount_name %}
|
{%trans "Discount" as discount_name %}
|
||||||
<span>{{ vm.discount.name|default:discount_name }}: </span>
|
<span>{{ vm.discount.name|default:discount_name }}: </span>
|
||||||
<span class="pull-right">- {{ vm.discount.amount }} CHF</span>
|
<strong class="pull-right">- {{ vm.discount.amount }} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
<strong>{% trans "Total" %}</strong>
|
<strong>{% trans "Total" %}</strong>
|
||||||
<span class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %} CHF</span>
|
<strong class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %} CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue