windows-nt/Source/XPSP1/NT/admin/eelvewer/i386/free/eelview.hta
2020-09-26 16:20:57 +08:00

549 lines
22 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
// This file is used for the part of the viewer where
// we show the EEL data
-->
<HTML>
<HEAD><TITLE>Enterprise Event Log Viewer</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META NAME="GENERATOR" Content="MSHTML 5.00.2920.0" ><!-- Syle Sheets ------------------------------------------------------->
<LINK href="css/default.css" id=EEL_mainStyleSheet rel=stylesheet type=text/css>
<script src="wmi_init.js" ></script>
<script src="tv_init.js" ></script>
<script defer src="wmi.js" ></script>
<script defer src="tablview.js" ></script>
<script src="localize.js" ></script>
<script for=scrollBar event=onchange()>
handleScroll();
</script>
<HTA:APPLICATION ID="EELViewer";
APPLICATIONNAME="EELViewer";
BORDER="thick";
BORDERSTYLE="normal";
CAPTION="yes";
ICON="eelView.ico";
MAXIMIZEBUTTON="yes";
MINIMIZEBUTTON="yes";
SHOWINTASKBAR="yes";
SINGLEINSTANCE="no";
SYSMENU="yes";
VERSION="1.0";
WINDOWSTATE="normal";
CONTEXTMENU="no";
>
</HEAD>
<BODY class=bodyClass id=mainBody onmousemove="mouseMove()" onmouseup="mouseUp()" style="OVERFLOW-X: auto">
<!--
// mainDiv is the DIV where the XML/XSL data will be displayed. This will
// be filled in dynamically at run time.
-->
<DIV id=mainDiv
style="OVERFLOW: hidden">
<DIV id=customizeDiv onselect="ignoreEvent()" onselectstart="ignoreEvent()" style="OVERFLOW: hidden; WIDTH: 100%;display:none">
<!-- "customDiv" stands for the top row of the customization page.
-->
<DIV id="customDiv">
<TABLE class="titleDiv">
<TR>
<TD>Customize View</TD>
<TD align="right">
<BUTTON accesskey="v" class="backToViewerButton" ID="viewerButton" title="Back to Viewer" onclick="backToViewer()"><u>V</u>iewer</BUTTON>
<BUTTON accesskey="h" class="titleButton" ID="helpButton1" title="Show Help" onclick="bringUpHelp()"><u>H</u>elp</BUTTON>
</TD>
</TR>
</TABLE>
</DIV>
<!-- Now starts the body of the tableview customization area. It has a div for column
ordering and one for sorting.
-->
<DIV id="tableViewBodyDiv">
<!-- Start of the body for the column ordering area
-->
<DIV id="ChooseColumnDiv" >
<DIV class="tableHeaderDiv"> Choose Column Order </DIV>
<TABLE class="sortDivClass">
<TR>
<TD> Available fields: </TD>
<TD style="visibility:hidden;font-size:4pt">notdis</TD>
<TD/>
<TD style="visibility:hidden;font-size:4pt">is</TD>
<TD> Selected fields:</TD>
<TD/>
</TR>
<TR >
<TD>
<DIV id="AvailableFieldsForChooseColumnOrderDiv" >
<select name="AvailableFieldsForChooseColumnOrder" class="availableSortFieldClass" tabindex="1" size="9" multiple="true" ondblclick="addChooseColumnOrderField()">
</select>
</DIV>
</TD>
<TD/>
<TD>
<TABLE>
<TR>
<TD>
<BUTTON id="addChooseButton" class="smallButton" title="Add selected field to list of columns displayed" tabindex="2" onclick="addChooseColumnOrderField()"/>Add <SPAN style="font-family:Verdana;font-size:12">>></SPAN>
</TD>
</TR>
<TR>
<TD>
<BUTTON id="removeChooseButton" class="smallButton" title="Remove selected field from list of columns displayed" tabindex="3" onclick="removeChooseColumnOrderField()"/><SPAN style="font-family:Verdana;font-size:12">&lt;&lt;</SPAN> Remove
</TD>
</TR>
</TABLE>
</TD>
<TD/>
<TD>
<DIV id="selectedFieldsForChooseColumnOrderDiv" >
<select name="selectedFieldsForChooseColumnOrder" class="availableSortFieldClass" size="9" tabindex="4" multiple="true" ondblclick="removeChooseColumnOrderField()">
</select>
</DIV>
</TD>
<TD>
<TABLE>
<TR>
<TD>
<BUTTON id="doChooseColumnButton" name="doChooseColumnButton" class="smallButton" title="Choose the columns " tabindex="7" onclick="doChooseColumnOrdering()">Apply</BUTTON>
</TD>
</TR>
<TR>
<TD>
<BUTTON id="resetChooseColumnButton" name="resetChooseColumnButton" class="smallButton" title="Change to default column selection and ordering" tabindex="8" onclick="resetChooseColumns()">Default</BUTTON>
</TD>
</TR>
<TR>
<TD>
<BUTTON id="cancelChooseColumnButton" name="cancelChooseColumnButton" class="smallButton" title="Cancel to previous column selection and ordering" tabindex="9" onclick="cancelChooseColumnOrderingSelection()">Reload</BUTTON>
</TD>
</TR>
<TR><TD><BR/></TD></TR>
</TABLE>
</TD>
<TD></TD>
</TR>
<TR>
<TD/>
<TD/>
<TD/>
<TD/>
<TD>
<BUTTON id="moveChooseColumnFieldUpButton" name="moveChooseColumnFieldUpButton" class="sortButton" title="Move the selected attribute one level up in choose column order" value = "Move Up" tabindex="5" onclick="moveChooseColumnOrderFieldUp()"/>Move Up
<BUTTON id="moveChooseColumnFieldDownButton" name="moveChooseColumnFieldDownButton" class="sortButton" title="Move the selected attribute one level up in choose column order" value = "Move Down " tabindex="6" onclick="moveChooseColumnOrderFieldDown()"/>Move Down
</TD>
</TR>
</TABLE>
</DIV>
<BR/>
<!-- start of the body for the sorting customization area.
-->
<DIV id="SortingDiv" >
<DIV class="tableHeaderDiv"> Sort Fields </DIV>
<TABLE class="sortDivClass">
<TR>
<TD> Available fields: </TD>
<TD style="visibility:hidden;font-size:4pt">notdis</TD>
<TD/>
<TD style="visibility:hidden;font-size:4pt">is</TD>
<TD> Sorted fields: </TD>
<TD/>
</TR>
<TR>
<TD>
<DIV id="AvailableFieldsForSortDiv" >
<select name="AvailableFieldsForSort" accesskey="f" tabindex="10" style="width=180px;font:icon" size="9" multiple="true" ondblclick="addSortField()" >
</select>
</DIV>
</TD>
<TD/>
<TD>
<TABLE>
<TR>
<TD>
<BUTTON class="smallButton" id="addSortField" name="addSortField" title="Add selected field to pending sort order" tabindex="11" onclick="addSortField()"/>Add <SPAN style="font-family:Verdana;font-size:12">>></SPAN>
</TD>
</TR>
<TR>
<TD>
<BUTTON class="smallButton" id="removeSortField" name="removeSortField" title="Remove selected field from pending sort order" tabindex="12" onclick="removeSortField()"/><SPAN style="font-family:Verdana;font-size:12">&lt;&lt;</SPAN> Remove
</TD>
</TR>
</TABLE>
</TD>
<TD/>
<TD>
<DIV id="selectedFieldsForSortDiv" >
<select name="selectedFieldsForSort" style="width:180px;font:icon" size="9" multiple="true" tabindex="13" onchange="disableUpDownSort()" ondblclick="removeSortField()">
</select>
</DIV>
</TD>
<TD>
<TABLE class="sortDivClass">
<TR>
<TD>
<input type="radio" name="SortOrderType" id="sortAscending" value="SortOrderType" title="Do the sorting on ascending order" checked="true" tabindex="14" onclick="ascendingSelected()">Ascending </input><BR/>
<input type="radio" name="SortOrderType" id="sortDescending" value="SortOrderType" title="Do the sorting on descending order" tabindex="15" onclick="descendingSelected()">Descending</input>
</TD>
</TR>
<TR>
<TD>
<BUTTON id="doSortButton" name="doSortButton" class="smallButton" title="Sort the date by the selected attributes" tabindex="18" onclick="doSorting()"/>Apply
</TD>
</TR>
<TR>
<TD>
<BUTTON id="resetSortButton" name="resetSortButton" class="smallButton" title="Change to default column sorting" tabindex="19" onclick="resetSortFields()"/>Default
</TD>
</TR>
<TR>
<TD>
<BUTTON id="cancelSortButton" name="cancelSortButton" class="smallButton" title="Cancel to previous column sorting" tabindex="20" onclick="cancelSortingSelection()"/>Reload
</TD>
</TR>
</TABLE>
</TD>
<TD></TD>
</TR>
<TR>
<TD/>
<TD/>
<TD/>
<TD/>
<TD>
<BUTTON id="moveSortFieldUpButton" name="moveSortFieldUpButton" class="sortButton" title="Move the selected attribute one level up in sort order" value = "Move Up" tabindex="16" onclick="moveSortingFieldUp()"/>Move Up
<BUTTON id="moveDownSortFieldButton" name="moveDownSortFieldButton" class="sortButton" title="Move the selected attribute one level up in sort order" value = "Move Down " tabindex="17" onclick="moveSortingFieldDown()"/>Move Down
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<!-- start of the body for the start up customization area
-->
<DIV id="StartupDiv" style="font-icon">
<BR><BR>
</DIV>
<!-- here ends the customization area.
-->
</DIV>
<!-- Now starts the task area which has the viewer title, the connection and search.
-->
<DIV id=taskDiv style="margin:0;border:0;padding:0;DISPLAY: none; HEIGHT: auto">
<!-- The table below encapsulates the header row of the EEL Viewer
-->
<TABLE class="titleDiv" onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TR>
<TD>Enterprise Event Log Viewer</TD>
<TD align="right"><BUTTON class="customizeButton" ID="custButton" accessKey="u" name="customizeButton" title="Customize the viewer display" onclick="customize()">C<u>u</u>stomize View</BUTTON>
<BUTTON class="titleButton" ID="helpButton" accessKey="h" name="helpButton" title="Show Help" onclick="bringUpHelp()"><u>H</u>elp</BUTTON>
</TD>
</TR>
</TABLE>
<!-- Here starts the title of the connection pane
-->
<DIV id="CONNECTIONTHEAD" onselect="ignoreEvent()" onselectstart="ignoreEvent()" class="tableHeaderDiv">
<IMG ondragstart="ignoreEvent()" id=ConnectionImage onclick=showHideConnection() src="images\downgif.gif" style="CURSOR: hand" title ="Hide the Connection Window" ></IMG> Connection
<SPAN id="NoConnectionSetup" style="FONT: icon; LEFT: 169px; POSITION: relative">
No Connection Setup
</SPAN>
</DIV>
<!-- Now we have the connection pane body.
-->
<DIV id="CONNECTIONTBODY">
<TABLE name="CONNECTIONTABLE" style="FONT: icon; PADDING-RIGHT: 35px">
<TR id="CONNECTIONT1R1" class="connectHeader2Div" style="FONT: icon">
<TD style="FONT: icon; PADDING-RIGHT: 20px">
<TABLE style="FONT: icon">
<TR>
<TD nowrap>
<SPAN onselect="ignoreEvent()" onselectstart="ignoreEvent()" >Computer &nbsp;&nbsp;</SPAN>
<SPAN>
<INPUT name="MachineName" value ="localhost" id="MachineName" title="Enter the name of the machine for which you want to see the log" size="25" style="FONT: icon">
</SPAN>
</TD>
</TR>
<TR onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TD nowrap>
<input type="radio" style="CURSOR: hand; FONT: icon" id="EELradio" name="eventLogType" value="EEL Log" checked="true" onclick="selectEEL()">
</input>
<label for="EELradio" style="CURSOR: hand; FONT: icon" id="EEL" value="EEL Log" onclick="selectEEL()">
Enterprise Event Log
</label>
<input type="radio" style="CURSOR: hand; FONT: icon" id="NTradio"name ="eventLogType" value="NT Log" onclick="selectNT()">
</input>
<label for ="NTradio" style="CURSOR: hand; FONT: icon" id="NT" value="NT Log" onclick="selectNT()">
NT Event Log
</label>
</TD>
</TR>
</TABLE>
</TD>
<TD onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<BUTTON class="smallButton" accessKey="n" title="Connect to the machine" ID="connectButton" Name="connectButton" border="0" onclick=" makeConnection('All')">Co<u>n</u>nect</BUTTON>
</TD>
</TR>
</TABLE>
</DIV>
<!-- Here starts the title of the search pane
-->
<DIV id="SEARCHHEAD" onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TABLE class="tableHeaderDiv"><TR ><TD nowrap=true>
<IMG ondragstart="ignoreEvent()" id=SearchImage onclick=showHideSearch() src="images/arrowrgt.gif" style ="CURSOR: hand" title="Hide the Search Window" >
</IMG> Search &nbsp;&nbsp;
</TD>
<TD id="recordStatus" style="FONT: icon " >
</TD>
<TD id="searchStatus" style="FONT: icon" >
</TD>
</TD>
<TD align="right">
&nbsp;&nbsp;
<BUTTON class="refreshButton" disabled=true accessKey="p" title="Rerun the current search" ID="refreshButton" Name="refreshButton" border="0" onclick=" refreshSearch()">U<u>p</u>date</BUTTON>
</TD></TR></TABLE>
</DIV>
<!-- Now starts the search body
-->
<!-- start RUCHI
-->
<DIV id="SEARCHDIV" style="DISPLAY: none">
<TABLE id="SEARCHTABLE1" cellspacing="0">
<TR id="SEARCHT1R1" dataRow="0" nowrap="false">
<TABLE id="SEARCHTABLE2" cellspacing="0px">
<TR id="SEARCHT2R1" class="searchHeaderDiv">
<TD>
<TABLE>
<TR onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TD style="font:icon" >
<SPAN id="eventTypeName">Event Type:</SPAN>
<DIV id="EventTypeSelectionDiv">
<select class="EventTypeSelectionType" name="EventTypeSelection">
</select>
</DIV>
</TD>
</TR>
</TABLE>
</TD>
<!-- <TD style="visibility:hidden;font-size:5pt;">nottod</TD> -->
<TD>
<TABLE id="TSEARCHSNGLCOND" style="font:icon" cellspacing="0">
<TR>
<TD>
<TABLE onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TR>
<TD style="font:icon" align="left" >
Field:
<DIV id="EELFieldInput" style="border-style:flat;border-width:0;border-color:black">
<select class="fieldTypeEnum" id="FieldInput" title="select field name" onchange="displayOperatorType()">
</select>
</DIV>
</TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TR>
<TD style="font:icon" >Operator:
<DIV id="OperatorTypeDiv">
<select class="operatorTypeEnum" name="OperatorType">
<OPTION/>
</select>
</DIV>
</TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE>
<TR>
<TD style="font:icon" >
Value:
<DIV id="ValueInputDiv">
<INPUT class="ValueInputClass" type="text" name="valueInput" size="10"/>
</DIV>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
<TD style="visibility:hidden">
not
</TD>
<TD>
<TABLE onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TR>
<BR/>
<TD>
<BUTTON class="verySmallButton" Type="BUTTON" ID="addOrButton" NAME="addOrButton" border="0" title="Add to Search" onclick="addOrToSearchCriteria()">Or</BUTTON>
</TD>
<TD>
<BUTTON class="verySmallButton" Type="BUTTON" ID="addAndButton" NAME="addAndButton" border="0" title="Add to Search" onclick="addAndToSearchCriteria()">And</BUTTON>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR id="SEARCHT1R1R5" class="searchHeaderDiv"> <TD>
<TABLE style="font:icon">
<TR onselect="ignoreEvent()" onselectstart="ignoreEvent()" ><TD>Previous searches:</TD></TR>
<TR onselect="ignoreEvent()" onselectstart="ignoreEvent()" ><TD> <select class="savedSearchTypeEnum" onchange="loadQuery()" title="Select any one of the named queries" name="savedSearches"></select> </TD></TR>
<TR><TD>
<TABLE style="font:icon">
<TR><TD nowrap="true"><SPAN onselect="ignoreEvent()" onselectstart="ignoreEvent()" >Save as: </SPAN></TD>
<TD><SPAN >
<INPUT id="saveAs" style="font:icon" title="Enter a name for the current search query" size="17" >
</INPUT>
</SPAN></TD>
</TR>
</TABLE>
</TD></TR>
<TR onselect="ignoreEvent()" onselectstart="ignoreEvent()" ><TD>
<TABLE>
<TR><TD width="35"></TD><TD align="left"><BUTTON class="smallButton" accessKey="s" onclick="saveQuery();" title="Save the query" name="saveButton" id="saveButton"><u>S</u>ave</BUTTON></TD></TR>
</TABLE>
</TD></TR>
</TABLE></TD>
<TD align="left">
Current search conditions:<BR/>
<DIV class="searchCriteriaTableDiv" onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<TABLE class="searchCriteriaTable" id="SearchTable" cellspacing="0">
<COL WIDTH="95px"/><COL WIDTH="60px"/><COL WIDTH="80px"/>
<TR id = "tr1" onclick="searchRowSelected()">
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
</TR>
<TR onclick="searchRowSelected()">
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
</TR>
<TR onclick="searchRowSelected()">
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
</TR>
<TR onclick="searchRowSelected() ">
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
<TD class="searchTableDataAlignLeft"><BR/></TD>
</TR>
</TABLE>
</DIV>
</TD>
<TD></TD>
<TD align="left" onselect="ignoreEvent()" onselectstart="ignoreEvent()" >
<BUTTON class="smallButton" ID="executeButton" NAME="executeButton" accessKey="r" border="0" title="Execute Search Query" onclick=" executeQuery('false')"><u>R</u>un</BUTTON>
<BR/><BR/>
<BUTTON class="smallButton" NAME="removeButton" ID="removeButton" border="0" title="Remove selected condition from search criteria" onclick=" removeSearchCondition()">Delete Row</BUTTON>
<BR/><BR/>
<BUTTON class="smallButton" NAME="clearButton" ID="clearButton" border="0" title="Clear current search query to enter a new query" onclick="clearQuery()">Clear Rows</BUTTON>
</TD>
</TR>
</TABLE>
</TR>
</TABLE>
</DIV>
<!-- end RUCHI
-->
<!-- Here ends the search pane body
-->
</DIV>
<!-- Start of the main table div. Filled in via XSL
-->
<DIV id=tableDiv onselect="ignoreEvent()" onselectstart="ignoreEvent()" style="OVERFLOW-X:auto; OVERFLOW-Y: hidden; WIDTH: 98%"></DIV>
<!-- Start of the drill down DIV.
-->
<DIV id=drillDownDiv onselect="ignoreEvent()" onselectstart="ignoreEvent()"
style="HEIGHT: 0px; OVERFLOW-X: auto; OVERFLOW-Y: scroll; WIDTH: 100%"></DIV></DIV>
<!-- For the scroll bar
-->
<DIV id=scrollBar onselect="ignoreEvent()" onselectstart="ignoreEvent()"
style="BEHAVIOR: url (scroll.htc); OVERFLOW: visible; POSITION: absolute; VISIBILITY: hidden; WIDTH: 18px" >
</DIV>
<DIV></DIV>
<DIV id="lineDivDrillDown" onselect="ignoreEvent()" onselectstart="ignoreEvent()" style="display:none" class="lineDivDrillDown">
<TABLE style="height:1;border:1"><TR style="display:none"><TD></TD></TR></TABLE>
</DIV>
</BODY>
<!--
// XML Data Island "eelData" will represent the XML data to be displayed
// as a table format.
-->
<XML id="eelNode"></XML>
<XML id="eelData"></XML>
<XML id="eelDataItem"></XML>
<XML id="eelDataCache"></XML>
<!--
// XML Data Island "tableViewSeq" will represent the XSL file that is for a
// a sequential view of the table data.
-->
<XML id="tableViewSeq" SRC="tablView.xsl"></XML>
<XML id="conv" SRC="NTEvConv.xsl"></XML>
<XML id="searchData" SRC="searchData.xml"></XML>
<XML id="EELcolOrder" SRC="EELcols.xml"></XML>
<XML id="NTcolOrder" SRC="NTcols.xml"></XML>
<XML id="eelDrillDownView" SRC="eelDrlDn.xsl"></XML>
<XML id="ntDrillDownView" SRC="ntDrlDwn.xsl"></XML>
<XML ID="drillDownTemp"></XML>
<XML ID="eelEntrySchema"></XML>
<XML ID="ntSchema"></XML>
<XML id="savedQueries"></XML>
</HTML>
<!-- ******************************************************** -->
<!-- -->
<!-- Copyright (c) 1999-2000 Microsoft Corporation -->
<!-- -->
<!-- eelview.hta -->
<!-- -->
<!-- Build Type : 32 Bit Free -->
<!-- Build Number : 0707 -->
<!-- Build Date : 07/07/2000 -->
<!-- ******************************************************* -->