114 lines
3.6 KiB
HTML
114 lines
3.6 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<title>PGAN Christmas Raffle</title>
|
||
|
<link
|
||
|
rel="stylesheet"
|
||
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
|
||
|
/>
|
||
|
<link rel="stylesheet" href="./style.css" />
|
||
|
</head>
|
||
|
<body class="bg-christmas">
|
||
|
<!-- Background Music -->
|
||
|
<audio id="background-music" src="./paripapap_music.mp3" loop></audio>
|
||
|
<audio id="background-music1" src="./igiling.mp3" loop></audio>
|
||
|
|
||
|
<audio id="congrats-music1" src="./congrats.mp3"></audio>
|
||
|
<audio id="congrats-music2" src="./congrats1.mp3"></audio>
|
||
|
|
||
|
<img id="paripapap-gif" class="playing-image-paripapap" src="./paripapap.gif" alt="Paripapap GIF">
|
||
|
<img id="igiling-gif" class="playing-image-igiling" src="./igiling.gif" alt="Igiling GIF">
|
||
|
|
||
|
<!-- Snowflakes -->
|
||
|
<div id="snow-container"></div>
|
||
|
|
||
|
<div class="container text-center py-5">
|
||
|
<!-- PGAN Logo -->
|
||
|
<!-- <img src="./pgan_logo.png" alt="PGAN Logo" class="logo mb-4" /> -->
|
||
|
<div class="logo-container position-relative">
|
||
|
<img src="./pgan_logo.png" alt="PGAN Logo" class="logo mb-4" />
|
||
|
<div class="santa-hat"></div>
|
||
|
</div>
|
||
|
|
||
|
<h1 class="text-dark mb-4 position-relative heading-lights fancy-heading">
|
||
|
<span class="christmas-tree">🎄</span>
|
||
|
PGAN Christmas Raffle
|
||
|
<span class="santa">🎅</span>
|
||
|
<div class="lights-wrapper">
|
||
|
<div class="lightbulb red"></div>
|
||
|
<div class="lightbulb green"></div>
|
||
|
<div class="lightbulb blue"></div>
|
||
|
<div class="lightbulb yellow"></div>
|
||
|
<div class="lightbulb purple"></div>
|
||
|
<div class="lightbulb red"></div>
|
||
|
<div class="lightbulb green"></div>
|
||
|
<div class="lightbulb blue"></div>
|
||
|
<div class="lightbulb yellow"></div>
|
||
|
<div class="lightbulb purple"></div>
|
||
|
</div>
|
||
|
</h1>
|
||
|
|
||
|
<div class="mb-4">
|
||
|
<input
|
||
|
type="file"
|
||
|
id="file-input"
|
||
|
accept=".csv"
|
||
|
class="form-control w-50 mx-auto"
|
||
|
/>
|
||
|
</div>
|
||
|
<button id="raffle-button" class="btn btn-danger btn-lg mb-3 glowing">
|
||
|
🎁 Pick a Winner! 🎁
|
||
|
</button>
|
||
|
<div
|
||
|
id="box-container"
|
||
|
class="d-flex flex-wrap justify-content-center gap-1 my-4"
|
||
|
></div>
|
||
|
</div>
|
||
|
|
||
|
<!-- Modal -->
|
||
|
<!-- Modal -->
|
||
|
<div
|
||
|
class="modal fade"
|
||
|
id="winnerModal"
|
||
|
tabindex="-1"
|
||
|
aria-labelledby="winnerModalLabel"
|
||
|
aria-hidden="true"
|
||
|
>
|
||
|
<div class="modal-dialog modal-xl">
|
||
|
<!-- Enlarged modal -->
|
||
|
<div class="modal-content">
|
||
|
<div class="modal-header">
|
||
|
<h5 class="modal-title fw-bold" id="winnerModalLabel">
|
||
|
🎉 Winner Announced! 🎉
|
||
|
</h5>
|
||
|
<button
|
||
|
type="button"
|
||
|
class="btn-close"
|
||
|
data-bs-dismiss="modal"
|
||
|
aria-label="Close"
|
||
|
></button>
|
||
|
</div>
|
||
|
<div class="modal-body text-center">
|
||
|
<p
|
||
|
id="winner-name"
|
||
|
class="fw-bold text-danger"
|
||
|
style="font-size: 5.5rem"
|
||
|
></p>
|
||
|
<!-- Larger winner text -->
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button id="remove-winner" class="btn btn-danger">
|
||
|
Remove Winner
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||
|
<script src="./script.js"></script>
|
||
|
</body>
|
||
|
</html>
|