echoip-slatecave/templates/index.html

17 lines
445 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Your IP: {{ data.query.ip }}</title>
</head>
<body>
<h1>Your IP-Address is: {{ data.query.ip }}</h1>
<p>Your requested format was: <b>{{format}}</b></p>
{% if hostname %}
<p>Hostname: <b>{{data.result.hostname}}</b></p>
{% endif %}
{% if data.result.asn %}
<p>This IP is part of <b>AS{{ data.result.asn.asn }}</b>, which belongs to: <i>{{ data.result.asn.name }}</i></p>
{% endif %}
</body>
</html>