-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (42 loc) · 1.42 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>SnipChat</title>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head>
<body>
<div class="header">
<button id="toggle-recording" class="toggle-recording">Start Recording</button>
<button id="capture" class="capture-toggle">Capture: Off</button>
<button id="mute-button">Mute</button>
<button id="skip-button">Stop</button>
<button id="start-snipping">Snip</button>
<button id="clear-chat">Clear Chat</button>
</div>
<div class="chat-container">
<div id="response-container"></div>
<div class="input-area">
<textarea id="prompt-input" placeholder="Enter your prompt here..."></textarea>
<button id="send-prompt">Send</button>
</div>
</div>
<!-- Settings Button -->
<button id="settings-button" class="settings-button">
⚙️
</button>
<!-- Settings Modal -->
<div id="settings-modal" class="modal">
<div class="modal-content">
<span class="close-button">×</span>
<h2>Settings</h2>
<label for="api-key-input">API Key:</label>
<input type="text" id="api-key-input" placeholder="Enter your API key here" />
<button id="toggle-dark-mode" class="dark-mode-toggle">🌙</button>
<label for="window-select-modal">Select Window:</label>
<select id="window-select"></select>
<button id="save-settings">Save</button>
</div>
</div>
<script src="renderer.js"></script>
</body>
</html>