diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-01-13 16:12:11 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-01-13 16:12:11 +0100 |
commit | 2b192b3840ac344c456b98304ea400f0af90da15 (patch) | |
tree | 081ba8cbc0add17f08c9b94fb4a830834d87c259 /includes/components/emergency.inc | |
parent | 2bfdb0ab2e366007269d1b77446f1581801e05dc (diff) | |
download | pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.gz pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.bz2 pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.zip |
Updated 46 files and deleted 19 files (automated)
Diffstat (limited to 'includes/components/emergency.inc')
-rw-r--r-- | includes/components/emergency.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/components/emergency.inc b/includes/components/emergency.inc index 03d468c..8ebd65e 100644 --- a/includes/components/emergency.inc +++ b/includes/components/emergency.inc @@ -7,7 +7,7 @@ <span data-bs-toggle="modal" data-bs-target="#turn-on" id="btn-on" style="background: #7f0000;font-size: 48px;padding: 10px 50px;border-radius: 10px;width: max-content;display: block;margin-left: auto;margin-right: auto;cursor: pointer;">Turn <b>ON</b></span> <span data-bs-toggle="modal" onclick="disableAlert();" id="btn-off" style="display:none;background: #007f0b;font-size: 48px;padding: 10px 50px;border-radius: 10px;width: max-content;margin-left: auto;margin-right: auto;cursor: pointer;">Turn <b>OFF</b></span> -<p style="text-align:center;margin-top:10px;">Sending next notification <b><span id="next-notification">never</span></b></p> +<p style="text-align:center;margin-top:10px;">Sending the next notification <b><span id="next-notification">never</span></b></p> <hr> @@ -24,6 +24,9 @@ <label style="display: block; margin-left: 10px;"> <input type="checkbox" id="enable-moonglow"> Moonglow </label> +<!--<label style="display: block; margin-left: 10px;"> + <input type="checkbox" id="enable-hailstorm"> Hailstorm +</label>--> <style> <?php global $use2023UI; if (!$use2023UI): ?> @@ -82,6 +85,7 @@ document.getElementById("enable-<?= $GLOBALS["ColdHazeApp"]["other"]["slug"] ?>").checked ? "<?= $GLOBALS["ColdHazeApp"]["other"]["slug"] ?>" : null, document.getElementById("enable-raindrops").checked ? "raindrops" : null, document.getElementById("enable-moonglow").checked ? "moonglow" : null, + document.getElementById("enable-hailstorm").checked ? "hailstorm" : null, ].filter(i => i); return "?" + targets.join("&"); } @@ -123,6 +127,7 @@ document.getElementById("enable-<?= $GLOBALS["ColdHazeApp"]["other"]["slug"] ?>").disabled = true; document.getElementById("enable-raindrops").disabled = true; document.getElementById("enable-moonglow").disabled = true; + document.getElementById("enable-hailstorm").disabled = true; window.alertInterval = setInterval(() => { window.alertIntervalCounter--; @@ -146,5 +151,6 @@ document.getElementById("enable-<?= $GLOBALS["ColdHazeApp"]["other"]["slug"] ?>").disabled = false; document.getElementById("enable-raindrops").disabled = false; document.getElementById("enable-moonglow").disabled = false; + document.getElementById("enable-hailstorm").disabled = false; } </script>
\ No newline at end of file |