From 5ff5f1bc973d82147befa4d2c70d3a9f3d72ff0c Mon Sep 17 00:00:00 2001 From: whikernel Date: Thu, 14 Dec 2023 08:12:48 +0100 Subject: [PATCH] [ADD] Loading screen in overview --- source/app/blueprints/overview/templates/overview.html | 3 ++- source/app/static/assets/js/iris/overview.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/app/blueprints/overview/templates/overview.html b/source/app/blueprints/overview/templates/overview.html index 6d8014cac..ae661a89f 100644 --- a/source/app/blueprints/overview/templates/overview.html +++ b/source/app/blueprints/overview/templates/overview.html @@ -18,8 +18,9 @@ {{ form.hidden_tag() }}
+
Loading...
-
+
diff --git a/source/app/static/assets/js/iris/overview.js b/source/app/static/assets/js/iris/overview.js index ec9518494..49790d2dd 100644 --- a/source/app/static/assets/js/iris/overview.js +++ b/source/app/static/assets/js/iris/overview.js @@ -258,6 +258,7 @@ let OverviewTable = $("#overview_table").DataTable({ OverviewTable.searchBuilder.container().appendTo($('#table_buttons')); function get_cases_overview(silent, show_full=false) { + show_loader(); show_full = show_full || $('#overviewLoadClosedCase').prop('checked'); $('#overviewTableTitle').text(show_full ? 'All cases' : 'Open cases');