-
Notifications
You must be signed in to change notification settings - Fork 3
/
leaderboard.html
428 lines (410 loc) · 22.3 KB
/
leaderboard.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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<!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="apple-touch-icon" sizes="57x57" href="assets/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png">
<link rel="manifest" href="assets/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="assets/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<title>PaintYourBlues - Make art that can heal the mind!</title>
<meta name="description"
content="A poster campaign to create awareness on mental health. Contribute towards building an Open Source Graphic Library for global distribution." />
<!-- Open-graph meta -->
<meta property="og:title" content="PaintYourBlues - Make art that can heal the mind!">
<meta property="og:description"
content="A poster campaign to create awareness on mental health. Contribute towards building an Open Source Graphic Library for global distribution.">
<meta property="og:image" content="https://paintyourblues.com/assets/meta.jpg">
<meta property="og:url" content="https://paintyourblues.com">
<meta property="og:site_name" content="PaintYourBlues">
<!-- Twitter meta -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image:alt" content="PaintYourBlues">
<link rel="stylesheet" href="styles/grid.css">
<link rel="stylesheet" href="styles/typo.css">
<link rel="stylesheet" href="styles/styles.css">
<link rel="stylesheet" href="https://use.typekit.net/aec8kbg.css">
</head>
<body>
<nav class="mb-4">
<div class="container py-1">
<ul>
<li class="logo">
<a href="./index.html" class="nav-link text-green">
<i class="fa fa-instagram text-green fa-lg mr-1"></i>
PaintYourBlues
</a>
</li>
<li class="show-on-desktop">
<a href="./index.html">
<h5 class="text-green">entries</h5>
</a>
</li>
<li class="show-on-desktop text-green text-weight-bold mx-3">.</li>
<li class="show-on-desktop">
<a href="./leaderboard.html">
<h5 class="text-green">leaderboard</h5>
</a>
</li>
<li class="show-on-desktop text-green text-weight-bold mx-3">.</li>
<li class="show-on-desktop mr-4">
<a href="./about.html">
<h5 class="text-green">about</h5>
</a>
</li>
<li>
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fpaintyourblues.com&text=A%20poster%20campaign%20to%20create%20awareness%20on%20mental%20health.%20Contribute%20towards%20building%20an%20Open%20Source%20Graphic%20Library%20for%20global%20distribution.%20%23PaintYourBlues%20%23GraphicDesign%20%23MentalHealth"
target="_blank"
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;"
title="Share on Twitter" class="mr-3">
<i class="fa fa-twitter text-green fa-lg"></i>
</a>
</li>
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fpaintyourblues.com"
target="_blank"
class="mr-3"
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;"
title="Share on Facebook">
<i class="fa fa-facebook text-green fa-lg"></i>
</a>
</li>
<li>
<span class="nav-toggle-icon" onclick="toggleNav()">
<i class="fa fa-bars text-green fa-lg"></i>
</span>
</li>
</ul>
</div>
</nav>
<div id="sidenav" class="sidenav">
<div class="sidenavContent">
<a href="./index.html">
<h4 class="text-smoke">entries</h4>
</a>
<br>
<a href="./leaderboard.html">
<h4 class="text-smoke">leaderboard</h4>
</a>
<br>
<a href="./about.html">
<h4 class="text-smoke">about</h4>
</a>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-1"></div>
<div class="col-5">
<div id="titleBoxRef">
<h2 class="m-0" id="leaderboardTitle">leaderboard</h2>
<p class="m-0 mb-2 paragraph-small"><span class="text-orange text-weight-bold" id="refreshStatus"></span></p>
<hr class="m-0">
</div>
<ul class="m-0 p-0 pt-2" id="rank-list">
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
01
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
02
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
03
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
04
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
05
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
06
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
07
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
08
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
09
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
<div class="leaderboard-list-item" id="list-item">
<div class="mr-2">
<img src="https://picsum.photos/800/800" class="leaderboard-thumbnail">
<img src="https://picsum.photos/800/800" class="leaderboard-profile-pic">
</div>
<div class="flex-grow-1">
<p class="m-0 paragraph-small paragraph-big text-weight-bold" id="insta_id">{{insta_id}}</p>
<span class="paragraph-small text-lighten likes-span"><i class="fa fa-heart mr-1"></i><span id="insta_likes">{{likes}}</span> </span>
</div>
<div>
<span class="leaderboard-rank">
10
</span>
</div>
<div class="upvote-btn-container">
<a href="#" target="_blank">
<button class="btn btn-green upvote-btn">upvote</button>
</a>
</div>
</div>
</ul>
<div class="scroll-indicator-grad">
</div>
</div>
<div class="col-5 flex-col show-on-desktop">
<div class="leaderboard-preview-box">
<div id="blankPreview" class="p-5">
<h4 class="m-0 text-orange mb-3">
the leaderboard shows the current trend based on likes received. to upvote an entry, visit instagram and hit <i class="fa fa-heart fa-fw text-orange"></i>
</h4>
<p class="paragraph-main mt-0 text-lighten text-smoke">
top three positions after the voting ends will get ₹10,000 each. apart from these, three more entries will be picked by a curator panel.
</p>
</div>
<div id="framePreview">
<img alt="image" class="img-fluid" id="framePreviewImg">
</div>
</div>
</div>
</div>
</div>
<!-- Preview modal -->
<div id="previewModal" class="modal flex-col">
<div class="text-center my-3">
<div class="modal-close-btn" id="modalCloseBtn">
<i class="fa fa-times fa-lg m-2 text-lighten"></i>
</div>
</div>
<!-- Modal content -->
<div class="modal-content flex-grow-1">
<div class="flex mb-2">
<div class="flex-grow-1">
<p class="text-smoke m-0 paragraph-small paragraph-big" id="modal_username">leader.username</p>
<span class="text-smoke paragraph-small text-lighten"><i class="fa fa-heart text-smoke"></i>
<span id="modal_likes" class="text-smoke paragraph-small text-lighten">leader.likes</span></span>
</div>
<div class="leaderboard-rank">
01
</div>
</div>
<div class="modal-frame mb-3 flex">
<img class="img-fluid" alt="" id="modelFramePreviewImg">
</div>
<div class="text-center">
<a href="" target="_blank">
<button class="btn btn-green mb-2">
upvote on instagram
</button>
</a>
</div>
<p class="paragraph-small text-smoke text-lighten text-center m-0">
to upvote, visit instagram and hit <i class="fa fa-heart text-smoke"></i>
</p>
</div>
</div>
<script src="scripts/leaderboard.js" defer></script>
<!-- footer -->
<div class="container pb-5">
<div class="row">
<div class="col-1"></div>
<div class="col-10">
<hr class="my-4">
</div>
<div class="col-1"></div>
</div>
<div class="row">
<div class="col-1"></div>
<div class="col-3 mb-3 sm-text-center">
<img src="assets/spif-logo.png" style="max-height: 64px;" alt="Suicide India Foundation">
</div>
<div class="col-2"></div>
<div class="col-5">
<div class="text-right mb-3 mb-text-center sm-text-center">
<a href="./index.html" class="nav-link text-green mr-2">entries</a>
<span class="text-green text-weight-bold">.</span>
<a href="./leaderboard.html" class="nav-link text-green mr-2">leaderboard</a>
<span class="text-green text-weight-bold">.</span>
<a href="./about.html" class="nav-link text-green mx-2" target="_blank">about</a>
<span class="text-green text-weight-bold">.</span>
<a href="http://www.spif.in/" class="nav-link text-green mx-2" target="_blank">spif</a>
</div>
<div class="paragraph-small text-lighten mb-3 text-right sm-text-center">
© 2020 Suicide Prevention India Foundation. All Rights Reserved.
</div>
</div>
<div class="col-1"></div>
</div>
</div>
</body>
<script src="https://use.fontawesome.com/84351caa5a.js" defer></script>
<script src="scripts/main.js" defer></script>
</html>