-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathoptions.html
More file actions
75 lines (68 loc) · 1.52 KB
/
options.html
File metadata and controls
75 lines (68 loc) · 1.52 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<title>WordPress Admin Switcher Options</title>
<style>
body {
font-family: Arial, sans-serif;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.heading-container {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
.heading-container h1 {
color: #404040;
margin: 0;
}
label {
display: flex;
align-items: center;
}
input {
cursor: pointer;
}
button {
background-color: #404040;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
padding: 10px 10px;
margin-top: 20px;
font-size: 16px;
}
</style>
</head>
<body>
<div class="container">
<div class="heading-container">
<img
id="plugin-icon"
src="images/icon-128.png"
alt="WordPress Admin Switcher Icon"
width="34"
height="34"
/>
<h1>WordPress Admin Switcher</h1>
</div>
<h2>Options</h2>
<label>
<input type="checkbox" id="openInNewTab" />
Open admin page in new tab
</label>
<div>
<button id="save" class="save-button">Save</button>
</div>
</div>
<script src="options.js"></script>
</body>
</html>