View previous topic :: View next topic |
Author |
Message |
doubleu
Joined: 22 Jan 2003 Posts: 10
|
Posted: Fri Jan 24, 2003 5:29 pm Post subject: |
|
|
In an effort to figure out how Custom HTML reports work, I'm wondering if someone can tell me what goes under each tab in the Custom HTML tabs to make a report look just like the normal HTML report. OR, does anyone have some templates that they could share? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Sat Jan 25, 2003 2:21 pm Post subject: |
|
|
to make a report look just like the normal HTML report?
Its simple:
1) leave "Folder summary" and "Gap between folders" sections empty
2) copy contents of stdFooter.html file (Examples directory) into "Footer" section
3) "Folder title" section can looks like
<tr><td colspan=4 bgcolor="%Background%" nowrap align="left"><b><font color="%ItemColor%"> Folder: %Folder% </font></b></td></tr>
value of colspan parameter should be equal to number of fields in the report.
Contents of "Header" and "Test items" section depends on list of fields you want to include into the report. Consider for example 4 fields: TestName, LastTestTime, Status, and Reply.
4) copy contents of stdHeader.html file (Examples directory) into "Header" section and add 6 more lines:
<tr>
<td bgcolor="%Background%" nowrap align="left"><strong><font color="%ItemColor%">Test name</font></strong></td>
<td bgcolor="%Background%" nowrap align="center"><strong><font color="%ItemColor%">Last test time</font></strong></td>
<td bgcolor="%Background%" nowrap align="center"><strong><font color="%ItemColor%">Status</font></strong></td>
<td bgcolor="%Background%" nowrap align="center"><strong><font color="%ItemColor%">Reply</font></strong></td>
</tr>
5) add 6 lines into "Test items" section (for each status)
<tr>
<td bgcolor="%Background%" nowrap valign="top" align="left"><font color=%ItemColor%>%TestName%</font></td>
<td bgcolor="%Background%" nowrap valign="top" align="center"><font color=%ItemColor%>%LastTestTime%</font></td>
<td bgcolor="%Background%" nowrap valign="top" align="center"><font color=%ItemColor%>%Status%</font></td>
<td bgcolor="%Background%" nowrap valign="top" align="center"><font color=%ItemColor%>%Reply%</font></td>
</tr>
That's it
Regards
Alex |
|
Back to top |
|
|
doubleu
Joined: 22 Jan 2003 Posts: 10
|
Posted: Sat Jan 25, 2003 5:18 pm Post subject: |
|
|
beautiful! thanks again Alex for your prompt assistance! |
|
Back to top |
|
|
doubleu
Joined: 22 Jan 2003 Posts: 10
|
Posted: Sat Jan 25, 2003 5:57 pm Post subject: |
|
|
Does %LastTestTime% exist in v3.62?
Also, is there a macro for Interval?
(no biggie, just curious) |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Sun Jan 26, 2003 2:01 pm Post subject: |
|
|
%LastTestTime% and %Interval% variables implemented in HostMonitor 3.64, will be available on next week.
Regards
Alex |
|
Back to top |
|
|
|