]> git.decadent.org.uk Git - maypole.git/commitdiff
Slightly more sane front page.
authorSimon Cozens <simon@simon-cozens.org>
Sat, 31 Jan 2004 19:01:58 +0000 (19:01 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Sat, 31 Jan 2004 19:01:58 +0000 (19:01 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@37 48953598-375a-da11-a14b-00016c27c3ee

templates/custom/frontpage
templates/factory/frontpage [deleted file]

index a7698e8aa845cbf39cae443659de6c21c90e6bb8..9df7f9d9779a7f7de7fad8424b67ad866259a224 100644 (file)
@@ -1,48 +1,15 @@
 [% 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>
diff --git a/templates/factory/frontpage b/templates/factory/frontpage
deleted file mode 100644 (file)
index 3da9ea3..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-[% 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 %]