Re: [Scid-users] Tournament grid

2010-03-22 Thread stephane plop

Is this what you wanted ? I can't test the row functionality without your css.
You'll have to compile Scid yourself though :

Attached is an altered crosstab.cpp. Place it in the src directory, or you can 
make 
the changes yourself: Lines to replace begin with a single '-', lines to add 
begin with 
a single '+'

S.A.

snip
/snip

Hi,

thanks for you answer, it seems that's what I need.
But to make all the changes I need, I choose another way,with the help of a 
friend. I wrote a small Perl script, which make the search and replace and so 
I have the html table that fits my needs.

I think it could be a nice feature if you can change the style of the html 
generated by Scid. I don't know if it's really useful for a lot of users though.


-- 
Stephane


  
_
Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL 
!
http://www.windowslive.fr/hotmail/agregation/--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Tournament grid

2010-03-21 Thread Steven
Is this what you wanted ? I can't test the row functionality without your css.
You'll have to compile Scid yourself though :

Attached is an altered crosstab.cpp. Place it in the src directory, or you can 
make 
the changes yourself: Lines to replace begin with a single '-', lines to add 
begin with 
a single '+'

S.A.
--- src/crosstab.cpp.orig   2010-03-21 17:26:13.0 +1000
+++ src/crosstab.cpp2010-03-21 17:26:13.0 +1000
@@ -533,10 +533,10 @@
if (OutputFormat == CROSSTABLE_Html) {
StartTable = nptable border=1 cellspacing=0 cellpadding=4n;
EndTable = n;
-StartRow = tr;
+StartRow = tr class=\MyRowstyle\;
EndRow = ;
NewLine = n;
-BlankRowLine = trn;
+BlankRowLine = tr class=\MyRowstyle\n;
StartCol = td;
EndCol = ;
StartRightCol = td align=right;
@@ -731,7 +731,7 @@
dstr-Append (stemp);
}
if (PrintRatings) {
-dstr-Append (StartBoldCol,  Rtng, EndBoldCol);
+dstr-Append (StartBoldCol,  rating, EndBoldCol);
}
if (PrintTitles) {
dstr-Append (StartBoldCol, , EndBoldCol);
@@ -898,7 +898,7 @@
dstr-Append (stemp);
}
if (PrintRatings) {
-dstr-Append (StartBoldCol,  Rtng, EndBoldCol);
+dstr-Append (StartBoldCol,  rating, EndBoldCol);
}
if (PrintTitles) {
dstr-Append (StartBoldCol, , EndBoldCol);


--- On Sat, 20/3/10, stephane plop stephane_...@hotmail.fr wrote:

From: stephane plop stephane_...@hotmail.fr
Subject: RE: [Scid-users] Tournament grid
To: stevena...@yahoo.com
Cc: scid-users@lists.sourceforge.net
Received: Saturday, 20 March, 2010, 9:27 PM






 Date: Fri, 19 Mar 2010 17:10:32 -0700
 From: stevena...@yahoo.com
 Subject: Re: [Scid-users] Tournament grid
 To: stephane_...@hotmail.fr
 CC: scid-users@lists.sourceforge.net
 
 What do your html changes look like ?
 

Hello,

I'm using  a CSS, so the changes look like :
tr = tr class=MyRowstyle

I also change change the content of the th/th tags, to translate it 
(Player and rating).


Regards

-- 
Stephane
  
Hotmail débarque sur votre téléphone !  Paramétrez Hotmail sur votre téléphone! 
Gratuit ! 



  

crosstab.cpp
Description: Binary data
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Tournament grid

2010-03-19 Thread stephane plop



From: stephane_...@hotmail.fr
To: scid-users@lists.sourceforge.net
Date: Sun, 14 Mar 2010 22:46:32 +0100
Subject: [Scid-users] Tournament grid


when you open a pgn file, you
can generate the tournament's grid. Then you have the option to save it
as an html file. Scid uses a  html template ; I'd like to modify
this, for example add colors to the rows in the grid. So I don't have
to change each time the html file generated by scid.
Do you know how can I achieve this ?
I hope my explanation is better.



Thanks



-- 
Stephane
  
Télécharger en toute sécurité sur Internet ? La solution avec Internet Explorer 
8 
_
Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur votre 
téléphone!
http://www.messengersurvotremobile.com/?d=Hotmail--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Tournament grid

2010-03-19 Thread Steven
What do your html changes look like ?

-

From: stephane_...@hotmail.fr
To: scid-users@lists.sourceforge.net
Date: Sun, 14 Mar 2010 22:46:32 +0100
Subject: [Scid-users] Tournament grid


when you open a pgn file, you
can generate the tournament's grid. Then you have the option to save it
as an html file. Scid uses a  html template ; I'd like to modify
this, for example add colors to the rows in the grid. So I don't have
to change each time the html file generated by scid.
Do you know how can I achieve this ?
I hope my explanation is better.




  

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Tournament grid

2010-03-14 Thread stephane plop

Hello,


where can I modify the template used to generate a html version of a 
tournament's grid ?


Thanks

-- 
Stephane
  
_
Consultez gratuitement vos emails Orange, Gmail, Free, ... directement dans 
HOTMAIL !
http://www.windowslive.fr/hotmail/agregation/--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users