diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-10-03 15:36:00 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-10-03 15:36:00 +0000 |
commit | ddcf19029c7b58b2ea236bd14e6c1456949f0fc0 (patch) | |
tree | 725f066cac991b43163f1e08a5954b6071634f3d /root/html/pages/mirrors | |
parent | 114b46067622cc0c68d007711cf58f74e25411b8 (diff) | |
download | mgamirrors-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.tt | 19 |
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 %] |