Or do I have to change the HTML code of the reports generated?
Thanks a lot
Laureline
![:P](./images/smilies/icon_razz.gif)
Code: Select all
<html><head>
<meta name="GENERATOR" content="KS-Soft HostMonitor">
<META http-equiv="Content-Style-Type" content="text/css">
<title>HostMonitor report</title>
<STYLE TYPE="text/css"><!-- a:hover { color: "#00FFFF"; } --> </STYLE>
<style type="text/css">
input.Folder { background: #000080; color: #FFFFFF; height:19px; width:55px; line-height:12px; }
input.Good00 { background: #004040; color: #C4FFFF; height:19px; width:55px; line-height:12px; }
input.Good90 { background: #00AA00; color: #C4FFFF; height:19px; width:55px; line-height:12px; }
input.Bad00 { background: #880000; color: #000000; height:19px; width:55px; line-height:12px; }
input.Bad10 { background: #FF0000; color: #000000; height:19px; width:55px; line-height:12px; }
input.Unknown { background: #FFFF00; color: #000000; height:19px; width:55px; line-height:12px; }
input.BadAck { background: #FF8040; color: #000000; height:19px; width:55px; line-height:12px; }
input.UnknAck { background: #FFFF40; color: #000000; height:19px; width:55px; line-height:12px; }
input.WaitForMaster { background: #0000FF; color: #FFFF00; height:19px; width:55px; line-height:12px; }
input.OutOfSchedule { background: #0080FF; color: #FFFF00; height:19px; width:55px; line-height:12px; }
input.Disabled { background: #808080; color: #C0C0C0; height:19px; width:55px; line-height:12px; }
input.NotTested { background: #8080FF; color: #91FFFF; height:19px; width:55px; line-height:12px; }
</style>
</head>
<body bgcolor="#000080" text="#E9E9E9" link="#00FFFF" vlink="#00FFFF" alink="#00FFFF">
<p align="left"><u><strong><big><big>HostMonitor Report</big></big><br>
</strong></u><font face="Arial">Generated on %Date% at %Time%</font></p>
<script language="JavaScript"> <!--
function showinfo(info) { alert(info); }
--> </script>
<hr>
<form>
<table border=0>
Code: Select all
<tr><td valign=top nowrap bgcolor="#000099"><b><font color="#FFFFFF">%Folder%</font></b></td><td> </td><td>
Code: Select all
<SCRIPT type="text/javascript">
if (%PassedCnt%/%TotalTests%>0.9) document.write("<input type=button class=Good90 value='%Reply%'>");
else document.write("<input type=button class=Good00 value='%Reply%'>");
--></script>
Code: Select all
<SCRIPT type="text/javascript">
if (%FailedCnt%/%TotalTests%>0.1) document.write("<input type=button class=Bad10 value='%Reply%'>");
else document.write("<input type=button class=Bad00 value='%Reply%'>");
--></script>