]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/frontpage
Maypole::Application supports Maypole::HTTPD (which needs a patch).
[maypole.git] / templates / factory / frontpage
index 61c48b8731a495bff6e55c851d24acfd7ffc8117..ac47269519d5a139266e903387f810278326f5bb 100644 (file)
@@ -1,15 +1,27 @@
-[% INCLUDE header %]
+[%#
+
+=head1 frontpage
+
+This is the frontpage for your Maypole application.
+It shows a list of all tables it is allowed to display.
 
-<h2> [% config.application_name || "A poorly configured Maypole application" %] </h2>
+=cut
 
-<TABLE BORDER="0" ALIGN="center" WIDTH="70%">
+#%]
+[% INCLUDE header %]
+<div id="title">
+    [% config.application_name || "A poorly configured Maypole application" %]
+</div>
+<div id="frontpage_list">
+<ul>
 [% FOR table = config.display_tables %]
-<TR>
-<TD>
-<A HREF="[%table%]/list">List by [%table %]</A>
-</TD>
-</TR>
+    <li>
+        <a href="[% base %]/[%table%]/list">List by [%table %]</a>
+    </li>      
 [% END %]
-</TABLE>
+</ul>
+</div>
+
+[% INCLUDE maypole %]
 
-<BR>
+[% INCLUDE footer %]