windows-nt/Source/XPSP1/NT/admin/pchealth/helpctr/rc/rdc/rctoolscreen2.htm
2020-09-26 16:20:57 +08:00

227 lines
8 KiB
HTML

<%@ Language=JavaScript%>
<!--
rctool.htm: This is the Remote Control Expert channel implementation.
History:
Rajesh Soy (nsoy), Jerry O Hogan (a-jerryo), Sudha Srinivasan - created 06/21/2000
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Windows Remote Control Tool</title>
<!--
Scripts to handle UI and Remote Control
-->
<script>
//
// Salem Objects.
//
var g_oSAFRemoteDesktopClient = null;
var g_oSAFRemoteDesktopChannelMgr = null;
var g_oChatChannel = null;
var g_oControlChannel = null;
//
// Globals
//
var g_bRCEnabled = false;
var g_szRCTicket = null;
var g_bConnected = false;
var g_szUserName = null;
var g_bChatBoxHidden = false;
var g_bNewBinaries = false;
var UserWidth = window.screen.availWidth;
var UserHeight = window.screen.availHeight;
var UserColorDepth = window.screen.colorDepth;
var g_bUserDisconnect = false;
var timecounter = 0;
var minutes = 2;
var seconds = 2;
var NotConnected = 1; // true
</script>
<script LANGUAGE="Javascript" SRC="Constants.js"> </script>
</head>
<script LANGUAGE="Javascript" SRC="RCScripts.js"> </script>
<OBJECT ID=pchealth classid=CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7></OBJECT>
</head>
<body id="RCToolBody" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload=InitScreen2()>
<!--
Screen 2 code
-->
<div id=screen2 STYLE="position:absolute;top:0;left:0;width:640">
<div id="div1" bgcolor="#4a8ece"> <!-- Start of 1st Div -->
<table id="table3" width="100%" border="0" cellspacing="1" cellpadding="0" height="28">
<tr valign="middle">
<!-- Logo -->
<td>
<img src="WinRCTitleChat.gif" >
</td>
<!-- Connection Status -->
<td colspan="3" height="2">
<table id="table4" width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#FFFFFF" height="22">
<tr bgcolor="#4a8ece">
<td height="8">
<table id="table5" width="100%" border="0" cellspacing="0" cellpadding="0" height="18">
<tr valign="middle">
<td colspan="2" nowrap height="2">
<div align="left">
<font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><b>&nbsp;STATUS:
</b><div id="StatusId"> &nbsp;&nbsp; </div></font>
</div>
</td>
</tr>
</table> <!-- End of table5 -->
</td>
</tr>
</table> <!-- End of table4 -->
</td>
</tr>
<tr bgcolor="#4a8ece">
<!-- Remote Control Button -->
<td>
<div align="center" id="div3" > <!-- Start of 3rd Div -->
<table id="table6" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td >
<div align="center">
<input type="submit" id=ControlRemotePC name=ControlRemotePC onclick=ControlRemotePCHandler() value="Start Remote Control">
</div>
</td>
</tr>
</table> <!-- End of table6 -->
</div> <!-- End of 3rd Div -->
</td>
<!--File Transfer button -->
<td>
<div align="center">
<input type="button" id="FileXferId" value="File Transfer" onclick=LaunchFileXfer(0)>
</div>
</td>
<!--Remote Data Collection button -->
<td>
<div align="center">
<input type="button" id="RemoteDataCollectionId" value="Remote Data Collection" onclick=LaunchRemoteDataCollection(0)>
</div>
</td>
<!-- Close connection button -->
<td width="19%" height="2" nowrap>
<div align="left">&nbsp;
<input type="button" id=ConnectionId onclick="ToggleConnection()" >
</div>
</td>
<!-- Help Button -->
<td width="20%" height="2" nowrap>
<div align="right"> <b>
<input type="submit" id="HelpId" value="Help">
</b> </div>
</td>
</tr>
</table> <!-- End of table3 -->
</div> <!-- End of 1st Div -->
<div id="div2" bgcolor="#4a8ece" align="center" style="position:absolute;top:100;left:0;width=640"> <!-- Start of 2nd Div -->
<OBJECT classid=clsid:299BE050-E83E-4DB7-A7DA-D86FDEBFE6D0
data=data:application/x-oleobject;base64,UOCbKT7ot02n2thv3r/m0AADAAAlQgAAnDEAAA==
id=RemoteDesktopClientHost
style="BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid;width=800"
VIEWASTEXT>
</OBJECT>
</td>
</div><!-- End of 2nd Div -->
<div id="group1" style="position:absolute;top:70;left:10" > <!-- Start of group1 -->
<div align="center" style="left:10" bgcolor="#4a8ece" id="div4"> <!-- Start of 4th Div -->
<table id="table7" width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>
<div align="left">
<TEXTAREA wrap="VIRTUAL" cols="84" rows="15" id=incomingChatText name=incomingChatText readOnly ></TEXTAREA>
</div>
</td>
</tr>
</table> <!-- End of table7 -->
</TD>
</div> <!-- End of 4th Div -->
<div align="center" bgcolor="#4a8ece" id="div5" style="left:10"> <!-- Start of 5th Div -->
<table id="table8" width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>
<textarea id=chatText name=chatText cols="64" wrap="VIRTUAL" rows="2" onkeypress=OnEnter()></textarea>
</td>
<td>
<div align="left">
<input type="submit" id=sendChatButton name=sendChatButton onclick=SendChatData() value="Submit Message">
</div>
</td>
</tr>
</table> <!-- End of table8 -->
</td>
</div> <!-- End of 5th Row -->
</div><!-- End of group1 -->
<div id=connecting align="center" style="position:absolute;top:1;left:1;visibility:hidden">
<table border="0" cellspacing="4" cellpadding="0" bgcolor="#99CCFF">
<tr>
<td>
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000">Remote
Control Session Status</font>
</div>
</td>
</tr>
</table>
<table width="700" border="0" cellspacing="2" cellpadding="4" bgcolor="e0e0e0">
<tr bgcolor="#FFFFFF">
<td colspan="2" valign="middle" height="2">
<div align="center">
<p id=ConnectMessage><font color="#333333"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000099"><br>
Attempting to Connect with...</font><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000099"><br>
</font></font><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000099"><font size="2" face="Courier New, Courier, mono"><font face="Arial, Helvetica, sans-serif">
</p>
<p id=ConnectHelpee>
John Cady (your friend from econ class)</font></font></font><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#333333"><font size="2" face="Courier New, Courier, mono">
</font></font></p>
<p id = TwoMinutesText> 2 Minutes </p>
</div>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp; </td>
</tr>
<tr>
<td>
<div align="Left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<input id=FailedRetry type="submit" name="Retry" value="RETRY" onclick=ToggleConnection()> &nbsp;&nbsp; <input type="submit" name="Submit" value="Cancel ">
&nbsp;&nbsp; &nbsp; &nbsp;</font><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>
&nbsp; </font></div>
</td>
</tr>
</table>
</div> <!-- End of connecting -->
</div> <!-- End of Screen 2 -->
</body>
</html>