KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Colors in custom reports

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Reports
View previous topic :: View next topic  
Author Message
Snucke



Joined: 27 Sep 2005
Posts: 9

PostPosted: Tue Nov 15, 2005 10:07 am    Post subject: Colors in custom reports Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Nov 15, 2005 12:48 pm    Post subject: Reply with quote

Quote:
When I use a template for the html reports

Template for "Custom HTML report", right?

Quote:
The changes have no effect except "html text" which alters all text

Not sure I understand you. "Color scheme" option accessible for any HTML report:
- HTML
- Compact HTML
- Custom HTML
- Dashboard

Quote:
Is there a list of these vars somewhere in the docs?

Sure. Quote from the manual (end of "Custom HTML report" section)
Quote:
Also 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...


Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Snucke



Joined: 27 Sep 2005
Posts: 9

PostPosted: Tue Nov 15, 2005 3:44 pm    Post subject: Report settings Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Nov 15, 2005 8:53 pm    Post subject: Reply with quote

I assume you are talking about Log Analyzer, right?
Try this version: www.ks-soft.net/download/la504d.zip

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Snucke



Joined: 27 Sep 2005
Posts: 9

PostPosted: Wed Nov 16, 2005 5:10 am    Post subject: yes! Reply with quote

Works like a charm, the backslash is stripped in the html file.

Thanks Alex!

/Rob
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Nov 16, 2005 2:03 pm    Post subject: Reply with quote

You are welcome
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index