forked from klu0926/youtubeCommentPicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (51 loc) · 2.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Youtube | Elegir un comentario</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--main container--->
<div class="container mt-5 d-flex flex-column" style="width: 700px;">
<!--input--->
<h1 class="h1 text-danger text-center" for="urlInput">Elegir un comentario</h1>
<div class="d-flex" id="inputBox">
<input id="urlInput" type="url" class="form-control" placeholder="Link: https://www.youtube.com/...">
<button id="darkModeButton" class="btn btn-dark ml-3">
<span id="darkModeIcon">🌙</span>
</button>
</div>
<button id="sendButton" type="button" class="btn btn-danger mt-3">CARGAR COMENTARIOS</button>
<!--video info + name list-->
<p class="mt-3 text-secondary">Video:</p>
<div id="loadingNameList" class="spinner-border text-primary" role="status" style="display: none;">
<span class="sr-only">Loading...</span>
</div>
<p class="text-primary h5" id="title"> ... </p>
<p class="mt-1 text-secondary" id="nameTot">Usuarios:</p>
<div id="loadingWinner" class="spinner-border text-primary" role="status" style="display: none;">
<span class="sr-only">Loading...</span>
</div>
<p class="text-primary" id="nameList"> ... </p>
<!--pick winner-->
<div class="d-flex align-items-center">
<button id="winnerButton" class="btn btn-primary w-100">¡Elegir un ganador!</button>
<button id="drumRollButton" class="btn btn-secondary ml-3">🥁</button>
</div>
<p class="mt-3 text-secondary">El ganador es:</p>
<p class="text-primary display-2 fw-bold" id="winner"> </p>
<!--winner comment-->
<p class="mt-3 text-secondary" id="winnerCommentLabel" style="display: none;">Su comentario fue:</p>
<p class="h4 text-primary fw-bold" id="winnerComment"> </p>
<!--footer-->
<div style="height: 200px; margin-top: 50px;">
<hr></hr>
<p class="footerText text-info p-sm-1 text-center">By Charlulu's</p>
</div>
</div>
<!-- Your website content goes here -->
<script src="main.js"></script>
</body>
</html>