-[% 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 %]