small styling updates

This commit is contained in:
Tobias Brunner 2025-05-26 15:02:14 +02:00
parent 60e083b5bb
commit a64163cad0
No known key found for this signature in database
2 changed files with 24 additions and 4 deletions

View file

@ -37,7 +37,7 @@
<h3 class="mb-3 text-secondary">{{ service_level }}</h3>
{% if pricing_data %}
<div class="table-responsive">
<table class="table table-striped table-bordered table-sm">
<table class="table table-striped table-bordered table-sm pricing-table">
<thead class="table-dark">
<tr>
<th>Cloud Provider</th>
@ -59,7 +59,7 @@
<th>Discount Model</th>
<th>Discount Details</th>
{% endif %}
<th class="table-warning">Final Price</th>
<th class="final-price-header">Final Price</th>
</tr>
</thead>
<tbody>
@ -107,7 +107,7 @@
{% endif %}
</td>
{% endif %}
<td class="table-warning fw-bold">{{ row.final_price|floatformat:2 }}</td>
<td class="final-price-cell fw-bold">{{ row.final_price|floatformat:2 }}</td>
</tr>
{% endfor %}
</tbody>
@ -115,7 +115,7 @@
</div>
{# Price Chart #}
<div class="mt-3">
<div class="price-chart mt-3">
<h5 class="text-muted">Price Chart - Units vs Final Price</h5>
<div style="height: 400px;">
<canvas id="chart-{{ group_name|slugify }}-{{ service_level|slugify }}" width="400" height="200"></canvas>