-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
64 lines (61 loc) · 1.4 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
<!DOCTYPE html>
<html>
<head>
<title>设置</title>
<meta charset="utf-8" />
<style>
body {
width: 300px;
font-family: Arial, sans-serif;
background-color: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
padding: 10px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
border: 1px solid #ccc;
}
h1 {
font-size: 18px;
margin-bottom: 15px;
text-align: center;
color: #333;
}
label {
display: block;
margin-top: 10px;
color: #333;
}
input, select {
width: calc(100% - 22px);
padding: 5px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
margin-top: 15px;
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<h1>设置</h1>
<label for="website">Myth URL (http://127.0.0.1:14250/):</label>
<input type="text" id="website" placeholder="输入Myth的URL">
<label for="idCount">生成数量:</label>
<input type="number" id="idCount" min="1" max="10" value="5">
<button id="saveSettings">保存设置</button>
<script src="popup.js"></script>
</body>
</html>