-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
62 lines (61 loc) · 1.48 KB
/
options.html
File metadata and controls
62 lines (61 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Extension Options</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
max-width: 600px;
margin: 0 auto;
}
h1 {
color: #4285f4;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"] {
width: 100%;
padding: 8px;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
background-color: #4285f4;
color: white;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #3367d6;
}
.success-message {
color: green;
margin-top: 10px;
display: none;
}
</style>
</head>
<body>
<h1>TextBrief Settings</h1>
<div class="form-group">
<label for="api-key">Gemini Api Key</label>
<input type="text" id="api-key" placeholder="Enter your Gemini Api Key"/>
<p> You can get an Api Key from
<a href="https://aistudio.google.com/app/apikey">Google AI Studio</a>
</p>
<button id="save-button">Save Settings</button>
<p id="success-message" class="success-message">Settings saved successfully!</p>
</div>
<script src="options.js"></script>
</body>
</html>