echoip-slatecave/templates/index.html

30 lines
1.2 KiB
HTML
Raw Normal View History

2023-02-23 21:24:35 +01:00
{% extends "ip.html" %}
2023-02-18 13:09:22 +01:00
{% import "helpers.html" as helper %}
2023-02-23 21:24:35 +01:00
{% block title %}Your IP: {{ data.result.address }}{% endblock %}
{% block og_title %}What is my IP-Address?{% endblock %}
{% block h1 %}Your IPv{% if data.result.ip_info.is_v6_address %}6{% else %}4{% endif %}: <code>{{ data.result.address }}</code>{% endblock %}
{% block description %}
Look up Your and others public IP-Adresses. - {{ data.result.address }}
{% endblock %}
{% block og_path %}/{% endblock %}
{% block other_ip_button %}
<!-- TODO -->
{% endblock %}
{% block extra_content %}
<section>
<h2>Your User Agent</h2>
<p>The program you were using to download this page <a href="https://en.wikipedia.org/wiki/User_agent">identified itself</a> as <code>{{ data.user_agent }}</code></p>
<p>While this doesn't have to do anything with your public IP-Adress this might be useful information.</p>
2023-02-24 20:17:25 +01:00
<p>You can use the <code><a href="{{ extra.base_url}}/ua">/ua</a></code> endpoint to fetch this information with any client.</p>
2023-02-23 21:24:35 +01:00
</section>
<section>
<h2>Did you know?</h2>
2023-02-24 20:17:25 +01:00
<p>If you share this site and the Link gets a preview. The IP-Address after the dash is the one of the machine that generated that preview.</p>
2023-02-23 21:24:35 +01:00
</section>
{% endblock %}