-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.html
More file actions
53 lines (51 loc) · 1.61 KB
/
Copy pathpopup.html
File metadata and controls
53 lines (51 loc) · 1.61 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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Proxy</title>
<link rel="stylesheet" href="popup.css">
</head>
<body>
<main class="container">
<header class="header">
<div class="logo-container">
<div class="logo" aria-hidden="true"></div>
<h1>Proxy</h1>
</div>
<div class="status-badge">
<span class="status-indicator"></span>
<span id="status-badge-text">Offline</span>
</div>
</header>
<section class="main-control">
<div class="state-copy">
<p class="state-label">Proxy State</p>
<p id="status-text" class="status-text">OFF</p>
<p id="status-detail" class="status-detail">Direct connection.</p>
</div>
<label class="switch" aria-label="Toggle proxy">
<input type="checkbox" id="proxy-toggle">
<span class="slider"></span>
</label>
</section>
<section class="config-section">
<div class="section-head">
<h2>Proxy Endpoint</h2>
</div>
<div class="fields">
<div class="input-group">
<label for="host">Host</label>
<input type="text" id="host" value="127.0.0.1" placeholder="127.0.0.1">
</div>
<div class="input-group">
<label for="port">Port</label>
<input type="number" id="port" value="8080" placeholder="8080" min="1" max="65535">
</div>
</div>
<button id="save-btn" class="save-btn">Save Configuration</button>
</section>
</main>
<script src="popup.js"></script>
</body>
</html>