-[% INCLUDE header %]
-
-<h2> Main menu </h2>
+[%#
-<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>
+=head1 frontpage
-<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>
+This is the frontpage for your Maypole application.
+It shows a list of all tables it is allowed to display.
-</TABLE>
+=cut
-<BR>
-[% INCLUDE small_blog %]
+#%]
+[% INCLUDE header %]
+<h2>
+ [% config.application_name || "A poorly configured Maypole application" %]
+</h2>
+<table border="0" width="70%">
+[% FOR table = config.display_tables %]
+ <tr>
+ <td>
+ <a href="[%table%]/list">List by [%table %]</a>
+ </td>
+ </tr>
+[% END %]
+</table>
+<br/>
+[% INCLUDE footer %]