]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - www/templates/downloads-mirrors.html
Add mirrorlist and rewrite load balancer.
[people/shoehn/ipfire.org.git] / www / templates / downloads-mirrors.html
CommitLineData
3add293a
MT
1{% extends "base.html" %}
2
3{% block content %}
4 <div class="post">
5 <a name="latest"></a>
6 <h3>{{ _("IPFire Mirrors") }}</h3>
7
8 {% if lang == "de" %}
9 <p>
10 Diese Seite zeigt eine Liste der Mirror-Server des IPFire-Projektes.
11 </p>
12
13 <p>
14 Bei einem Download wird einer der Server zufällig aus der Liste
15 gewählt und der User umgeleitet.
16 </p>
17
18 <ul>
19 <li>
20 <a href="http://wiki.ipfire.org/{{ lang }}/project/web"
21 target="_blank">Wie stelle ich selbst einen Mirror-Server bereit?</a>
22 </li>
23 </ul>
24 {% else %}
25 <p>
26 This page is an overview about our mirror servers.
27 </p>
28
29 <p>
30 When a user downloads a file, one of the servers is arbitrarily
31 choosen und the user gets reditected.
32 </p>
33
34 <ul>
35 <li>
36 <a href="http://wiki.ipfire.org/{{ lang }}/project/web"
37 target="_blank">How do I contribute a mirror server?</a>
38 </li>
39 </ul>
40 {% end %}
41
42 <table class="download-mirrors">
43 <tr>
44 <th>{{ _("Owner (Hostname)") }}</th>
45 <th>{{ _("Location") }}</th>
46 <th>{{ _("Latency") }}</th>
47 </tr>
48 {% for mirror in mirrors.all %}
49 <tr class="{% if not mirror.reachable %}un{% end %}reachable">
50 <td>{{ mirror.name }} ({{ mirror.hostname }})</td>
51 <td>
52 <img src="{{ static_url("images/flags/%s.png" % mirror.location["country_code"]) }}"
53 alt="{{ mirror.location["country_code"] }}" />
54 {{ mirror.location["country"] }}, {{ mirror.location["city"] }}
55 </td>
56 <td class="latency">{{ mirror.latency }} ms</td>
57 </tr>
58 {% end %}
59 <tr class="legend">
60 <td colspan="3">&nbsp;</td>
61 </tr>
62 <tr class="legend">
63 <td><strong>{{ _("Legend") }}:</strong></td>
64 <td colspan="2" class="reachable">{{ _("Server is reachable") }}</td>
65 </tr>
66 <tr class="legend">
67 <td>&nbsp;</td>
68 <td colspan="2" class="unreachable">{{ _("Server is unreachable") }}</td>
69 </tr>
70 </table>
71
72 <br class="clear" />
73 </div>
74
75{% end block %}