-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
69 lines (66 loc) · 1.52 KB
/
options.html
File metadata and controls
69 lines (66 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
<!DOCTYPE html>
<html>
<head>
<title>AI Summary Settings</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>AI Summary 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://makersuite.google.com/app/apikey" target="_blank"
>Google AI Studio</a
>
</p>
</div>
<button id="save-button">Save Settings</button>
<p id="success-message" class="success-message">
Settings saved successfully!
</p>
<script src="options.js"></script>
</body>
</html>