When I use a template for the html reports, I cant change the report colors from the options/reports tab. The changes have no effect except "html text" which alters all text and I assume its because I have to put some vars in the template file like %itemcolor% etc. Is there a list of these vars somewhere in the docs?
This is all I can find:
Color palette
You may customize color scheme for the HTML reports. The following elements have customizable colors (you may change both fore- and background colors):
underlaying layer;
table header;
test items;
system messages;
HTML links;
Visited HTML links;
Active HTML links;
/Rob
Colors in custom reports
Template for "Custom HTML report", right?When I use a template for the html reports
Not sure I understand you. "Color scheme" option accessible for any HTML report:The changes have no effect except "html text" which alters all text
- HTML
- Compact HTML
- Custom HTML
- Dashboard
Sure. Quote from the manual (end of "Custom HTML report" section)Is there a list of these vars somewhere in the docs?
RegardsAlso in any section (header, footer, test items, etc) of the Custom HTML report you can use 2 contents specific macro variables:
- %ItemColor% - text color
- %Background% - background color
These varaibales are "contents specific" because value of the varaible depends on the item that uses variables. E.g. if you use these variables in "Folder item" section, they will represent colors those was specified for the folder item (see Color Schemes dialog). If you use these variables for "Good" tests, they will represent colors those were specified for tests with "Good" status. And so on...
Alex
Report settings
Hi Alex,
My mistake, I thought I HAD to set the colors in the report settings but I discovered that I could hard code them into the custom html template just like that
BUT, now we have a problem with the graphs path. We would like to automate the task of creating reports (works fine) and when the report is created (including the graphs) it will be transfered to a web page for display. The problem is that the path to each graph is wrong (for webpages) in the auto-created html report since the value from Options/Reports/Folder_for_images is getting a backslash at the end by default. I´m using the path ./images to get a non local path but when I click OK, there´s a \ added so the path to the graph in the html page is ./images\filename.gif. This is not gonna work on the webserver.
Any ideas on how to get around this?
/Rob
My mistake, I thought I HAD to set the colors in the report settings but I discovered that I could hard code them into the custom html template just like that
![:D](./images/smilies/icon_biggrin.gif)
BUT, now we have a problem with the graphs path. We would like to automate the task of creating reports (works fine) and when the report is created (including the graphs) it will be transfered to a web page for display. The problem is that the path to each graph is wrong (for webpages) in the auto-created html report since the value from Options/Reports/Folder_for_images is getting a backslash at the end by default. I´m using the path ./images to get a non local path but when I click OK, there´s a \ added so the path to the graph in the html page is ./images\filename.gif. This is not gonna work on the webserver.
Any ideas on how to get around this?
/Rob
I assume you are talking about Log Analyzer, right?
Try this version: www.ks-soft.net/download/la504d.zip
Regards
Alex
Try this version: www.ks-soft.net/download/la504d.zip
Regards
Alex