fix up inconsistent use of col-1 and col

This commit is contained in:
2026-01-17 19:27:28 +11:00
parent 3b33390c3e
commit 2517f8e9b9

View File

@@ -25,7 +25,7 @@
<table> <table>
{% for bt in total %} {% for bt in total %}
<tr><td></td><td>&nbsp;{{bt}}:</td> <tr><td></td><td>&nbsp;{{bt}}:</td>
{% for yr in range( 2025, 2032 ) %} {% for yr in range( FIRST_YEAR, END_YEAR+1 ) %}
{% if yr in total[bt] %} {% if yr in total[bt] %}
<td> <td>
{{total[bt][yr]}} {{total[bt][yr]}}
@@ -62,7 +62,7 @@
<div class="px-0 col"><label class="form-control d-flex <div class="px-0 col"><label class="form-control d-flex
align-items-end justify-content-center h-100 border-0 fw-bold align-items-end justify-content-center h-100 border-0 fw-bold
bg-body-tertiary rounded-0">Annual Growth</ ></div> bg-body-tertiary rounded-0">Annual Growth</ ></div>
{% for yr in range( 2025, 2032 ) %} {% for yr in range( FIRST_YEAR, END_YEAR+1 ) %}
<div class="px-0 col"><label class="form-control d-flex <div class="px-0 col"><label class="form-control d-flex
align-items-end justify-content-center h-100 border-0 align-items-end justify-content-center h-100 border-0
fw-bold bg-body-tertiary rounded-0">{{yr}} Total</ ></div> fw-bold bg-body-tertiary rounded-0">{{yr}} Total</ ></div>
@@ -119,7 +119,7 @@
</select> </select>
</div> </div>
</div> </div>
{% for yr in range( 2025, 2032 ) %} {% for yr in range( FIRST_YEAR, END_YEAR+1 ) %}
<div class="px-0 col"><input type="text" class="bill-type-total-{{bt.id}} form-control text-center" id="bill-type-total-{{bt.id}}" value="${{'%.2f'|format(total[bt.id][yr])}}" disabled> </div> <div class="px-0 col"><input type="text" class="bill-type-total-{{bt.id}} form-control text-center" id="bill-type-total-{{bt.id}}" value="${{'%.2f'|format(total[bt.id][yr])}}" disabled> </div>
{% endfor %} {% endfor %}
<button id="bill-type-chg-{{bt.id}}" class="px-0 col btn btn-success bg-success-subtle text-success" onClick="StartUpdateBillType( {{bt.id}} )"><span class="bi bi-pencil-square"> Change</button> <button id="bill-type-chg-{{bt.id}}" class="px-0 col btn btn-success bg-success-subtle text-success" onClick="StartUpdateBillType( {{bt.id}} )"><span class="bi bi-pencil-square"> Change</button>
@@ -129,8 +129,8 @@
</div> </div>
{% endfor %} {% endfor %}
<div class="row"> <div class="row">
<div class="px-0 col"></div> <div class="px-0 col-1"></div>
<div class="px-0 col"></div> <div class="px-0 col-1"></div>
<div class="px-0 col"><input type="text" class="form-control text-end text-primary fs-5" value="TOTAL:"></div> <div class="px-0 col"><input type="text" class="form-control text-end text-primary fs-5" value="TOTAL:"></div>
{% for yr in range( this_year, END_YEAR+1) %} {% for yr in range( this_year, END_YEAR+1) %}
{% set tot=namespace( sum=0 ) %} {% set tot=namespace( sum=0 ) %}