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>
22 <td>{{ _(
"Last update") }}
</td>
23 <td>{{ locale.format_date(item.last_update, full_format=True) }}
</td>
26 <td>{{ _(
"Owner") }}
</td>
27 <td>{{ item.owner }}
</td>
29 {% if item.prefer_for_countries %}
31 <td>{{ _(
"Preferred for") }}:
</td>
32 <td>{{ locale.list(item.prefer_for_countries_names) }}
</td>
37 <a class=
"btn pull-right" href=
"{{ item.url }}">{{ _(
"Go to mirror") }}
</a>
39 <br style=
"clear: both;">
42 <h3>{{ _(
"Mirror location") }}
</h3>
44 {{ _(
"The mirror <em>%s</em> is located in %s.") % (item.hostname, item.location_str) }}
48 src=
"http://maps.google.com/maps/api/staticmap?center={{ item.coordiante_str }}&size=640x280&zoom=6&markers=color:blue|label:.|{{ item.coordiante_str }}&sensor=false"
49 alt=
"{{ _("Location of the server
") }}" />