Spaces:
Configuration error
Configuration error
<html> | |
<head> | |
<title>Site Info Scanner</title> | |
<style> | |
body { font-family: Arial, sans-serif; margin: 40px; } | |
input[type=text] { width: 300px; padding: 5px; } | |
input[type=submit] { padding: 5px 10px; } | |
pre { background: #f4f4f4; padding: 10px; border: 1px solid #ccc; } | |
</style> | |
</head> | |
<body> | |
<h1>Site Info Scanner</h1> | |
<form method="post"> | |
<input type="text" name="url" placeholder="https://example.com" required> | |
<input type="submit" value="Scan"> | |
</form> | |
{% if error %} | |
<p style="color: red;">{{ error }}</p> | |
{% endif %} | |
{% if result %} | |
<h2>Scan Results:</h2> | |
<pre>{{ result | tojson(indent=4) }}</pre> | |
{% endif %} | |
</body> | |
</html> |