Timer for Claim Phases
complete
Bastian De Magalhaes
I would like to suggest, for Drops who have a change of phase in Claim Phases, add a timer on the Drop Page for the time remaining until the change of the Actual Claim Phase Example; (This phase will end in : 1d 12h 23min 15s)
If this can help, its a working timer widget: <html>
<head>
<meta charset="UTF-8">
<title>Countdown Timer</title>
<style>
/* Center the countdown and make numbers bigger /
#demo {
text-align: center;
font-size: 7em;
font-weight: bold;
color: white !important; / Text color is white /
background-color: black !important; / Background color is black /
}
</style>
</head>
<body>
<!-- Display the countdown timer in an element -->
<p id="demo"></p>
<script>
// Set the date we're counting down to
var countDownDate = new Date("Nov 29, 2024 15:37:25").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
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);
// Display the result in the element with id="demo"
document.getElementById("demo").innerHTML = days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ";
// If the count down is finished, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "ON";
}
}, 1000);
</script>
</body>
</html>
DexKit
complete
DexKit
in progress
DexKit
planned
brandon gertz
i would even add to what your saying, we should have the option to be able to have a drop sell out before the next phase is a option instead of time based only phases
DexKit
brandon gertz: you can limit the total amount for the drop. The timer will be added and also when the drop is sold out, it should show that is sold out and user should wait for next phase