-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
118 lines (114 loc) · 5.84 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
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Youtube Times</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/fonts/ionicons.min.css">
<link rel="stylesheet" href="assets/css/Footer-Dark.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="assets/css/styles.css">
<script src="./assets/js/showdown.min.js"></script>
<script src="./assets/js/seeking.js"></script>
</head>
<body>
<div class="container">
<h1 class="text-center text-light">Youtube Times</h1>
<div class="row row-cols-sm-1 row-cols-md-1 row-cols-lg-2 row-cols-xl-2 row-cols-xxl-2">
<div class="col-auto">
<div class="ratio ratio-16x9" id="video-div">
</div>
</div>
<div class="col-auto" style="max-height: 30vw;">
<div class="table-responsive" style="max-height: 95%;">
<table class="table table-hover">
<thead>
<tr>
<th>Timestamp</th>
<th>Time Description</th>
</tr>
</thead>
<tbody id="table-body">
</tbody>
</table>
</div>
</div>
</div>
<form>
<div class="row">
<div class="col-4">
<label class="form-label" for="repeats">Number of Repeats:
<span id="repeatCountText">0</span>
</label>
<div class="input-group input-group-sm mb-3">
<input class="form-control" type="number" id="repeatCount" value="0" min="0" step="1">
</div>
<div class="progress" id="repeatProgress" style="color: var(--bs-white);">
<div class="progress-bar progress-bar-striped progress-bar-animated" aria-valuenow="0"
aria-valuemin="0" aria-valuemax="100" style="width: 0%;">0%</div>
</div>
</div>
<div class="col-4">
<label class="form-label" for="bufferSize">
<span>Time Buffer: [</span>
<span id="timeBufferBeforeText">0</span>
<span>,</span>
<span id="timeBufferAfterText">0</span>
<span>]</span>
</label>
<div class="input-group input-group-sm mb-3">
<input class="form-control" type="number" id="bufferSizeBefore" value="0" min="0" step="1">
<input class="form-control" type="number" id="bufferSizeAfter" value="0" min="0" step="1">
</div>
<div class="progress" id="timeProgress" style="color: white;">
<div class="progress-bar progress-bar-striped progress-bar-animated" aria-valuenow="0"
aria-valuemin="0" aria-valuemax="100" style="width: 0%;">0%</div>
</div>
<select class="form-control form-control-sm" id="endBehaviour">
<option disabled>End Segment Behaviour</option>
<option selected>Continue</option>
<option>Jump to Next</option>
<option>Stop</option>
</select>
</div>
<div class="col-4"><button class="btn btn-primary btn-lg btn-block" type="button"
style="width: 100%;height: 100%;" data-bs-toggle="modal" data-bs-target="#loadText">Load from
Text</button></div>
</div>
</form>
<footer>
<footer class="footer-dark" style="background: rgba(40,45,50,0);">
<div class="container">
<div class="row">
<div class="col item social"><a href="https://github.com/tweoss/youtube-seeking"
target="_blank"><i class="icon ion-social-github"></i></a><a
href="https://github.com/Tweoss/youtube-seeking/issues/" target="_blank"><i
class="icon ion-bug"></i></a></div>
</div>
<p class="copyright">Francis Chua 2021</p>
</div>
</footer>
</footer>
<div class="modal fade" role="dialog" tabindex="-1" id="loadText">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Load Configuration</h4><button type="button" class="btn-close"
data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body"><textarea id="loadTextArea" style="width: 100%;height: 10vw;"></textarea>
</div>
<div class="modal-footer"><button class="btn btn-light btn-sm" type="button"
data-bs-dismiss="modal">Cancel</button><button class="btn btn-primary btn-sm"
id="loadConfirm" type="submit">Load</button></div>
</div>
</div>
</div>
</div>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/bs-init.js"></script>
<script src="assets/js/seeking.js"></script>
<script src="assets/js/showdown.min.js"></script>
</body>
</html>