-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
27 lines (27 loc) · 937 Bytes
/
options.html
File metadata and controls
27 lines (27 loc) · 937 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Tap Ctrl for Escape</title>
<style>
body { font-family: system-ui, sans-serif; padding: 15px; min-width: 300px; }
label { display: block; margin-bottom: 10px; font-weight: bold; }
input { margin-left: 10px; padding: 5px; width: 80px; }
button { margin-top: 15px; padding: 8px 16px; cursor: pointer; background-color: #007bff; color: white; border: none; border-radius: 4px; }
button:hover { background-color: #0056b3; }
#status { margin-top: 10px; color: green; min-height: 20px; font-size: 0.9em; }
</style>
</head>
<body>
<label>
Control Tap Timeout (ms):
<input type="number" id="timeout" min="100" max="5000">
</label>
<label>
Keepalive Interval (seconds):
<input type="number" id="keepAliveInterval" min="5" max="300">
</label>
<button id="save">Save</button>
<div id="status"></div>
<script src="options.js"></script>
</body>
</html>