radarmap/index.html
2024-08-17 01:15:12 -04:00

48 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Radar application</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script>
// Set theme to the user's preferred color scheme
function updateTheme() {
const colorMode = window.matchMedia("(prefers-color-scheme: dark)").matches ?
"dark" :
"light";
document.querySelector("html").setAttribute("data-bs-theme", colorMode);
}
// Set theme on load
updateTheme()
// Update theme when the preferred scheme changes
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', updateTheme)
</script>
</head>
<body>
<div class="p-2 container-fluid">
<h1>Notice!</h1>
<p>
I have migrated the radar site to the us map site!
<br>
Consider using that for the best experience!
<br>
Thank you for understanding! &#x1F609;
</p>
<br>
<p class="fw-bold fst-italic text-primary">You will be redirected in <span id="timred"></span> to the website!</p>
</div>
<script>
var count = 25;
setInterval(function(){
count--;
document.getElementById('timred').innerHTML = count;
if (count == 0) {
window.location = 'https://ssp6904.ttnrtsite.io/usmap/';
}
},1000);
</script>
</body>
</html>