echoip-slatecave/templates/asn.html

32 lines
921 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% import "helpers.html" as helper %}
{% import "links.html" as links %}
{% block title %}AS{{ data.asn }}{% endblock %}
{% block og_title %}AS{{ data.asn }}{% endblock %}
{% block h1 %}<code>AS{{ data.asn }}</code>{% endblock %}
{% block og_path %}/?query=AS{{ data.asn }}{% endblock %}
{% block content %}
{% if data.result.idn %}
{% set idn = data.result.idn %}
<section>
<h2>Internationalized Domain Names</h2>
<p>Because of some limitations the DNS has, Unicode caracters need a special encoding.</p>
{% if idn.original_was == "unicode" %}
<p>Your Unicode query has been encoded as the <i>IDN</i> <code>{{ idn.idn }}</code> to generate the results below.</p>
{% else %}
<p>Your <i>IDN</i> would decode to <code>{{ idn.unicode }}</code>.</p>
{% endif %}
</section>
{% endif %}
<section>
<h2>Other Services</h2>
{{ links::asn_links(asn=data.asn) }}
</section>
{% endblock %}