-[% INCLUDE header %]
+[%#
+
+=head1 frontpage
-<h2> Main menu </h2>
+This is the frontpage for your Maypole application.
+It shows a list of all tables it is allowed to display.
-<TABLE BORDER="0" ALIGN="center" WIDTH="70%">
-<TR>
-<TD ALIGN="left">
-<P>
-<A HREF="/user/list"><IMG SRC="/images/users.png"> Administer users</A>
-</P>
-</TD>
-<TD ALIGN="right">
-<P>
-<A HREF="/computer/list"><IMG SRC="/images/computer.png"> Administer
-computers</A>
-</P>
-</TD>
-</TR>
+=cut
-<TR>
-<TD ALIGN="left">
-<P>
-<A HREF="/blog/"><IMG SRC="/images/blog.png"> House blog</A>
-</P>
-</TD>
-<TD ALIGN="right">
-<P>
-<A HREF="/phoneNumber/list"><IMG SRC="/images/phone.png"> Register
-phone calls</A>
-</P>
-</TD>
-</TR>
+#%]
+[% INCLUDE header %]
+<div id="title">
+ [% config.application_name || "A poorly configured Maypole application" %]
+</div>
+<div id="frontpage_list">
+<ul>
+[% FOR table = config.display_tables %]
+ <li>
+ <a href="[%table%]/list">List by [%table %]</a>
+ </li>
+[% END %]
+</ul>
+</div>
-</TABLE>
+[% INCLUDE maypole %]
-<BR>
-[% INCLUDE small_blog %]
+[% INCLUDE footer %]