[siesta-commit] siesta/templates/web default,NONE,1.1 footer,NONE,1.1 header,NONE,1.1 lists,NONE,1.1 plugin,NONE,1.1 plugins,NONE,1.1 pre-config,NONE,1.1

[prev] [thread] [next] [lurker] [Date index for 2002/10/10]

From: clampr
Subject: [siesta-commit] siesta/templates/web default,NONE,1.1 footer,NONE,1.1 header,NONE,1.1 lists,NONE,1.1 plugin,NONE,1.1 plugins,NONE,1.1 pre-config,NONE,1.1
Date: 15:18 on 10 Oct 2002
Update of /cvsroot/siesta/siesta/templates/web
In directory usw-pr-cvs1:/tmp/cvs-serv565/web

Added Files:
	default footer header lists plugin plugins pre-config 
Log Message:
small reorg

--- NEW FILE: default ---
[% INCLUDE header 
	title = "Pick a plugin to configure"
%]


plugins


[% INCLUDE footer %]



--- NEW FILE: footer ---
<!-- footer -->
</body>
</html>

--- NEW FILE: header ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">;
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
        <title>[% title %]</title>
</head>
<body bgcolor="[% BGCOLOUR %]">
<!-- header -->

--- 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 %]

--- NEW FILE: pre-config ---
[%
	# colours
	BGCOLOUR = '#ffffff'
	COLOUR1  = '#c0c0c0'
	COLOUR2  = '#aaaaaa'

%]



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