]> git.ipfire.org Git - ipfire.org.git/blame - templates/modules/mirrors-table.html
Move everything to the root of the repository.
[ipfire.org.git] / templates / modules / mirrors-table.html
CommitLineData
60024cc8 1<table class="table table-striped">
0673d1b0
MT
2 {% for mirror in mirrors %}
3 <tr>
60024cc8
MT
4 {% if mirror.state == "UP" %}
5 <td style="background-color: green;">
6 &nbsp;
7 </td>
8 {% elif mirror.state == "DOWN" %}
9 <td style="background-color: red;">
10 &nbsp;
11 </td>
12 {% elif mirror.state == "OUTOFSYNC" %}
13 <td style="background-color: yellow;">
14 &nbsp;
15 </td>
16 {% else %}
17 <td style="background-color: grey;">
18 &nbsp;
19 </td>
20 {% end %}
21 <td>
0673d1b0
MT
22 <a href="/mirror/{{ mirror.id }}">{{ mirror.hostname }}</a>
23 </td>
24 <td>
60024cc8
MT
25 {{ mirror.owner }}
26 <br>
3dc56193 27 <img src="{{ static_url("images/flags/%s.png" % mirror.country_code) }}" alt="{{ mirror.country_code }}" />
0673d1b0
MT
28 {{ mirror.location_str }}
29 </td>
30 </tr>
31 {% end %}
32</table>