Skip to content

Commit

Permalink
[ADD] Loading screen in overview
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Dec 14, 2023
1 parent e4f2e87 commit 5ff5f1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/app/blueprints/overview/templates/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
{{ form.hidden_tag() }}
<div class="page-inner">
<div class="row">
<div class="loader1 text-center ml-mr-auto" id="loading_msg">Loading...</div>
<div class="col-md-12">
<div class="card">
<div class="card" id="card_main_load">
<div class="card-header">
<div class="row">
<div class="col">
Expand Down
1 change: 1 addition & 0 deletions source/app/static/assets/js/iris/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 5ff5f1b

Please sign in to comment.