]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - www/templates/mirrors-item.html
fireinfo: Some design fixes for ARM.
[people/shoehn/ipfire.org.git] / www / templates / mirrors-item.html
CommitLineData
940227cb
MT
1{% extends "mirrors.html" %}
2
3{% block title %}Mirror {{ item.hostname }}{% end block %}
4
5{% block content %}
6 <h3>{{ item.hostname }}</h3>
7
8 <table class="mirrors">
9 <tr>
10 <td>{{ _("State") }}</td>
11 <td class="{{ item.state.lower() }}">
12 {% if item.state.lower() == "up" %}
13 {{ _("Up") }}
14 {% elif item.state.lower() == "down" %}
15 {{ _("Down") }}
16 {% elif item.state.lower() == "outofsync" %}
17 {{ _("Out of synchronization") }}
18 {% else %}
19 {{ _("Unknown") }}
20 {% end %}
21 </td>
22 </tr>
23 <tr>
24 <td>{{ _("Last update") }}</td>
25 <td>{{ locale.format_date(item.last_update, full_format=True) }}</td>
26 </tr>
27 <tr>
28 <td>{{ _("Owner") }}</td>
29 <td>{{ item.owner }}</td>
30 </tr>
0673d1b0
MT
31 {% if item.prefer_for_countries %}
32 <tr>
33 <td>{{ _("Preferred for") }}:</td>
34 <td>{{ locale.list(item.prefer_for_countries_names) }}</td>
35 </tr>
36 {% end %}
940227cb
MT
37 </table>
38
39 <p class="links">
40 <a href="{{ item.url }}" target="_blank">{{ _("Open mirror") }}</a>
41 &bull;
42 <a href="/">{{ _("List of all mirror servers") }}</a>
43 </p>
44
45 <br class="clear" />
46
47 <h3>{{ _("Mirror location") }}</h3>
48 <p>
49 {{ _("The mirror <em>%s</em> is located in %s.") % (item.hostname, item.location_str) }}
50 <br class="clear" />
51 <img class="map"
0673d1b0 52 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"
940227cb
MT
53 alt="{{ _("Location of the server") }}" />
54 </p>
55{% end block %}
56
57{% block sidebar %}
58 {{ modules.SidebarBanner() }}
59{% end block %}