-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
75 lines (68 loc) · 1.63 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>OpenAI Extension Options</title>
<style>
body {
font-family: Arial, sans-serif;
font-size: 16px;
margin: 0;
padding: 0;
}
header {
background-color: #07c;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
}
h1 {
margin: 0;
font-size: 1.5rem;
font-weight: normal;
}
main {
max-width: 800px;
margin: 2rem auto;
padding: 1rem;
border: 1px solid #ccc;
}
label {
display: block;
margin-bottom: 0.5rem;
}
input[type="text"] {
width: 100%;
padding: 0.5rem;
font-size: 1rem;
border: 1px solid #ccc;
}
button {
background-color: #07c;
color: #fff;
border: none;
padding: 0.5rem;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}
button:hover {
background-color: #056;
}
</style>
</head>
<body>
<header>
<h1>OpenAI Extension Options</h1>
<button id="save">Save</button>
</header>
<main>
<p>Enter your OpenAI API key:</p>
<label for="openai_key">API Key:</label>
<input type="text" id="openai_key">
</main>
<script src="options.js"></script>
</body>
</html>