1 <table class=
"table table-striped">
2 {% for mirror in mirrors %}
5 {% if mirror.country_code %}
6 <img src=
"{{ static_url("images/flags/%s.png
" % mirror.country_code.lower()) }}" alt=
"{{ mirror.country_code }}" />
8 {% if mirror.country_name %}
9 <abbr title=
"{{ mirror.country_name }}">{{ mirror.country_code }}
</abbr>
11 {{ mirror.country_code }}
13 {% if mirror in preferred_mirrors %}*{% end %}
17 {% if mirror.state ==
"UP" %}
18 <td style=
"background-color: green;">
21 {% elif mirror.state ==
"DOWN" %}
22 <td style=
"background-color: red;">
25 {% elif mirror.state ==
"OUTOFSYNC" %}
26 <td style=
"background-color: yellow;">
30 <td style=
"background-color: grey;">
31 {{ mirror.state }}
35 {% if mirror.state in (
"OUTOFSYNC",
"DOWN") %}
36 <span class=
"text-error pull-right">
37 {{ _(
"Last update: %s") % locale.format_date(mirror.last_update, relative=True) }}
41 <a href=
"/mirror/{{ mirror.hostname }}">{{ mirror.hostname }}
</a>
42 <br>{{ mirror.owner }}