1 {% extends
"base-1.html" %}
3 {% block title %}{{ _(
"Mirror %s") % item.hostname }}{% end block %}
6 <div class=
"page-header">
7 {% if item.state ==
"UP" %}
8 <span class=
"label label-success pull-right">{{ _(
"Up") }}
</span>
9 {% elif item.state ==
"DOWN" %}
10 <span class=
"label label-failure pull-right">{{ _(
"Down") }}
</span>
11 {% elif item.state ==
"OUTOFSYNC" %}
12 <span class=
"label label-warning pull-right">{{ _(
"Out of sync") }}
</span>
14 <span class=
"label label-info pull-right">{{ _(
"Unknown") }}
</span>
17 <h1>{{ item.hostname }}
</h1>
21 <div class=
"col-lg-4 col-md-4">
23 <dt>{{ _(
"Owner") }}
</dt>
24 <dd>{{ item.owner }}
</dd>
27 {% if item.location_str %}
30 <dt>{{ _(
"Location") }}
</dt>
31 <dd>{{ item.location_str }}
</dd>
32 {% elif item.location %}
35 {% if item.country_name %}
36 <dt>{{ _(
"Country") }}
</dt>
37 <dd>{{ item.country_name }}
</dd>
40 {% if item.location.city %}
41 <dt>{{ _(
"City") }}
</dt>
42 <dd>{{ item.location.city }}
</dd>
46 {% if item.prefer_for_countries %}
47 <dt>{{ _(
"Preferred for") }}
</dt>
49 {{ locale.list(item.prefer_for_countries_names) }}
53 {% if client_distance %}
54 <dt>{{ _(
"Estimated distance to you") }}
</dt>
55 <dd>{{
"%.0fkm" % client_distance }}
</dd>
61 <dt>{{ _(
"Autonomous System") }}
</dt>
62 <dd>{{ item.asn }}
</dd>
65 <dt>{{ _(
"IP Addresses") }}
</dt>
67 {% for addr in item.addresses6 + item.addresses4 %}
75 <dt>{{ _(
"Last updated") }}
</dt>
77 <abbr title=
"{{ locale.format_date(item.last_update, full_format=True) }} UTC">
78 {{ locale.format_date(item.last_update, relative=True) }}
86 <a class=
"btn btn-default" href=
"{{ item.url }}">{{ _(
"Go to mirror") }}
</a>
90 <div class=
"col-lg-8 col-md-8">
91 {% if item.location %}
92 {% module Map(item.latitude, item.longitude) %}
93 <p class=
"text-muted ac">
94 {{ _(
"The location of the mirror server is estimated by the IP address.") }}
97 <p class=
"ac text-muted">
98 {{ _(
"The location of this mirror server could not be estimated.") }}