-
Notifications
You must be signed in to change notification settings - Fork 21
/
popup.html
63 lines (55 loc) · 1.58 KB
/
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
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
<!DOCTYPE html>
<html>
<head>
<title>GPT-3 prompter</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
border-radius: 5px;
}
.input {
width: 300px;
height: 30px;
margin: 5px 10px;
padding: 5px;
background-color: white;
color: black;
border-radius: 3px;
border: 1px solid #6b6b6b;
}
.button {
font-size: 16px;
font-family: arial, sans-serif;
background-color: #fff;
color: #000;
width: fit-content;
height: 30px;
margin: 0px 10px;
padding: 5px 10px;
border: 1px solid #dae1e8;
border-radius: 3px;
align-self: flex-start;
}
.button:hover {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<div class="container">
<input class="input" id="api_key" placeholder="Enter your API key" autocomplete="off">
<!-- div row flow -->
<div style="display: flex; flex-direction: row; align-items: center; padding: 5px; margin: 5px 10px;">
<button class="button" id="open_api_keys">Get API key</button>
<button class="button" id="save">Save</button>
</div>
<label>To open the prompter press Alt+S</label>
</div>
<script src="popup.js"></script>
</body>
</html>