Loading spinner

This commit is contained in:
Hash Borgir 2023-06-23 11:41:01 -06:00
parent 0bec5d21f2
commit c15f9fc2bf

View File

@ -28,9 +28,7 @@ foreach (glob($tbl . "*.tbl") as $filename) {
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<body>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS -->
@ -50,9 +48,7 @@ foreach (glob($tbl . "*.tbl") as $filename) {
<!-- Bootstrap DataTables JS -->
<script src="https://cdn.datatables.net/1.11.4/js/dataTables.bootstrap4.min.js"></script>
<title>Editable Tables</title>
</head>
<body>
<div style="padding:10px; border: 1px solid #eee;">
<div class="container">
<div class="row">
@ -87,10 +83,7 @@ foreach (glob($tbl . "*.tbl") as $filename) {
<br>
<hr>
<div class="tablediv">
<div id="loading-spinner" style="display: none; text-align:center;">
<img src="img/loading.gif" alt="Loading...">
</div>
<div class="tablediv">
<table class="table">
<thead>
<tr>
@ -105,7 +98,9 @@ foreach (glob($tbl . "*.tbl") as $filename) {
</tbody>
</table>
</div>
<div id="loading-spinner" style="display: none; text-align:center;">
<img src="img/loading.gif" alt="Loading...">
</div>
</div>