RelatedDomains / index.html
Yasu777's picture
Create index.html
28c24a4
<!DOCTYPE html>
<html>
<head>
<title>Find Related Domains</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1 class="mt-5">Find Related Domains</h1>
<form action="/find-related-domains" method="get" class="mt-5">
<div class="form-group">
<label for="domain-input">Enter domain name:</label>
<input type="text" class="form-control" id="domain-input" name="domain" placeholder="example.com">
</div>
<button type="submit" class="btn btn-primary">Search</button>
</form>
{% if related_domains is defined %}
<h2 class="mt-5">Related domains:</h2>
{% if related_domains %}
<ul>
{% for related_domain in related_domains %}
<li>{{ related_domain }}</li>
{% endfor %}
</ul>
{% else %}
<p>No related domains found.</p>
{% endif %}
{% endif %}
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper-core.min.js"
integrity="sha384-8SrqeN7V0IPfo6Uj7LX/zi4br4MvZyo0fZFDjVNH8WmFyVKvCkKjegI+//5OFW6H"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
</body>
</html>