-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (87 loc) · 6.2 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>University Proxy Switcher</title>
<link href="./dist/output.css" rel="stylesheet">
</head>
<body>
<main class="flex flex-col items-center justify-center min-h-screen bg-[#ffffff] text-black p-8">
<div class="rounded-lg border bg-card text-card-foreground shadow-sm w-full max-w-xl mx-auto" data-v0-t="card">
<div class="flex flex-col space-y-1.5 p-6">
<h3 class="font-semibold tracking-tight text-3xl text-center my-4">University Proxy Switcher</h3>
</div>
<div class="p-6 flex flex-col items-center justify-center space-y-4">
<p class="text-lg text-center">Use the buttons below to manage your proxy settings.</p>
<button id="node-on"
class="inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-primary/90 h-10 w-full p-4 bg-blue-600 text-white">
Switch Node Proxy
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="ml-2 h-4 w-4">
<path d="M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5"></path>
<path d="M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5"></path>
<circle cx="12" cy="12" r="3"></circle>
<path d="m18 22-3-3 3-3"></path>
<path d="m6 2 3 3-3 3"></path>
</svg>
</button>
<button id="node-off"
class="inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-primary/90 h-10 w-full p-4 bg-red-600 text-white">
Turn Off Node Proxy
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="ml-2 h-4 w-4">
<line x1="2" x2="22" y1="2" y2="22"></line>
<path d="M10.41 10.41a2 2 0 1 1-2.83-2.83"></path>
<line x1="13.5" x2="6" y1="13.5" y2="21"></line>
<line x1="18" x2="21" y1="12" y2="15"></line>
<path d="M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59"></path>
<path d="M21 15V5a2 2 0 0 0-2-2H9"></path>
</svg>
</button>
<button id="git-on"
class="inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-primary/90 h-10 w-full p-4 bg-green-600 text-white">
Git Proxy
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="ml-2 h-4 w-4">
<circle cx="12" cy="12" r="3"></circle>
<line x1="3" x2="9" y1="12" y2="12"></line>
<line x1="15" x2="21" y1="12" y2="12"></line>
</svg>
</button>
<button id="git-off"
class="inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-primary/90 h-10 w-full p-4 bg-yellow-600 text-white">
Turn Off Git Proxy
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="ml-2 h-4 w-4">
<line x1="2" x2="22" y1="2" y2="22"></line>
<path d="M10.41 10.41a2 2 0 1 1-2.83-2.83"></path>
<line x1="13.5" x2="6" y1="13.5" y2="21"></line>
<line x1="18" x2="21" y1="12" y2="15"></line>
<path d="M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59"></path>
<path d="M21 15V5a2 2 0 0 0-2-2H9"></path>
</svg>
</button>
</div>
</div>
<footer class="mt-auto flex justify-center w-full">
<a class="text-blue-600 underline" href="https://github.com/lakpahana/uni-proxy-switcher-app">
View on GitHub
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="ml-2 h-4 w-4">
<path
d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4">
</path>
<path d="M9 18c-4.51 2-5-2-7-2"></path>
</svg> -->
</a>
</footer>
</main>
<script src="renderer.js"></script>
</body>
</html>