Create templates/index.html
Browse files- templates/index.html +33 -0
templates/index.html
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Flask Free VPN Proxy Browser</title>
|
6 |
+
<style>
|
7 |
+
body { font-family: Arial, sans-serif; margin: 20px; }
|
8 |
+
.container { max-width: 1000px; margin: 0 auto; }
|
9 |
+
form { margin-bottom: 20px; }
|
10 |
+
input { width: 70%; padding: 10px; font-size: 16px; }
|
11 |
+
button { padding: 10px; font-size: 16px; background: #007BFF; color: white; border: none; cursor: pointer; }
|
12 |
+
.error { color: red; margin: 20px 0; }
|
13 |
+
.content { white-space: pre-wrap; border: 1px solid #ddd; background: #f9f9f9; padding: 10px; max-height: 600px; overflow: auto; }
|
14 |
+
</style>
|
15 |
+
</head>
|
16 |
+
<body>
|
17 |
+
<div class="container">
|
18 |
+
<h1>Flask Browser via Free SOCKS5 Proxies</h1>
|
19 |
+
<form method="post">
|
20 |
+
<input name="url" placeholder="Enter URL (e.g., https://example.com)" required>
|
21 |
+
<button type="submit">Go</button>
|
22 |
+
</form>
|
23 |
+
|
24 |
+
{% if error %}
|
25 |
+
<div class="error"><strong>Error:</strong> {{ error }}</div>
|
26 |
+
{% endif %}
|
27 |
+
|
28 |
+
{% if content %}
|
29 |
+
<div class="content">{{ content }}</div>
|
30 |
+
{% endif %}
|
31 |
+
</div>
|
32 |
+
</body>
|
33 |
+
</html>
|