1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Mirror: %s") % escape(mirror.hostname) }}{% end block %}
6 <ul class=
"breadcrumb">
8 <a href=
"/">{{ _(
"Home") }}
</a>
9 <span class=
"divider">/
</span>
12 <a href=
"/mirrors">{{ _(
"Mirrors") }}
</a>
13 <span class=
"divider">/
</span>
16 <a href=
"/mirror/{{ escape(mirror.hostname) }}">{{ escape(mirror.hostname) }}
</a>
20 <div class=
"page-header">
22 {{ _(
"Mirror: %s") % escape(mirror.hostname) }}
23 <small>{{ _(
"hosted by %s") % escape(mirror.owner) }}
</small>
32 <td>{{ _(
"Hostname") }}
</td>
33 <td>{{ escape(mirror.hostname) }}
</td>
36 {% if current_user and current_user.has_perm(
"manage_mirrors") %}
38 <td>{{ _(
"Contact") }}
</td>
40 {% if mirror.contact %}
41 <a href=
"mailto:{{ escape(mirror.contact) }}">{{ escape(mirror.contact) }}
</a>
51 <h2>{{ _(
"Status information") }}
</h2>
55 <td>{{ _(
"Status") }}
</td>
56 <td>{{ mirror.status }}
</td>
60 <td>{{ _(
"Last check") }}
</td>
62 {% if mirror.last_check %}
63 {{ format_date(mirror.last_check) }}
72 {% if current_user and current_user.has_perm(
"manage_mirrors") %}
73 <div class=
"btn-toolbar">
74 <div class=
"btn-group pull-right">
75 <a class=
"btn dropdown-toggle" data-toggle=
"dropdown" href=
"#">
77 <span class=
"caret"></span>
79 <ul class=
"dropdown-menu">
81 <a href=
"/mirror/{{ escape(mirror.hostname) }}/edit">
82 <i class=
"icon-edit"></i>
83 {{ _(
"Edit settings") }}
87 <li class=
"divider"></li>
89 <a href=
"/mirror/{{ escape(mirror.hostname) }}/delete">
90 <i class=
"icon-trash"></i>
91 {{ _(
"Delete mirror") }}
101 <h2>{{ _(
"Map") }}
</h2>
103 {% if mirror.longitude and mirror.latitude %}
105 {{ _(
"The location of the mirror server is estimated by the IP address.") }}
107 <iframe width=
"525" height=
"350" frameborder=
"0" scrolling=
"no" marginheight=
"0" marginwidth=
"0"
108 src=
"http://www.openstreetmap.org/export/embed.html?bbox={{ mirror.longitude - 4 }},{{ mirror.latitude - 4 }},{{ mirror.longitude + 4 }},{{ mirror.latitude + 4 }}&layer=mapquest&marker={{ mirror.latitude }},{{ mirror.longitude }}" style=
"border: 1px solid black">
111 <a href=
"http://www.openstreetmap.org/?lat={{ mirror.latitude }}&lon={{ mirror.longitude }}&zoom=8&layers=M&mlat={{ mirror.latitude }}&mlon={{ mirror.longitude }}" target=
"_blank">{{ _(
"View larger map") }}
</a>
113 © <a href=
"http://www.openstreetmap.org/" target=
"_blank">OpenStreetMap
</a> contributors, CC-BY-SA
116 {{ _(
"The location of the mirror server could not be estimated.") }}