-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
70 lines (66 loc) · 1.49 KB
/
popup.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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Getting Started Extension's Popup</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
width: 400px;
}
.display-table {
display: table;
width: 100%;
}
.display-row {
display: table-row;
}
.display-cell {
display: table-cell;
padding-bottom: 10px;
vertical-align: middle;
}
.display-cell input[type="text"] {
width: 100%;
}
.display-cell input[type="checkbox"] {
margin-left: 0;
}
.display-cell:first-child {
width: 15%;
}
</style>
</head>
<body>
<div class="display-table">
<div class="display-row">
<div class="display-cell">
<label for="enableExtension">Enabled:</label>
</div>
<div class="display-cell">
<input type="checkbox" id="enableExtension"/>
</div>
</div>
<div class="display-row">
<div class="display-cell">
<label>Format:</label>
</div>
<div class="display-cell">
<input type="text" id="youtube-obs-name-format"/>
</div>
</div>
<div class="display-row">
<div class="display-cell">
</div>
<div class="display-cell">
(Write <b>%TITLE%</b> and <b>%ARTIST%</b> where you would like the video's title and artist/uploader name to appear.)
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>