abtmtr-v4/embeds/loader.html

32 lines
803 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>
<p>Please wait.</p>
<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("DOMContentLoaded", function () {
document.querySelector("#loading").style.display = "none";
});
</script>
</div>
</div>