-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoptions.html
More file actions
28 lines (28 loc) · 1.2 KB
/
options.html
File metadata and controls
28 lines (28 loc) · 1.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebSocket Monitor Settings</title>
<style>
body { font-family: Arial, sans-serif; padding: 20px; }
h3 { margin-top: 0; }
.settings-section { margin-bottom: 20px; }
label { display: block; margin-bottom: 5px; }
input[type="text"], select { width: 100%; padding: 8px; margin-bottom: 10px; border-radius: 5px; border: 1px solid #ccc; }
button { background-color: #4CAF50; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; }
button:hover { background-color: #45a049; }
</style>
</head>
<body>
<h3>WebSocket Monitor Settings</h3>
<div class="settings-section">
<label for="forward-url">Forwarding URL:</label>
<input type="text" id="forward-url" placeholder="ws://localhost:4444" />
<label for="ws-password">WebSocket Password:</label>
<input type="text" id="ws-password" placeholder="password" />
</div>
<button id="save-settings">Save Settings</button>
<script src="options.js"></script>
</body>
</html>