aboutsummaryrefslogtreecommitdiffstats
path: root/root/html/pages/mirrors
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-10-03 15:36:00 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-10-03 15:36:00 +0000
commitddcf19029c7b58b2ea236bd14e6c1456949f0fc0 (patch)
tree725f066cac991b43163f1e08a5954b6071634f3d /root/html/pages/mirrors
parent114b46067622cc0c68d007711cf58f74e25411b8 (diff)
downloadmgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar.gz
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar.bz2
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar.xz
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.zip
- use google maps for location, improve messages
Diffstat (limited to 'root/html/pages/mirrors')
-rw-r--r--root/html/pages/mirrors/mirror.tt19
1 files changed, 19 insertions, 0 deletions
diff --git a/root/html/pages/mirrors/mirror.tt b/root/html/pages/mirrors/mirror.tt
new file mode 100644
index 0000000..dad43c2
--- /dev/null
+++ b/root/html/pages/mirrors/mirror.tt
@@ -0,0 +1,19 @@
+<h1>Mirror: [% hostname %]<h1>
+
+<h2>Host information</h2>
+
+[% INCLUDE 'host_information.tt'
+ action = c.uri_for(hostname)
+%]
+
+<h2>URLs to the distribution</h2>
+
+[% FOREACH u = c.model('Mirrors').find_urls({ hostname => hostname }) %]
+[% IF loop.first %]
+<ul>
+[% END %]
+<li><a href="[% u.url %]">[% u.url | html %]</a></li>
+[% IF loop.last %]
+</ul>
+[% END %]
+[% END %]