diff --git a/project/npda/templates/dashboard/components/cards/imd_map_card.html b/project/npda/templates/dashboard/components/cards/imd_map_card.html index 87d6ee01..c2c5d737 100644 --- a/project/npda/templates/dashboard/components/cards/imd_map_card.html +++ b/project/npda/templates/dashboard/components/cards/imd_map_card.html @@ -7,15 +7,15 @@ hx-trigger="load" hx-swap="innerHTML" hx-target="#organisation_cases_map" - hx-indicator="#loading-spinner" - _="on htmx:afterSwap remove #loading-spinner"> + hx-indicator="#loading-spinner-imd-map" + _="on htmx:afterSwap remove #loading-spinner-imd-map">
{% include 'dashboard/map_chart_partial.html' with chart_html=chart_html %}
-
{% endblock %} diff --git a/project/npda/templates/dashboard/pt_level_menu_tab_button.html b/project/npda/templates/dashboard/pt_level_menu_tab_button.html index 9d75e2ba..4922b407 100644 --- a/project/npda/templates/dashboard/pt_level_menu_tab_button.html +++ b/project/npda/templates/dashboard/pt_level_menu_tab_button.html @@ -1,6 +1,9 @@ diff --git a/project/npda/templates/dashboard/pt_level_report_table_partial.html b/project/npda/templates/dashboard/pt_level_report_table_partial.html index e39470fb..776bc2f9 100644 --- a/project/npda/templates/dashboard/pt_level_report_table_partial.html +++ b/project/npda/templates/dashboard/pt_level_report_table_partial.html @@ -37,9 +37,9 @@ -
- - +
+
+ {% comment %} TODO: ONCE ALL DATA ADDED, REMOVE THIS CHECK {% endcomment %} {% if text.headers %} @@ -96,4 +96,21 @@
+ diff --git a/project/npda/views/dashboard/partials.py b/project/npda/views/dashboard/partials.py index f2e29f25..258e2844 100644 --- a/project/npda/views/dashboard/partials.py +++ b/project/npda/views/dashboard/partials.py @@ -13,8 +13,8 @@ ) import json -from datetime import date - +from datetime import date, time +from time import sleep # Django imports from django.apps import apps