abtmtr-v4/embeds/loader.html

33 lines
803 B
HTML
Raw Normal View History

2023-12-21 06:23:50 +00:00
<!-- Put this template in all pages that require JavaScript! -->
2023-11-23 08:53:28 +00:00
<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>
2024-01-23 22:12:05 +00:00
<p>Please wait.</p>
2023-11-23 08:53:28 +00:00
<p>If this page does not load, try enabling JavaScript.</p>
<small>(This site won't work well without it.)</small>
2023-11-26 19:14:50 +00:00
<p>Or <a href="/">go back home</a>.</p>
2023-11-23 08:53:28 +00:00
<script>
2023-12-21 06:59:22 +00:00
window.addEventListener("DOMContentLoaded", function () {
2023-11-23 08:53:28 +00:00
document.querySelector("#loading").style.display = "none";
});
</script>
</div>
</div>