2023-11-05 17:21:51 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Scheduled Maintenance/</title>
|
2023-11-05 17:44:58 -05:00
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/asciinema-player.css" />
|
2023-11-05 17:21:51 -05:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body style="background-color: #121315; font-family: 'Fira Code', monospace;">
|
|
|
|
<div style="margin:0 !important; padding:0 !important;" id="player"></div>
|
2023-11-05 17:44:58 -05:00
|
|
|
<div class="info-container">
|
|
|
|
<p id="countdown" class="text-countdown"></p>
|
|
|
|
<p class="text-info">StP is undergoing maintenance! Here's an estimated time that we will be back up and running, thank you for your patience :)</p>
|
|
|
|
</div>
|
|
|
|
<script src="/assets/asciinema-player.min.js"></script>
|
2023-11-05 17:21:51 -05:00
|
|
|
<script>
|
|
|
|
AsciinemaPlayer.create(
|
2023-11-05 17:44:58 -05:00
|
|
|
'/assets/train.cast',
|
2023-11-05 17:21:51 -05:00
|
|
|
document.getElementById('player'), {
|
|
|
|
loop: 1,
|
|
|
|
autoplay: 1,
|
|
|
|
rows: 50,
|
|
|
|
theme: "asciinema",
|
|
|
|
}
|
|
|
|
);
|
|
|
|
</script>
|
|
|
|
<style>
|
2023-11-05 17:44:58 -05:00
|
|
|
.info-container {
|
2023-11-05 17:21:51 -05:00
|
|
|
flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.ap-control-bar {
|
|
|
|
opacity: 0 !important;
|
|
|
|
}
|
|
|
|
.text-countdown {
|
2023-11-05 17:28:49 -05:00
|
|
|
height: 2.5rem;
|
2023-11-05 17:21:51 -05:00
|
|
|
display: flex;
|
|
|
|
background-image: -moz-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: -webkit-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: -o-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: -ms-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
position: relative;
|
|
|
|
font-size: 1.8em;
|
|
|
|
font-family: 'Fira Code', monospace;
|
|
|
|
font-weight: 400;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-info {
|
|
|
|
display: flex;
|
|
|
|
background-image: -moz-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: -webkit-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: -o-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: -ms-linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
background-image: linear-gradient(top, #b8b0af 0%, #f2ecea 100%);
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
position: relative;
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-family: 'Fira Code', monospace;
|
|
|
|
font-weight: 200;
|
|
|
|
text-align: center;
|
2023-11-05 17:44:58 -05:00
|
|
|
max-width: 80%;
|
2023-11-05 17:21:51 -05:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
var countDownDate = new Date("Nov 5, 2023 18:00:00").getTime();
|
|
|
|
var x = setInterval(function() {
|
|
|
|
var now = new Date().getTime();
|
|
|
|
var distance = countDownDate - now;
|
|
|
|
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
|
|
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
|
|
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
|
|
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
|
|
|
document.getElementById("countdown").innerHTML = days + "d " + hours + "h " +
|
|
|
|
minutes + "m " + seconds + "s ";
|
|
|
|
if (distance < 0) {
|
|
|
|
clearInterval(x);
|
|
|
|
document.getElementById("countdown").innerHTML = "Timer finished, refresh the page";
|
|
|
|
}
|
|
|
|
}, 1000);
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|