From 544e5607424e1c5810d05980d49851d506c095d9 Mon Sep 17 00:00:00 2001 From: PeterThoeny Date: Tue, 10 Dec 2002 00:11:00 +0000 Subject: [PATCH] none --- TWiki/TablePlugin.mdwn | 108 +++++++++++++++++++++++++++++-------------------- 1 file changed, 64 insertions(+), 44 deletions(-) diff --git a/TWiki/TablePlugin.mdwn b/TWiki/TablePlugin.mdwn index 6084049..e147c0a 100644 --- a/TWiki/TablePlugin.mdwn +++ b/TWiki/TablePlugin.mdwn @@ -36,11 +36,17 @@ Plugin settings are stored as preferences variables. To reference a plugin setti - Table data cell alignment. Set to: `left`, `center`, `right` or `justify`; default: (empty) - Set DATAALIGN = -- Color for header cells ('\*'s around text). Default: \#99CCCC - - #Set HEADER\_BG = red +- Background color of header cells ('\*'s around text). Choose one of the [[StandardColors]]. Default: \#99CCCC + - Set HEADER\_BG = -- Background color for table rows, two alternate colors. Default: \#FFFFCC,\#FFFFFF - - Set DATA\_BG = #FFFFCC,#FFFFFF +- Text color of header cells ('\*'s around text). Default: not specified, e.g. determined by the browser + - Set HEADER\_COLOR = + +- Background color of table rows, two alternate colors. Default: \#FFFFCC, \#FFFFFF + - Set DATA\_BG = #FFFFCC, #FFFFFF + +- Text color of table rows, alternate colors. Default: not specified, e.g. determined by the browser + - Set DATA\_COLOR = - Make sortable: - #Set SORT = attachments @@ -85,13 +91,23 @@ On line before the table use `%TABLE{...}%`: headerbg - Header cell background colour + Header cell background colour. Choose one of the [[TWiki/StandardColors]] headerbg="#99CCCC" - databg - Data cell background colour, a comma separated list. Specify "none" for no colour, that is to use the colour/background of the page the table is on. - databg="#C8CB8F,#DBDDB5" + headercolor + Header cell text colour + headercolor="#0000CC" + + + databg + Data cell background colour, a comma separated list. Specify "none" for no colour, that is to use the colour/background of the page the table is on. + databg="#C8CB8F, #DBDDB5" + + + datacolor + Data cell text colour, a comma separated list + datacolor="#0000CC, #000000" tableborder @@ -127,18 +143,18 @@ On line before the table use `%TABLE{...}%`: All default to the global setting -## Examples +## Example -Line before table: `%TABLE{sort="on" tableborder="0" cellpadding="1" cellspacing="3" headerbg="#99CCCC" databg="#C8CB8F,#DBDDB5"}%` +Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacing="3" headerbg="#000099" headercolor="#FFFFCC" databg="#C8CB8F, #DBDDB5" }%` - - - - - - + + + + + + @@ -230,66 +246,70 @@ Line before table: `%TABLE{sort="on" tableborder="0" cellpadding="1" cellspacing - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + + + + + - - + + - - + +
NumStatusActionWhoWhenProgressNumStatusActionWhoWhenProgress
1
Plugin Version: 13 Mar 2002 09 Dec 2002
Change History:  
05 Jun 2002: PTh: Added "none" value to databg parameter (suggested by TWiki:Main/TaitCyrus); fixed sorting by stripping HTML tags, removing links and making sort ignore case (suggested by TWiki:Main/ShawnBradford) 09 Dec 2002: PTh: Added headercolor and datacolor parameters
13 Mar 2002: PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection 05 Jun 2002: PTh: Added "none" value to databg parameter (suggested by TWiki:Main/TaitCyrus); fixed sorting by stripping HTML tags, removing links and making sort ignore case (suggested by TWiki:Main/ShawnBradford)
12 Mar 2002: PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value 13 Mar 2002: PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection
05 Jan 2002: PTh: Fixed sorting bug of cells with leading white space 12 Mar 2002: PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value
06 Dec 2001: PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more
05 Jan 2002: PTh: Fixed sorting bug of cells with leading white space
29 Nov 2001: PTh: Fixed Perl warnings 06 Dec 2001: PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more
16 Nov 2001: PTh: Added table border, cell spacing, cell padding, gif files 29 Nov 2001: PTh: Fixed Perl warnings
07 Oct 2001: JT: Initial version 16 Nov 2001: PTh: Added table border, cell spacing, cell padding, gif files
CPAN Dependencies: none 07 Oct 2001: JT: Initial version
Other Dependencies: CPAN Dependencies: none
Perl Version: 5.0 Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%
Feedback: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev Feedback: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev
-**_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]] +**_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[StandardColors]] --- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 05 Jun 2002
+-- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 09 Dec 2002
-- 1.9.4