echoip-slatecave/templates/index.html

17 lines
445 B
HTML
Raw Normal View History

2023-02-11 21:46:55 +01:00
<!DOCTYPE html>
<html>
<head>
2023-02-12 17:35:32 +01:00
<title>Your IP: {{ data.query.ip }}</title>
2023-02-11 21:46:55 +01:00
</head>
<body>
2023-02-12 17:35:32 +01:00
<h1>Your IP-Address is: {{ data.query.ip }}</h1>
2023-02-11 21:46:55 +01:00
<p>Your requested format was: <b>{{format}}</b></p>
2023-02-12 01:24:39 +01:00
{% if hostname %}
2023-02-12 17:35:32 +01:00
<p>Hostname: <b>{{data.result.hostname}}</b></p>
2023-02-12 01:24:39 +01:00
{% 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 %}
2023-02-11 21:46:55 +01:00
</body>
</html>