-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
94 lines (93 loc) · 2.16 KB
/
options.html
File metadata and controls
94 lines (93 loc) · 2.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HDRezka Plugin Settings</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
padding: 20px;
background-color: #f4f7f6;
color: #333;
line-height: 1.6;
}
h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 30px;
}
div {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #555;
}
select {
width: 100%;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 6px;
background-color: #fff;
font-size: 16px;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}
button {
padding: 12px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
width: 100%;
margin-bottom: 10px;
}
button:hover {
background-color: #0056b3;
}
.secondary-button {
background-color: #f39c12;
}
.secondary-button:hover {
background-color: #d98200;
}
#status {
margin-top: 20px;
padding: 10px;
border-radius: 6px;
text-align: center;
font-size: 15px;
min-height: 20px;
}
.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
#favoritesFileInput {
display: none;
}
</style>
</head>
<body>
<h1>HDRezka Plugin Settings</h1>
<div>
<label for="nextEpisodeKey">Next episode key:</label>
<select id="nextEpisodeKey"></select>
</div>
<button id="saveButton">Save Settings</button>
<button id="exportFavoritesButton" class="secondary-button">Export Favorites</button>
<button id="importFavoritesButton" class="secondary-button">Import Favorites</button>
<input id="favoritesFileInput" type="file" accept="application/json,.json">
<div id="status"></div>
<script src="options.js"></script>
</body>
</html>