|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
3 | | -<head> |
4 | | - <link rel="stylesheet" href="styles.css"> |
5 | | -</head> |
6 | | -<body> |
7 | | - <h1>ChatGPT Email Reviewer</h1> |
8 | | - <p>Select a writing style:</p> |
9 | | - <form id="styleForm"> |
10 | | - <label><input type="checkbox" name="style" value="friendly"> Friendly</label><br> |
11 | | - <label><input type="checkbox" name="style" value="business"> Business</label><br> |
12 | | - <label><input type="checkbox" name="style" value="authoritative"> Authoritative</label><br> |
13 | | - <label><input type="checkbox" name="style" value="personal"> Personal</label><br> |
14 | | - <label><input type="checkbox" name="style" value="casual"> Casual</label><br> |
15 | | - <label><input type="checkbox" name="style" value="serious"> Serious</label><br> |
16 | | - <label><input type="checkbox" name="style" value="lighthearted"> Lighthearted</label><br> |
17 | | - </form> |
18 | | - |
19 | | - <p>Enter your OpenAI API key:</p> |
20 | | - <input type="text" id="apiKeyInput" placeholder="API Key"> |
21 | | - <p>Enter the delimiter for your signature:</p> |
22 | | - <input type="text" id="signatureDelimiter" placeholder="--"> |
23 | | - <p></p> |
24 | | - <button id="saveButton">Save API Key</button> |
25 | | - <button id="reviewButton">Review Email</button> |
26 | | - <script src="popup.js"></script> |
27 | | - |
28 | | - <p><a href="https://github.com/sponsors/bencgreenberg" target="_blank">Support this work by sponsoring me on GitHub</a></p> |
29 | | -</body> |
| 3 | + <head> |
| 4 | + <link rel="stylesheet" href="styles.css"> |
| 5 | + </head> |
| 6 | + <body> |
| 7 | + <h1>ChatGPT Email Reviewer</h1> |
| 8 | + <div class="settings-section"> |
| 9 | + <p>Enter your OpenAI API key:</p> |
| 10 | + <input type="password" id="apiKeyInput" placeholder="API Key" readonly> |
| 11 | + <button id="editApiKeyButton">Edit</button> |
| 12 | + <p>Enter the delimiter for your signature:</p> |
| 13 | + <input type="text" id="signatureDelimiter" placeholder="--"> |
| 14 | + <button id="saveButton">Save Settings</button> |
| 15 | + </div> |
| 16 | + <p>Select a writing style:</p> |
| 17 | + <form id="styleForm"> |
| 18 | + <label><input type="checkbox" name="style" value="friendly"> Friendly</label><br> |
| 19 | + <label><input type="checkbox" name="style" value="business"> Business</label><br> |
| 20 | + <label><input type="checkbox" name="style" value="authoritative"> Authoritative</label><br> |
| 21 | + <label><input type="checkbox" name="style" value="personal"> Personal</label><br> |
| 22 | + <label><input type="checkbox" name="style" value="casual"> Casual</label><br> |
| 23 | + <label><input type="checkbox" name="style" value="serious"> Serious</label><br> |
| 24 | + <label><input type="checkbox" name="style" value="lighthearted"> Lighthearted</label><br> |
| 25 | + <br /> |
| 26 | + </form> |
| 27 | + <button id="reviewButton" class="review-button">Review Email</button> |
| 28 | + <script src="popup.js"></script> |
| 29 | + <p><a href="https://github.com/sponsors/bencgreenberg" target="_blank">Support this work by sponsoring me on GitHub</a></p> |
| 30 | + </body> |
30 | 31 | </html> |
0 commit comments