-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.66 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<script defer src="/_vercel/insights/script.js"></script>
<link rel="stylesheet" href="style.css" />
<title>ChainSwitch</title>
<meta name="description" content="Simple network switcher." />
</head>
<body>
<div class="window">
<div class="title-bar">
<div class="title-bar-text">chainswitch.exe</div>
</div>
<div class="window-body">
<p>Select a network. If URL is provided you will be redirected after switching.</p>
<div class="window-actions">
<select id="chainSelect"></select>
<div class="url-input">
<span id="urlTag">https://</span><input type="text" id="redirectUrl" placeholder="sushi.com/swap" />
</div>
<div class="button-container">
<button id="switchNetwork" class="retro-btn">Chain Switch</button>
<div class="button-row">
<button id="copyLink" class="retro-btn">Copy ChainSwitch URL</button>
<button id="goToLink" class="retro-btn">Go to Link</button>
</div>
</div>
</div>
</div>
</div>
<div id="alertModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<div id="alertMessage"></div>
<button id="closeAlert" class="retro-btn">Close</button>
</div>
</div>
<script src="chains.js"></script>
<script src="levenshtein.js"></script>
<script src="script.js"></script>
</body>
</html>