feat: auto-refresh overview and networth pages (10m for overview and 1h for networth)

Useful if you want to leave WYGIWYH open in a fixed tab
This commit is contained in:
Herculino Trotta
2025-07-12 02:26:15 -03:00
parent 6826cfe79a
commit d81d89d9f6
5 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
{% block title %}{% if type == "current" %}{% translate 'Current Net Worth' %}{% else %}{% translate 'Projected Net Worth' %}{% endif %}{% endblock %}
{% block content %}
<div hx-trigger="every 60m" class="show-loading" hx-get="" hx-target="body">
<div class="container px-md-3 py-3" _="init call initializeAccountChart() then initializeCurrencyChart() end">
<div class="row gx-xl-4 gy-3 mb-4">
<div class="col-12 col-xl-5">
@@ -318,5 +319,5 @@
call currencyChart.update()
end
</script>
</div>
{% endblock %}