-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.html
42 lines (42 loc) · 1.36 KB
/
settings.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
<!DOCTYPE html>
<html>
<head>
<title>SummerIce Settings</title>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&display=swap" rel="stylesheet" />
</head>
<body>
<h1 style="margin: 20px 0">SummerIce ☀️🧊 Settings</h1>
<div id="content" style="width: 740px; padding: 10px 20px 15px 20px">
<form id="settingsForm">
<div>
<h3>Update your OpenAI API Key</h3>
<div style="margin: 25px 0">
<label for="apiKey"><strong>OpenAI API Key:</strong></label>
<input type="text" id="apiKey" name="apiKey" placeholder="sk-xxxxxxxxxxxxxxxxx" size="52" />
</div>
</div>
<button type="submit" value="Submit">Update API key</button>
</form>
<div id="message"></div>
</div>
<footer
style="
margin-top: 40px;
color: #ffffff;
background-color: rgba(255, 255, 255, 0.2);
padding: 2px 20px;
border-radius: 5px;
"
>
<p>
Feedback, feature requests, ideas, or just want a chat:
<a href="mailto:[email protected]" style="color: #ffff00; text-decoration: underline"
>
</p>
</footer>
<script src="settings.js"></script>
</body>
</html>