-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.html
More file actions
53 lines (48 loc) · 1.33 KB
/
popup.html
File metadata and controls
53 lines (48 loc) · 1.33 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
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 320px;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 14px;
}
h2 { margin: 0 0 12px 0; font-size: 16px; }
label { display: block; margin-bottom: 4px; font-weight: 500; }
input {
width: 100%;
padding: 8px;
margin-bottom: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background: #2563eb;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
button:hover { background: #1d4ed8; }
button:disabled { background: #9ca3af; cursor: not-allowed; }
#status { margin-top: 12px; font-size: 13px; color: #666; }
#status.error { color: #dc2626; }
#status.success { color: #16a34a; }
</style>
</head>
<body>
<h2>📖 Solveit Reader</h2>
<label for="instance">Solveit Instance URL</label>
<input type="text" id="instance" placeholder="http://localhost:6001">
<label for="folder">Folder</label>
<input type="text" id="folder" placeholder="readings">
<button id="import">Import to Solveit</button>
<div id="status"></div>
<script src="popup.js"></script>
</body>
</html>