-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
31 lines (31 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>ChatGPT Email Reviewer</h1>
<div class="settings-section">
<p>Enter your OpenAI API key:</p>
<input type="password" id="apiKeyInput" placeholder="API Key" readonly>
<button id="editApiKeyButton">Edit</button>
<p>Enter the delimiter for your signature:</p>
<input type="text" id="signatureDelimiter" placeholder="--">
<button id="saveButton">Save Settings</button>
</div>
<p>Select a writing style:</p>
<form id="styleForm">
<label><input type="checkbox" name="style" value="friendly"> Friendly</label><br>
<label><input type="checkbox" name="style" value="business"> Business</label><br>
<label><input type="checkbox" name="style" value="authoritative"> Authoritative</label><br>
<label><input type="checkbox" name="style" value="personal"> Personal</label><br>
<label><input type="checkbox" name="style" value="casual"> Casual</label><br>
<label><input type="checkbox" name="style" value="serious"> Serious</label><br>
<label><input type="checkbox" name="style" value="lighthearted"> Lighthearted</label><br>
<br />
</form>
<button id="reviewButton" class="review-button">Review Email</button>
<script src="popup.js"></script>
<p><a href="https://github.com/sponsors/hummusonrails" target="_blank">Support this work by sponsoring me on GitHub</a></p>
</body>
</html>