-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (93 loc) · 4.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>PSG</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./fonts/Alternate_Gothic_No3_D_Regular.otf">
<link rel="stylesheet" href="styles/style.css" />
<link rel="stylesheet" href="styles/navbar.css" />
<link rel="stylesheet" href="styles/media_query.css" />
<link rel="stylesheet" href="styles/custom-ask.css" />
<link rel="stylesheet" href="styles/widget-common.css" />
<link rel="stylesheet" href="styles/override-all.css" />
</head>
<body>
<div class="container" style="padding:0px">
<div class="static-content-top">
<div id="player">
<img id="static-header-image" src="./images/small-header.jpg" alt="">
</div>
<ul class="nav nav-tabs nav-justified" id="myTab" role="tablist">
<li class="nav-item" id="timeline-nav-tab" role="presentation">
<button class="nav-link" id="widget-tab" data-bs-toggle="tab" data-bs-target="#widget" type="button"
role="tab" aria-controls="widget" aria-selected="false"><span>Quiz</span></button>
</li>
<li style="display: none;" class="nav-item" role="presentation" id="profile-nav-tab">
<button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button"
role="tab" aria-controls="profile" aria-selected="false"><b id="profile-tab-label"></b></button>
</li>
<li class="nav-item" id="leaderboard-nav-tab" role="presentation">
<button class="nav-link" id="leaderboard-tab" data-bs-toggle="tab" data-bs-target="#leaderboard" type="button"
role="tab" aria-controls="leaderboard" aria-selected="false"><span>Classement</span></button>
</li>
</ul>
</div>
<div class="tab-content">
<div class="widgets-tab tab-pane active" id="widget" role="tabpanel" aria-labelledby="widget-tab">
<livelike-widgets class="widgets-timeline" mode="interactive-timeline"></livelike-widgets>
</div>
<div class="tab-pane" id="leaderboard" role="tabpanel" aria-labelledby="leaderboard-tab">
<div class="leaderboard-container">
<table class="leaderboard-table">
<thead>
<th style="text-align: center;" class="thead-element">#  </th>
<th class="thead-element">EQUIPE</th>
<th style="text-align: end;" class="thead-element">Score</th>
</thead>
<tbody class="leaderboard-entries-container"></tbody>
</table>
</div>
</div>
<div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<div style="display: flex; flex-direction: column;">
<div class="profile-container">
<form autocomplete="off">
<label class="form-label" for="form-user-nickName">Nom d’équipe<b class="red-text">*</b></label>
<input onchange="performUserFormValidation()" onkeydown="performUserFormValidation()" type="text"
id="form-user-nickName" class="profile-input form-control" />
</form>
<br />
<button class="btn btn-default" id="createProfileButton" onclick="handleCreateUserProfile()">Créer
profil</button>
<p class="mandatory-text">*Champs obligatoire</p>
</div>
</div>
</div>
</div>
<script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"
integrity="sha384-rOA1PnstxnOBLzCLMcre8ybwbTmemjzdNlILg8O7z1lUkLXozs4DHonlDtnE7fpc"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
crossorigin="anonymous"></script>
<script src="https://unpkg.com/@livelike/[email protected]/livelike.umd.js"></script>
<script src="scripts/customwidget.js"></script>
<script src="scripts/utils.js"></script>
<script src="scripts/script.js"></script>
<script>
const baseUrl = "https://cf-blast.livelikecdn.com/api/v1";
const clientId = "dpB3eOXAccJnJuFErwp6BX1WbV0u5DSY1DbfNHhS";
const programId = getProgramId();
//const programId = "";
; (async () => {
const leaderboardId = await getLeaderboardIdAsync({ programId });
init(clientId, programId, leaderboardId);
document.addEventListener('gesturestart', (e) => { e.preventDefault(); });
})();
</script>
</body>
</html>