-
Notifications
You must be signed in to change notification settings - Fork 1
/
leadpage.html
213 lines (200 loc) · 9.12 KB
/
leadpage.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<html>
<head>
<link href="css/leaderboard.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>AIB | Leaderboard</title>
</head>
<body>
<div class="navbar">
<ul>
<li>
<a href="index.html">Home</a>
</li>
<li style="float:right;">
<button id="myBtn" class="button button1">Contact Us</button>
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<br>
<p>
<p style="text-align: center; font-size: xx-large; color: orange; font-style: oblique;">Contact us</p>
</p>
<br>
<p style="text-align: center; color: red;">Shaurya :
<p style="align-items: center; text-align: center;"><button id="p1" class="buttononclick" onclick="p1()">+91 87573 73564</button></p>
</p>
<p style="text-align: center; color:red;">Anupriya :
<p style="align-items: center; text-align: center;"><button id="p2" class="buttononclick" onclick="p2()">+91 95701 64884</button></p>
</p>
<p style="text-align: center; color: red;">Pranav :
<p style="align-items: center; text-align: center;"><button id="p3" class="buttononclick" onclick="p3()">+91 97030 03291</button></p>
</p>
<p style="text-align: center; color: red;">Sparsh :
<p style="align-items: center; text-align: center;"><button id="p4" class="buttononclick" onclick="p4()">+91 94331 80822</button></p>
</p>
<br>
<p style="font-size: small; color:grey; text-align: center;">(Click to copy to Clipboard)</p>
<script>
function p1() {
var input = document.createElement('input');
input.value = document.getElementById('p1').innerHTML;
input.id = 'inputID';
document.body.appendChild(input);
input.select();
document.execCommand('copy');
document.body.removeChild(input);
}
function p2() {
var input = document.createElement('input');
input.value = document.getElementById('p2').innerHTML;
input.id = 'inputID';
document.body.appendChild(input);
input.select();
document.execCommand('copy');
document.body.removeChild(input);
}
function p3() {
var input = document.createElement('input');
input.value = document.getElementById('p3').innerHTML;
input.id = 'inputID';
document.body.appendChild(input);
input.select();
document.execCommand('copy');
document.body.removeChild(input);
}
function p4() {
var input = document.createElement('input');
input.value = document.getElementById('p4').innerHTML;
input.id = 'inputID';
document.body.appendChild(input);
input.select();
document.execCommand('copy');
document.body.removeChild(input);
}
</script>
</div>
<script>
// Get the modal
var modal = document.getElementById("myModal");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</div>
</li>
</ul>
</div>
<div class="headings">
<p class="acumen">Acumen</p>
<p class="presents">presents</p>
<p class="aib" href="index.html">AIB</p>
<br>
<br>
<br>
<p class="data">Welcome to Leaderboards page Mr. Crewmate!</p>
<p class="data">The leaderboard will be updated here everynight. </p>
<br>
<p class="data" style="color: red;">5th November, 2020</p>
<p class="data" style="color: red;"> Round 1 Leader Board</p>
<p class="data" style="color: red;"> Qualified List</p>
<br>
<table class="tg" style="padding-left: 50%; margin-left: 40%; text-align: right; border-color: rgb(80, 80, 80);">
<thead>
<tr>
<th class="tg-0lax"><strong> R A N K </strong></th>
<th class="tg-0lax"><strong> I D </strong></th>
<th class="tg-0lax"><strong> S C O R E </strong></th>
</tr>
</thead>
<tbody>
<tr>
<td class="tg-0lax">1</td>
<td class="tg-0lax">6325</td>
<td class="tg-0lax">76 / 90</td>
</tr>
<tr>
<td class="tg-0lax">2</td>
<td class="tg-0lax">5492</td>
<td class="tg-0lax">64 / 90</td>
</tr>
<tr>
<td class="tg-0lax">3</td>
<td class="tg-0lax">5489</td>
<td class="tg-0lax">64 / 90</td>
</tr>
<tr>
<td class="tg-0lax">4</td>
<td class="tg-0lax">5894</td>
<td class="tg-0lax">62 / 90</td>
</tr>
<tr>
<td class="tg-0lax">5</td>
<td class="tg-0lax">7514</td>
<td class="tg-0lax">60 / 90</td>
</tr>
<tr>
<td class="tg-0lax">6</td>
<td class="tg-0lax">6073</td>
<td class="tg-0lax">60 / 90</td>
</tr>
<tr>
<td class="tg-0lax">7</td>
<td class="tg-0lax">5445</td>
<td class="tg-0lax">60 / 90</td>
</tr>
<tr>
<td class="tg-0lax">8</td>
<td class="tg-0lax">5719</td>
<td class="tg-0lax">58 / 90</td>
</tr>
<tr>
<td class="tg-0lax">9</td>
<td class="tg-0lax">8139</td>
<td class="tg-0lax">55 / 90</td>
</tr>
<tr>
<td class="tg-0lax">10</td>
<td class="tg-0lax">5544</td>
<td class="tg-0lax">54 / 90</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
<p class="data "><strong>Others</strong></p>
<p class="data ">6th November, 2020 (round 1 day 2)</p>
<p class="data ">7th November, 2020 (round 2 finals)</p>
<br>
<br>
<br>
</div>
<!-- <div id="frames " class="iframes " style="align-items: center; display: none; ">
<iframe id="frame1 " style="display: none; " src="# " width="100% " height="800 " frameborder="0 " marginheight="0 " marginwidth="0 ">Loading…</iframe></div>
</div> -->
<footer>
<div class="footer ">
<p>
AIB - Acumen @ TechTatva 2020, MIT Manipal.
</p>
</div>
</footer>
</body>
</html>