-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathoptions.html
More file actions
158 lines (125 loc) · 3.51 KB
/
options.html
File metadata and controls
158 lines (125 loc) · 3.51 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<title>AI Summary Settings</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
font-family: Arial, sans-serif;
padding: 20px;
max-width: 600px;
margin: 0 auto;
font-family: "Outfit", sans-serif;
}
h1 {
background: -webkit-linear-gradient(#1e2dd4, #23b761);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}
.form-group {
margin-bottom: 20px;
border: 2px solid red;
padding: 32px;
background-image: linear-gradient(-11deg, #1c1c1c 37%, #2c2c2e 76%);
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: red;
}
input[type="text"] {
width: 100%;
padding: 8px;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 4px;
}
.container {
display: flex;
flex-direction: column;
height: 100vh;
align-items: center;
}
button {
background-color: #4285f4;
color: white;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
margin-top: 10px;
}
button:hover {
background-color: #3367d6;
}
.success-message {
color: green;
margin-top: 10px;
display: none;
}
p >i {
padding: 10px;
}
.fa-apple{
font-size: 20px;
}
.new{
display: flex;
}
.macicon {
margin-left: 380px;
}
.fa-circle {
cursor: pointer;
}
.hii {
margin-top: 20px;
}
a{
text-decoration: none;
}
a:hover{
color: red;
}
</style>
</head>
<body>
<div class="container">
<div class="form-group">
<div class="new">
<i class="fa-brands fa-apple" style="color: #f7d204;"></i>
<div class="macicon">
<i class="fa-solid fa-circle " style="color: red; gap: 2px;"></i>
<i class="fa-solid fa-circle" style="color: yellow; margin-left: 2px;"></i>
<i class="fa-solid fa-circle" style="color: green; margin-left: 2px;" ></i>
</div>
</div>
<h1>AI Summary Settings</h1>
<label for="api-key">Gemini API Key:</label>
<input
type="text"
id="api-key"
placeholder="Enter your Gemini API key"
/>
<div class="hii">
<a href="https://aistudio.google.com/app/apikey" target="_blank" onclick="openMaximized()">
<i class="fa-brands fa-windows" style="padding: 2px;"></i>
Click to get your API key</a><br>
<button id="save-button">
<i class="fa-solid fa-floppy-disk"></i>
Save
</button>
</div>
<p id="success-message" class="success-message">
Settings saved successfully!
</p>
</div>
</div>
<script src="options.js"></script>
</body>
</html>