-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
176 lines (164 loc) · 7.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lobster&family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" integrity="sha512-aOG0c6nPNzGk+5zjwyJaoRUgCdOrfSDhmMID2u4+OIslr0GjpLKo7Xm0Ao3xmpM4T8AmIouRkqwj1nrdVsLKEQ==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w==" crossorigin="anonymous" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/style.css" />
<title>Raffle-2021</title>
</head>
<body class="background">
<div id="winner-container">
<div class="header">
<div class="col-md-12">
<img id="header-image" src="assets/images/Raffle-Header.PNG" alt="My image" style="max-width:100%; max-height: auto; border-radius: 10px;"/>
</div>
</div>
<div class="jumbotron-fluid jumbo" style="padding-bottom: 0px;">
<h1 class="text-center title text-light">And the winner is...</h1>
</div>
<div>
<h2 id="winner" class="text-center my-3"></h2>
</div>
</div>
<div class="container">
<div class="row justify-content-center m-3 text-center">
<div class="col-md-3 col-3">
<button id="pick-winner" class="btn btn-outline-primary" style="color: white;" disabled="disabled" >
<i class="fas fa-dice"></i> <span>Draw Winner</span>
</button>
</div>
<div class="col-md-3 col-3">
<button id="remove-winner" class="btn btn-outline-warning" style="color: white;" disabled="disabled">
<i class="fas fa-times"></i>   Remove Winner
</button>
</div>
<div class="col-md-3 col-3">
<button id="thankyou-next" class="btn btn-outline-success" style="color: white;" disabled="disabled">
<i class="fas fa-save"></i>   Save Winner
</button>
</div>
</div>
<div class="row">
<div class="col-md-12 col-12">
<div class="pad">
<h2 id="total-entries" class="text-center mb-4"></h2>
<div class="row justify-content-center">
<div class="col-md-8 col-8">
<h3 id="count" class="text-center text-light"></h3>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal load-modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title text-center">Upload Raffle Entries</h5>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="file" id="fileinput"/>
<div class="load-msg"></div>
<div class="modal-footer load-footer">
<button class="btn-secondary btn load-entries" onclick="handleFileSelect();">
Load Raffle
</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal reset-modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title text-center">Success!</h5>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>
Raffle entries have been cleared.
</p>
<div class="reset-msg"></div>
<div class="modal-footer">
<button
class="btn btn-danger"
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
Close
</button>
</div>
</div>
</div>
</div>
</div>
<div class="spacer"></div>
<div class="row justify-content-center">
<button class="ml-2 text-center mt-2 btn btn-outline-primary load-btn">
<i class="fas fa-download"></i>
Load
</button>
<button id="reset" class="ml-2 mt-2 btn btn-outline-danger reset-btn">
<i class="fas fa-trash-alt"></i>
Reset
</button>
</div>
<div class="container mt-3">
<div class="row justify-content-center">
<div class="col-md-2">
<label for="slider1value" class="badge badge-dark">Duration:</label>
<input type="text" id="slider1value" readonly style="margin-left:36px; width:30px; font-weight:bold;">
</div>
<div class="col-md-6">
<div id="duration"></div>
</div>
</div>
</div>
<div class="container mt-4">
<div class="row justify-content-center">
<div class="col-md-2">
<label for="slider2value" class="badge badge-dark">Suspense:</label>
<input type="text" id="slider2value" readonly style="margin-left:10px; width:30px; font-weight:bold;">
</div>
<div class="col-md-6">
<div id="delay"></div>
</div>
</div>
</div>
<footer class="text-center p-1 mt-2 sticky-footer">
<h6 class="text-light powered-by">Raffler 2021 💚</h6>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" integrity="sha512-uto9mlQzrs59VwILcLiRYeLKPPbS/bT71da/OEBYEwcdNUk8jYIy+D176RYoop1Da+f9mvkYrmj5MCLZWEtQuA==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.6.0/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js" integrity="sha512-s/XK4vYVXTGeUSv4bRPOuxSDmDlTedEpMEcAQk0t/FMd9V6ft8iXdwSBxV0eD60c6w/tjotSlKu9J2AAW1ckTA==" crossorigin="anonymous"></script>
<script src="assets/javascript/confetti.js"></script>
<script src="assets/javascript/app.js"></script>
</body>
</html>