Repository navigation
Expand file tree
/
Copy pathpopup.html
More file actions
65 lines (56 loc) · 1.86 KB
/
Copy pathpopup.html
File metadata and controls
65 lines (56 loc) · 1.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>React Annotator</title>
<link rel="stylesheet" href="popup.css">
</head>
<body>
<div class="popup-container">
<!-- Header -->
<header class="header">
<img src="icons/icon-48.svg" alt="React Annotator" class="header-icon">
<h1 class="header-title">React Annotator</h1>
</header>
<!-- Toggle Button -->
<button id="toggle-btn" class="toggle-btn">
<span class="toggle-icon">✎</span>
<span id="toggle-text">Start Annotating</span>
</button>
<div class="divider"></div>
<!-- Annotations Section -->
<section class="annotations-section">
<div class="section-header">
<h2 class="section-title">Annotations on this page</h2>
<span id="annotation-count" class="count-badge">0</span>
</div>
<div id="annotations-list" class="annotations-list">
<div id="empty-state" class="empty-state">
<p>No annotations yet.</p>
<p class="empty-hint">Click 'Start Annotating' to begin.</p>
</div>
</div>
</section>
<div class="divider"></div>
<!-- Export Section -->
<section class="export-section">
<button id="copy-claude-btn" class="export-btn primary">
<span class="btn-icon">📋</span>
Copy for Claude
</button>
<button id="export-all-btn" class="export-btn secondary">
<span class="btn-icon">📂</span>
Export All Pages
</button>
</section>
<!-- Footer -->
<footer class="footer">
<kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd> to toggle annotation mode
</footer>
<!-- Toast notification -->
<div id="toast" class="toast" aria-live="polite"></div>
</div>
<script src="popup.js"></script>
</body>
</html>