]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/frontpage
Templates should be valid XHTML now...
[maypole.git] / templates / factory / frontpage
index acee7a72b1b0b101a67be66861b78684b33fe45e..9cf356213d91d884b9a4d3b6ec761c4dd505a5f8 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 %]