aboutsummaryrefslogtreecommitdiffstats
path: root/root/html/pages
diff options
context:
space:
mode:
Diffstat (limited to 'root/html/pages')
-rw-r--r--root/html/pages/index.tt6
-rw-r--r--root/html/pages/new/index.tt5
2 files changed, 11 insertions, 0 deletions
diff --git a/root/html/pages/index.tt b/root/html/pages/index.tt
new file mode 100644
index 0000000..f1f0251
--- /dev/null
+++ b/root/html/pages/index.tt
@@ -0,0 +1,6 @@
+<!-- $Id$ -->
+<p>Mageia mirrors database</p>
+
+<p>Mirror not found ? <a href="[% c.uri_for('/new') %]">register it</a></p>
+
+[% INCLUDE 'mirrorslist.tt' %]
diff --git a/root/html/pages/new/index.tt b/root/html/pages/new/index.tt
new file mode 100644
index 0000000..0ef4cfd
--- /dev/null
+++ b/root/html/pages/new/index.tt
@@ -0,0 +1,5 @@
+[% INCLUDE 'new/url_form.tt' %]
+
+[% IF subtemplate %]
+[% INCLUDE $subtemplate %]
+[% END %]