-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
109 lines (95 loc) · 2.96 KB
/
Copy pathoptions.html
File metadata and controls
109 lines (95 loc) · 2.96 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MeTube Downloader Settings</title>
<style>
:root {
--bg-color: #0f172a;
--card-bg: #1e293b;
--input-bg: #334155;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--accent: #8b5cf6;
--accent-hover: #7c3aed;
}
body {
font-family: 'Inter', -apple-system, sans-serif;
background-color: var(--bg-color);
color: var(--text-main);
padding: 40px;
max-width: 600px;
margin: 0 auto;
}
h1 {
border-bottom: 1px solid var(--input-bg);
padding-bottom: 16px;
margin-bottom: 32px;
}
.form-group {
margin-bottom: 24px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 600;
}
input[type="text"] {
width: 100%;
padding: 12px;
border-radius: 8px;
border: 1px solid var(--input-bg);
background-color: var(--card-bg);
color: var(--text-main);
font-size: 16px;
box-sizing: border-box;
}
input[type="text"]:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}
button {
background-color: var(--accent);
color: white;
border: none;
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
button:hover {
background-color: var(--accent-hover);
}
.status {
margin-left: 16px;
color: var(--text-muted);
font-size: 14px;
opacity: 0;
transition: opacity 0.3s;
}
.status.show {
opacity: 1;
}
</style>
</head>
<body>
<h1>Settings</h1>
<div class="form-group">
<label for="metube-url">MeTube Instance URL</label>
<input type="text" id="metube-url" placeholder="http://localhost:8081">
<p style="color: var(--text-muted); font-size: 13px; margin-top: 8px;">
Enter the full URL to your MeTube instance (e.g., http://192.168.1.10:8081).
</p>
</div>
<div class="form-group" style="display: flex; align-items: center; gap: 10px;">
<input type="checkbox" id="enable-notifications" style="width: auto; margin: 0;">
<label for="enable-notifications" style="margin: 0; cursor: pointer;">Enable Download Notifications</label>
</div>
<button id="save-btn">Save Settings</button>
<span id="status" class="status">Saved!</span>
<script src="options.js"></script>
</body>
</html>