1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"GeoIP for %s") % addr }}{% end block %}
6 <div class=
"container">
7 <section class=
"features-content col-12">
8 <h2 class=
"display-2 text-center">{{ _(
"GeoIP for %s") % addr }}
</h2>
12 <div class=
"col-lg-4 col-md-4">
15 <dt>{{ _(
"Autonomous System") }}
</dt>
16 <dd>{{ peer.asn }}
</dd>
19 <dt>{{ _(
"Country") }}
</dt>
21 {% if peer.country_name %}
22 {{ peer.country_name }} ({{ peer.country }})
24 {{ peer.country_name }}
29 <dt>{{ _(
"City") }}
</dt>
30 <dd>{{ peer.city }}
</dd>
32 {% if peer.postal_code %}
33 <dt>{{ _(
"Postal Code") }}
</dt>
34 <dd>{{ peer.postal_code }}
</dd>
40 <h4>{{ _(
"Preferred Mirrors") }}
</h4>
43 {% for mirror in mirrors %}
45 <a href=
"https://mirrors.ipfire.org/mirror/{{ mirror.hostname }}">
48 <span class=
"pull-right">
49 {{ _(
"%.0f km") % mirror.distance_to(peer) }}
57 <div class=
"col-lg-8 col-md-8">
58 {% module Map(peer.latitude, peer.longitude) %}
62 <div class=
"alert alert-info">
63 <p>{{ _(
"No GeoIP information could be found for the IP address '%s'.") % addr }}
</p>