<div class="container d-flex align-items-center" style="height: 100vh;">
#loadingDiv {
$('body').append('<div style="" id="loadingDiv"><div class="spinner-grow text-info" role="status"><span class="sr-only">Loading...</span></div></div>');