]> git.decadent.org.uk Git - maypole.git/commitdiff
Let's have some nice generic ones of these, instead of referring to the beer database.
authorSimon Cozens <simon@simon-cozens.org>
Tue, 13 Apr 2004 13:15:47 +0000 (13:15 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Tue, 13 Apr 2004 13:15:47 +0000 (13:15 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@127 48953598-375a-da11-a14b-00016c27c3ee

templates/factory/frontpage [new file with mode: 0644]
templates/factory/header

diff --git a/templates/factory/frontpage b/templates/factory/frontpage
new file mode 100644 (file)
index 0000000..61c48b8
--- /dev/null
@@ -0,0 +1,15 @@
+[% 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>
+[% END %]
+</TABLE>
+
+<BR>
index 2091277b28013c9f53980fb0c9e9f614a504f118..074189cff50b99674c87565fd912b80c0964226b 100644 (file)
@@ -1,5 +1,24 @@
 <HTML>
     <HEAD>
-        <TITLE> You want to put the title of your application here </TITLE>
-    </HEAD>
-    <BODY>
+        <title> [% config.application_name || "A poorly configured Maypole application" %] </title>
+
+<META http-equiv=Content-Type content="text/html; charset=utf-8">
+
+<LINK title=myStyle href="/maypole.css" type=text/css rel=stylesheet>
+
+<script language="javascript" type="text/javascript">
+<!--
+function go()
+{
+    box = document.forms[-1].navi;
+    destination = box.options[box.selectedIndex].value;
+    if (box.options[box.selectedIndex].class == 'redirect')
+        location.href = destination;
+}
+
+// -->
+</SCRIPT>
+</HEAD>
+<BODY>
+<DIV class="content">
+