-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
149 lines (145 loc) · 5.12 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
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
<!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" />
<meta name="author" content="Tiberius Mairura" />
<meta
name="description"
content="A web application that provides access the user to create, edit, and delete livestream video events"
/>
<title>Youbified</title>
<!-- Font Awesome -->
<script
src="https://kit.fontawesome.com/b9ae0ee7d3.js"
crossorigin="anonymous"
></script>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./assets/css/utilities.css" />
<link rel="stylesheet" href="./assets/css/main.css" />
</head>
<body class="bg-main">
<div class="container mb-3">
<div class="inner-wapper">
<div class="container">
<div class="row">
<div class="col-xs-12 top-menu bg-light">
<button
class="btn btn-success"
id="create-new-live-stream"
type="button"
>
<i class="fa-solid fa-circle-plus"></i> Create
</button>
<button
class="btn btn-warning"
id="view-all-live-streams"
type="button"
>
<i class="fa-solid fa-arrows-rotate"></i> Refresh
</button>
</div>
<div class="col-md-8 stream-container bg-light">
<table class="table text-white">
<thead>
<tr>
<th scope="col">Select</th>
<th scope="col">Date Created</th>
<th scope="col">Live Link</th>
<th scope="col">Status</th>
<th scope="col" colspan="4">Actions</th>
</tr>
</thead>
<tbody id="stream-list"></tbody>
</table>
</div>
<div class="col-md-4">
<form class="row" id="displayStreamDetailsForm">
<div class="col-md-6">
<label for="input-date-created" class="form-label"
>Date Created</label
>
<input
value=""
type="email"
class="form-control"
id="input-date-created"
/>
</div>
<div class="col-md-6">
<label for="input-live-stream-link" class="form-label"
>Live Link</label
>
<input
value=""
type="text"
class="form-control hover"
id="input-live-stream-link"
/>
</div>
<div class="col-12">
<label for="input-server-link" class="form-label"
>Server Link</label
>
<input
value=""
type="text"
class="form-control hover"
id="input-server-link"
placeholder="https://example.com"
/>
</div>
<div class="col-12">
<label for="input-server-key" class="form-label"
>Server Key</label
>
<input
value=""
type="password"
class="form-control"
id="input-server-key"
placeholder="https://anotherexample.com"
/>
</div>
<div class="col-md-6">
<label for="input-broadcast-status" class="form-label"
>Broadcast Status</label
>
<input
value=""
type="text"
class="form-control"
id="input-broadcast-status"
/>
</div>
<div class="col-12">
<button type="submit" class="btn btn-warning">Update</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="stream-event-container" class="ratio stream-event-container" style="--bs-aspect-ratio: 50%">
<iframe
id="live-stream-iframe"
src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0"
title="Live stream event"
allowfullscreen
></iframe>
</div>
</div>
<script src="./src/app.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"
></script>
</body>
</html>