Spaces:
Runtime error
Runtime error
Create index.html
Browse files- index.html +36 -0
index.html
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>Find Related Domains</title>
|
5 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
|
6 |
+
</head>
|
7 |
+
<body>
|
8 |
+
<div class="container">
|
9 |
+
<h1 class="mt-5">Find Related Domains</h1>
|
10 |
+
<form action="/find-related-domains" method="get" class="mt-5">
|
11 |
+
<div class="form-group">
|
12 |
+
<label for="domain-input">Enter domain name:</label>
|
13 |
+
<input type="text" class="form-control" id="domain-input" name="domain" placeholder="example.com">
|
14 |
+
</div>
|
15 |
+
<button type="submit" class="btn btn-primary">Search</button>
|
16 |
+
</form>
|
17 |
+
{% if related_domains is defined %}
|
18 |
+
<h2 class="mt-5">Related domains:</h2>
|
19 |
+
{% if related_domains %}
|
20 |
+
<ul>
|
21 |
+
{% for related_domain in related_domains %}
|
22 |
+
<li>{{ related_domain }}</li>
|
23 |
+
{% endfor %}
|
24 |
+
</ul>
|
25 |
+
{% else %}
|
26 |
+
<p>No related domains found.</p>
|
27 |
+
{% endif %}
|
28 |
+
{% endif %}
|
29 |
+
</div>
|
30 |
+
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
|
31 |
+
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper-core.min.js"
|
32 |
+
integrity="sha384-8SrqeN7V0IPfo6Uj7LX/zi4br4MvZyo0fZFDjVNH8WmFyVKvCkKjegI+//5OFW6H"
|
33 |
+
crossorigin="anonymous"></script>
|
34 |
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
|
35 |
+
</body>
|
36 |
+
</html>
|