diff options
Diffstat (limited to 'root/html/pages/mirrors/mirror.tt')
-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 %] |