-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathwinners.html
143 lines (142 loc) · 3.58 KB
/
winners.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
<!DOCTYPE html>
<html>
<head>
<title>LeaderBoard - Ebullience 2k17</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script type="text/javascript">
function switch_pod(){
document.getElementById('events').style.display = "none";
document.getElementById('podium').style.display = "block";
}
</script>
<link rel="stylesheet" href="css/style.css">
<style type="text/css">
#techfooter{
position: fixed;
margin: auto;
right: 0; left: 0; bottom: 1px;
width: 100%; height: 4%;
padding: 2px;
color:white;
opacity: 0.8;
background-color: #454545;
word-wrap: break-word;
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
}
#podium{
display: none;
background: #f2f2f2;
border: 3px solid #494949;
border-radius: 5px;
height: 400px;
width: 600px;
opacity: .9;
margin-left: auto;
margin-right: auto;
border-radius: 10px;
}
#first{
margin-top: 15px;
background-color: #D4AF37;
margin-left: 50px;
padding: 5px;
border: 2px solid #494949;
width: 475px;
height: 100px;
border-radius: 10px;
}
#second{
margin-top: 15px;
background-color: #C0C0C0;
margin-left: 50px;
padding: 5px;
border: 2px solid #494949;
width: 475px;
height: 100px;
border-radius: 10px;
}
#third{
margin-top: 15px;
background-color: #CD7F32;
margin-left: 50px;
padding: 5px;
border: 2px solid #494949;
width: 475px;
height: 100px;
border-radius: 10px;
}
.picture{
border: 5px solid #494949;
border-radius: 25px;
width: 20%;
height: 85%;
margin-top: 3px;
margin-left: 10px;
}
.info{
margin-top: 8px;
margin-left: 200px;
}
</style>
</head>
<body>
<div id="events">
<div class="center-on-page">
<div class="select" id="select">
<form method="GET" action="#" name="winner">
<select name="eventid" id="slct" required>
<option value="0">Select Event</option>
</select>
</div></form>
<br><button class="button button1" onclick="switch_pod();">Check</button>
</div>
</form>
</div>
<div id="podium">
<div id="first">
<div class="picture">
<img src="img/confetti.png" height="64" width="64">
</div>
<div class="info">
<b>WINNER</b>
</div>
</div>
<div id="second">
<div class="picture">
<img src="img/confetti.png" height="64" width="64">
</div>
<div class="info">
<b>First Runner Up</b>
</div>
</div>
<div id="third">
<div class="picture">
<img src="img/confetti.png" height="64" width="64">
</div>
<div class="info">
<b>Second Runner Up</b>
</div>
</div>
</div>
<a href="/ebullience/team/">
<div id="techfooter">
<center>Crafted By <strong>Team Knapsacks</strong></center>
</div></a>
<script type="text/javascript">
$.getJSON('dataset/uniqueevents.json', function (data) {
var items=[];
$.each(data.all, function(key, val) {
items.push("<option value="+val['Unique ID']+">"+val['Event Name']+"</option>");
});
$("#slct").append(items.join(""));
});
</script>
</body>
</html>