1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Mirror: %s") % 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/{{ mirror.hostname }}">{{ mirror.hostname }}
</a>
20 {% if current_user and current_user.has_perm(
"manage_mirrors") %}
21 <div class=
"btn-group pull-right">
22 <a class=
"btn dropdown-toggle" data-toggle=
"dropdown" href=
"#">
23 {{ _(
"Actions") }}
<span class=
"caret"></span>
25 <ul class=
"dropdown-menu">
27 <a href=
"/mirror/{{ mirror.hostname }}/edit">
28 <i class=
"icon-edit"></i>
29 {{ _(
"Edit settings") }}
33 <li class=
"divider"></li>
35 <a href=
"/mirror/{{ mirror.hostname }}/delete">
36 <i class=
"icon-trash"></i>
37 {{ _(
"Delete mirror") }}
44 <div class=
"page-header">
46 {{ _(
"Mirror: %s") % mirror.hostname }}
47 <small>{{ _(
"hosted by %s") % mirror.owner }}
</small>
53 <table class=
"table table-striped table-hover">
56 <td>{{ _(
"Hostname") }}
</td>
57 <td>{{ mirror.hostname }}
</td>
60 {% if current_user and current_user.has_perm(
"manage_mirrors") %}
62 <td>{{ _(
"Contact") }}
</td>
64 {% if mirror.contact %}
65 <a href=
"mailto:{{ mirror.contact }}">{{ mirror.contact }}
</a>
75 <h3>{{ _(
"Status information") }}
</h3>
76 <table class=
"table table-striped table-hover">
79 <td>{{ _(
"Status") }}
</td>
80 <td>{{ mirror.status }}
</td>
84 <td>{{ _(
"Last check") }}
</td>
86 {% if mirror.last_check %}
87 {{ format_date(mirror.last_check) }}
98 {% if mirror.longitude and mirror.latitude %}
99 <iframe width=
"100%" height=
"350" frameborder=
"0" scrolling=
"no" marginheight=
"0" marginwidth=
"0"
100 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">
103 <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>
105 © <a href=
"http://www.openstreetmap.org/" target=
"_blank">OpenStreetMap
</a> contributors, CC-BY-SA
108 {{ _(
"The location of the mirror server is estimated by the IP address.") }}
112 {{ _(
"The location of the mirror server could not be estimated.") }}
119 <h3>{{ _(
"Log") }}
</h3>
120 {% module Log(log) %}