forked from buildspace/buildspace-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
110 lines (110 loc) · 3.63 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="container">
<div class="text-center mb-6">
<h2 class="text-2xl">buildspace-os mod</h2>
</div>
<form id="form">
<div style="margin-bottom: 1rem" class="form-group">
<label for="title" class="label">custom title</label>
<input
id="title"
autocomplete="off"
placeholder="enter title here"
type="text"
/>
</div>
<div style="margin-bottom: 1rem" class="form-group">
<label for="image" class="label">background image url</label>
<input
id="image"
autocomplete="off"
placeholder="enter image url"
type="text"
/>
</div>
<div style="margin-bottom: 1rem" class="form-group">
<label for="video" class="label">background video url</label>
<input
id="video"
autocomplete="off"
placeholder="enter video url"
type="text"
/>
<div
style="
display: flex;
justify-content: space-between;
align-items: center;
font-size: small;
margin-top: 7px;
"
>
<div style="display: flex; align-items: center">
<label for="autoplay">autoplay</label>
<input id="autoplay" name="autoplay" type="checkbox" />
</div>
<div style="display: flex; align-items: center">
<label for="muted">muted</label>
<input id="muted" name="muted" type="checkbox" />
</div>
<div style="display: flex; align-items: center">
<label for="loop">loop</label>
<input id="loop" name="loop" type="checkbox" />
</div>
<div style="display: flex; align-items: center">
<label for="controls">controls</label>
<input id="controls" name="controls" type="checkbox" />
</div>
</div>
</div>
<div class="form-group">
<label for="html" class="label">inject html</label>
<textarea
id="html"
placeholder="inject custom html"
style="
font-family: system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
'Helvetica Neue', sans-serif;
"
type="text"
></textarea>
</div>
<div
style="
display: flex;
align-items: center;
justify-content: space-between;
"
>
<div>
<button id="save" type="submit" class="btn">save</button>
<button id="refresh" class="btn-secondary" style="margin-left: 5px">
refresh
</button>
</div>
<a
href="https://github.com/rudrodip/buildspace-os-mod"
target="_blank"
>
<img src="assets/github.svg" width="25" height="25" />
</a>
</div>
</form>
</div>
<script src="popup.js"></script>
</body>
</html>