-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.html
More file actions
66 lines (61 loc) · 2.06 KB
/
sidebar.html
File metadata and controls
66 lines (61 loc) · 2.06 KB
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
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ChromePilot</title>
<link rel="stylesheet" href="sidebar.css">
<script src="marked.min.js"></script>
</head>
<body>
<div class="container">
<div class="header">
<div class="title">
<img src="icon.png" alt="ChromePilot" class="logo">
<h1>ChromePilot</h1>
</div>
<button id="resetBtn" class="reset-btn" title="Reset conversation">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/>
<path d="M21 3v5h-5"/>
<path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/>
<path d="M3 21v-5h5"/>
</svg>
</button>
</div>
<div class="context-controls">
<div class="toggle-group">
<label class="toggle-switch">
<input type="checkbox" id="toggleScreenshot" checked>
<span class="toggle-slider"></span>
</label>
<span class="toggle-label">Screenshot</span>
</div>
</div>
<div id="chatContainer" class="chat-container">
<div class="welcome-message">
<img src="icon.png" alt="ChromePilot" class="welcome-logo">
<h2>Welcome to ChromePilot</h2>
<p>I can see your screen and help you navigate the web. Ask me anything!</p>
</div>
</div>
<div class="input-container">
<textarea
id="userInput"
placeholder="Ask me anything about this page..."
rows="1"
></textarea>
<button id="sendBtn" class="send-btn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 2L11 13"/>
<path d="M22 2l-7 20-4-9-9-4 20-7z"/>
</svg>
</button>
</div>
<div id="statusBar" class="status-bar">
<span id="statusText">Ready</span>
</div>
</div>
<script src="sidebar.js"></script>
</body>
</html>