[siesta-commit] siesta/templates lists,NONE,1.1 plugin,NONE,1.1 plugins,NONE,1.1 footer,1.1,1.2 header,1.1,1.2

[prev] [thread] [next] [lurker] [Date index for 2002/08/29]

From: muttley
Subject: [siesta-commit] siesta/templates lists,NONE,1.1 plugin,NONE,1.1 plugins,NONE,1.1 footer,1.1,1.2 header,1.1,1.2
Date: 08:30 on 29 Aug 2002
Update of /cvsroot/siesta/siesta/templates
In directory usw-pr-cvs1:/tmp/cvs-serv12562

Modified Files:
	footer header 
Added Files:
	lists plugin plugins 
Log Message:
Updated templated for the template toolkit stuff.


--- NEW FILE: lists ---
[% INCLUDE header
	title = "Select list to admin"
%]

<div align="center">
<table border="0" cellpadding="2" cellspacing="2">
  <tr>
	<td align="center">List Name</a>
  </tr>
[% colour = COLOUR1 %]
[% FOREACH list = lists %]
  <tr bgcolor = "[% colour %]">
  	<td><a href="?mode=plugins&list=[% list.name %]">[% list.name %]</a></td>
  </tr>
  [% IF colour == COLOUR1 %]
	[% colour = COLOUR2 %]
  [% ELSE %]
	[% colour = COLOUR1 %]
  [% END %]
[% END %]
</table>
</div>

[% INCLUDE footer %]

--- NEW FILE: plugin ---
[% INCLUDE header
	title = "Configure '$plugin' for list '$list'"
%]

Do some stuff to configure the plugin - "[% plugin %]" for the list "[% list %]".


[% INCLUDE footer %]

--- NEW FILE: plugins ---
[% INCLUDE header
	title = "Configure plugins for '$list'"
%]

<div align="center">
<table border="0" cellpadding="2" cellspacing="2">
  <tr>
	<td>Name</td>
	<td align="center">(active)</td>
  </tr>
[% colour = COLOUR1 %]
[% FOREACH plugin = plugins %]
  <tr bgcolor = "[% colour %]">
  	<td><a href="?mode=plugin&plugin=[% plugin.name %]&list=[% list%]">[% plugin.name %]</a></td>
	<td align="center"><input type="checkbox" name="[% plugin.name %]" /></td>
  </tr>
  [% IF colour == COLOUR1 %]
	[% colour = COLOUR2 %]
  [% ELSE %]
	[% colour = COLOUR1 %]
  [% END %]
[% END %]
</table>
</div>

[% INCLUDE footer %]

Index: footer
===================================================================
RCS file: /cvsroot/siesta/siesta/templates/footer,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- footer	20 Aug 2002 17:00:54 -0000	1.1
+++ footer	29 Aug 2002 07:30:24 -0000	1.2
@@ -1,3 +1,3 @@
-<!-- start footer template -->
+<!-- footer -->
 </body>
 </html>

Index: header
===================================================================
RCS file: /cvsroot/siesta/siesta/templates/header,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- header	20 Aug 2002 17:00:54 -0000	1.1
+++ header	29 Aug 2002 07:30:24 -0000	1.2
@@ -5,7 +5,5 @@
 <head>
         <title>[% title %]</title>
 </head>
-<body bgcolor="#ffffff">
-<!-- end header template -->
-
-
+<body bgcolor="[% BGCOLOUR %]">
+<!-- header -->



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52