diff --git a/templates/bills.html b/templates/bills.html index f3e5c29..bfda1d9 100644 --- a/templates/bills.html +++ b/templates/bills.html @@ -1,5 +1,5 @@ - + @@ -23,7 +23,7 @@
- +
- - + +
-
-
-
-
+
+
+
+
{% for bt in bill_types %}
-
+
-
{% for bf in bill_freqs %} {% endfor %} @@ -74,10 +74,10 @@
- - - - + + + +
{% endfor %} @@ -86,7 +86,7 @@
- +
- - +
@@ -121,29 +121,29 @@ {% for bd in bill_data %} {% if loop.first %}
-
-
-
-
+
+
+
+
{% endif %} {% if bd.bill_type_id == bt.id %} {% if bd.estimated == 1 %}
- {% set classes="fst-italic form-control text-center bg-white" %} + {% set classes="fst-italic form-control text-center" %} {% else %}
- {% set classes="form-control text-center bg-white" %} + {% set classes="form-control text-center" %} {% endif %}
{% if bd.estimated == 0 %} - - - + + + {% endif %}
@@ -229,7 +229,6 @@ function CancelUpdateBill( id, bill_type, bill_date, amount ) { // fix-up type, date and amount fields - $('#bill-data-type-'+id).addClass('bg-white') $('#bill-data-date-'+id).prop('disabled', true ) $('#bill-data-amount-'+id).prop('disabled', true ) // alter change/delete buttons to be save/cancel @@ -301,10 +300,8 @@ function CancelUpdateBillType(id,orig_name) { - // "re-enable" the freq & growth - $('.bill-type-'+id).removeClass('bg-light text-secondary').addClass('bg-white') // "disable" name for edits - $('#bill-type-name-'+id).prop('disabled', true) + $('.bill-type-'+id).prop('disabled', true) // alter change/delete buttons to be save/cancel $('#bill-type-chg-'+id).removeClass('d-none') $('#bill-type-del-'+id).removeClass('d-none') diff --git a/templates/index.html b/templates/index.html index 33b1dd6..9f2e494 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,5 @@ - + @@ -11,6 +11,7 @@ +