abtmtr-v4/embeds/loader.html
2023-12-21 00:23:50 -06:00

32 lines
793 B
HTML

<!-- Put this template in all pages that require JavaScript! -->
<div
style="
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: var(--background-color);
color: var(--color);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
z-index: 1000;
font-family: sans-serif;
"
id="loading"
>
<div>
<h1>Loading...</h1>
<h2>Please wait.</h2>
<p>If this page does not load, try enabling JavaScript.</p>
<small>(This site won't work well without it.)</small>
<p>Or <a href="/">go back home</a>.</p>
<script>
window.addEventListener("load", function () {
document.querySelector("#loading").style.display = "none";
});
</script>
</div>
</div>