Loader for logs

pull/26/head
Louis Vézina 7 years ago
parent 41a1e0ea5a
commit bbd509e98f

@ -13,6 +13,9 @@
</style>
</head>
<body>
<div id='logs_loader' class="ui page dimmer">
<div class="ui indeterminate text loader">Loading...</div>
</div>
<div class="content">
<table class="ui very basic selectable table">
<thead>

@ -145,6 +145,8 @@
function loadURL(page) {
$.ajax({
url: "{{base_url}}logs/" + page,
beforeSend: function() { $('#loader').addClass('active'); },
complete: function() { $('#loader').removeClass('active'); },
cache: false
}).done(function(data) {
$("#logs").html(data);

Loading…
Cancel
Save