Skip to content

Commit

Permalink
adding the loading icon
Browse files Browse the repository at this point in the history
  • Loading branch information
twoln committed May 14, 2024
1 parent b8ef46f commit 560dee2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion web/admin/js/nro.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,15 @@ $(document).ready(function() {
if (fed === "XX") {
return;
}
$("#thirdrow").hide();
$("#main_content").hide();
$("#loading_gif").show();
document.location.href = "overview_federation.php?fed_id="+fed;
});


$("img.cat-icon").tooltip();

$("#loading_gif").hide();

});

Expand Down
5 changes: 4 additions & 1 deletion web/admin/overview_federation.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
echo $deco->productheader("FEDERATION");
$readonly = \config\Master::DB['INST']['readonly'];
?>
<div id="main_content">
<h1>
<?php echo sprintf(_("%s Overview"), $uiElements->nomenclatureFed); ?>
</h1>
Expand Down Expand Up @@ -516,6 +517,8 @@
<br/>
<?php
}
echo "<hr/>$helptext";
echo "<hr/>$helptext</div> <!-- main_content -->";
echo "<img src ='../resources/images/icons/loading51.gif' id='loading_gif' style='display: block; margin-left: auto; margin-right:auto; margin-top:100px'>";

echo $deco->footer();

0 comments on commit 560dee2

Please sign in to comment.