diff --git a/README b/README index 99668ff..03883f6 100644 --- a/README +++ b/README @@ -1,5 +1,4 @@ TODO: - * convert LE 84000 to 84k in save_name CONSIDER in code: * when we time the payment of GMHBA / HCF (and at what cadence) and include it in calcs better diff --git a/templates/index.html b/templates/index.html index 5ae8f32..862cd60 100644 --- a/templates/index.html +++ b/templates/index.html @@ -91,7 +91,7 @@
-
2025
+
2025
{% set first_yr=2025 %} {% for date, dollars in savings %} @@ -120,10 +120,6 @@ {% else %}
Super kicks in!!!
{% endif %} - {% if COMP %} -
Note: {{ '$%0.2f' % COMP['amount']|float }} is the final value of the compared to data. Hover over blue labels above to see what compared to values differed
- - {% endif %}
@@ -135,18 +131,19 @@ {% endfor %}
-
- -
-
+
- + +
+ {% if COMP %} + + {% endif %}
@@ -163,10 +160,11 @@ var tooltipTriggerList = [].slice.call(document.querySelectorAll("[data-bs-toggle='tooltip']")) var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl) }) - var parentWidth = $('#info_col').width(); + var parentWidth = $('#comp_col').width(); // Set the alert's `max-width` to the parent's width - $('#info_alert').css('max-width', parentWidth + 'px'); + $('#comp_alert').css('max-width', parentWidth + 'px'); + $('#comp_alert').show() }; document.addEventListener('DOMContentLoaded', function () { @@ -278,7 +276,7 @@