]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/frontpage
XHTML update
[maypole.git] / templates / factory / frontpage
index acee7a72b1b0b101a67be66861b78684b33fe45e..30861d2e7365dcb7c220ff7f8e924ae74797cbae 100644 (file)
@@ -1,16 +1,25 @@
-[% 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 %]
+<h2>
+    [% config.application_name || "A poorly configured Maypole application" %]
+</h2>
+<table border="0" align="center" width="70%">
 [% FOR table = config.display_tables %]
-<TR>
-<TD>
-<A HREF="[%table%]/list">List by [%table %]</A>
-</TD>
-</TR>
+    <tr>
+        <td>
+            <a href="[%table%]/list">List by [%table %]</a>
+        </td>
+    </tr>
 [% END %]
-</TABLE>
-
-<BR>
+</table>
+<br/>
 [% INCLUDE footer %]