Is there an editable header for the new compact html report?

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

Hi Alex,

If I select the option to have an external header for a compact report the buttons that are generated are not equal in size and runtime errors occur when they are clicked. Is there another way to edit the titlebackground, etc for the automatically generated compact html report...? Is this possible?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If I select the option to have an external header for a compact report the buttons that are generated are not equal in size and runtime errors occur when they are clicked.

It means you use wrong header. External headers must satisfy some conditions. This conditions will be describled in documentation (when new release will be ready). For now you can check compact report generated by HostMonitor, copy, and modify header. As you can see header must contains showinfo function that responsible for displaying detailed test information. Code of the function is up to you. Also you must define styles for each test status:
input.Folder
input.NotTested
input.Alive
input.NoAnswer
input.Unknown
input.UnknownHost
input.Checking
input.Resolving
input.Ok
input.Bad
input.Disabled
input.BadContents
input.WaitForMaster
input.OutOfSchedule

>Is there another way to edit the titlebackground, etc for the automatically generated compact html report...?

To change background, just select another color palette. To change title, use external header.

Regards
Alex
Locked