-[% 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 %]
+<h2>
+ [% config.application_name || "A poorly configured Maypole application" %]
+</h2>
+<table border="0" align="center" width="70%">
[% FOR table = config.display_tables %]
-<TR>
-<TD>
-<A HREF="[%table%]/list">List by [%table %]</A>
-</TD>
-</TR>
+ <tr>
+ <td>
+ <a href="[%table%]/list">List by [%table %]</a>
+ </td>
+ </tr>
[% END %]
-</TABLE>
-
-<BR>
+</table>
+<br/>
[% INCLUDE footer %]