-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
30 lines (27 loc) · 946 Bytes
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Popup</title>
<style>
body {
width: 400px;
padding: 10px;
}
</style>
</head>
<body>
<h1>Settings</h1>
<form id="settingsForm">
<label for="openaiApiKey">OPENAI_API_KEY:</label>
<input type="text" id="openaiApiKey" name="openaiApiKey" style="width: 100%;"><br><br>
<label for="systemMessage">SYSTEM_MESSAGE:</label>
<textarea id="systemMessage" name="systemMessage" rows="2" style="width: 100%;"></textarea><br><br>
<label for="maxTokenLength">Max Token Length:</label>
<input type="number" id="maxTokenLength" name="maxTokenLength"><br><br>
<button type="submit" id="saveBtn">Save</button>
</form>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>