[% INCLUDE header %]
-<h2> Main menu </h2>
+<h2> The beer database </h2>
<TABLE BORDER="0" ALIGN="center" WIDTH="70%">
+[% FOR table = config.display_tables %]
<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>
-
-<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>
+<A HREF="[%table%]/list">List by [%table %]</A>
</TD>
</TR>
-<TR>
-<TD ALIGN="left">
-<P>
-<A HREF="http://mp3z.trinity-house.org.uk/"><IMG
-SRC="/images/itunes.png">Stream music</A>
-</P>
-</TD>
-<TD ALIGN="right">
-<P>
-</P>
-</TD>
-</TR>
-
+[% END %]
</TABLE>
<BR>
+++ /dev/null
-[% 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>
-
-<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>
-
-</TABLE>
-
-<BR>
-[% INCLUDE small_blog %]