-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (36 loc) · 1.69 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
<!DOCTYPE html>
<html>
<head>
<title>Widgets</title>
<link href="default.css" rel="stylesheet">
<link href="favicon.ico" rel="icon">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="widgets.js"></script>
</head>
<body>
<h1 id="heading"><img src="header.dark.svg"/><span>widgets</span></h1>
<div id="widgets">
<div id="buttons">
<button onclick="tab(event, 'chat')"><img src="chat.svg" />Chat <span>›</span></button>
<button onclick="tab(event, 'stream')"><img src="stream.svg" />Stream <span>›</span></button>
</div>
<div class="options" id="chat">
<form name="chatform" target="_blank" onsubmit="chat(channel)">
<h1>Channel</h1><br>
<label for="channel">lightspeed.tv/</label><input required type="text" id="channel" placeholder="username" oninput="setCustomValidity('')" oninvalid="this.setCustomValidity('You need to set a channel!')"><br><br>
<h1>Additional options</h1><br>
<input type="checkbox" id="transparent" name="transparent" value="true">
<label for="transparent">Transparent background</label><br>
<input type="checkbox" id="hide_message_box" name="hide_message_box" value="true">
<label for="hide_message_box">Hide send message box</label><br>
<input type="checkbox" id="hide_scrollbar" name="hide_scrollbar" value="true">
<label for="hide_scrollbar">Hide scrollbar</label><br><br>
<input type="submit" value="Open chat widget"><br>
</form>
</div>
<div class="options" id="stream">
<h1>Coming soon</h1><br>
<span>Stream widgets aren't available yet.<br>Blame insert</span>
</div>
</div>
</body>