1 <table class=
"table table-striped">
2 {% for mirror in mirrors %}
4 {% if mirror.state ==
"UP" %}
5 <td style=
"background-color: green;">
8 {% elif mirror.state ==
"DOWN" %}
9 <td style=
"background-color: red;">
12 {% elif mirror.state ==
"OUTOFSYNC" %}
13 <td style=
"background-color: yellow;">
17 <td style=
"background-color: grey;">
22 <a href=
"/mirror/{{ mirror.id }}">{{ mirror.hostname }}
</a>
27 <img src=
"{{ static_url("images/flags/%s.png
" % mirror.country_code) }}" alt=
"{{ mirror.country_code }}" />
28 {{ mirror.location_str }}