114 lines
3.8 KiB
HTML
114 lines
3.8 KiB
HTML
<html>
|
|
<head>
|
|
<title>SGI Embedded Support Partner - ver.1.0</title>
|
|
<script language=javascript>
|
|
<!--
|
|
function submitIt(form)
|
|
{
|
|
choice = -1
|
|
for(i = 0; i < form.connect_sys_name.length; i++)
|
|
{ if(form.connect_sys_name[i].checked)
|
|
choice=i;
|
|
}
|
|
if(choice == -1)
|
|
{ alert("You must chose Local or Remote system");
|
|
return false;
|
|
}
|
|
|
|
managerChoice = document.SystemChoice.manager.selectedIndex;
|
|
|
|
if(managerChoice == -1)
|
|
{ alert("You must chose Group or Single system Manager");
|
|
return false;
|
|
}
|
|
if(form.connect_sys_name[choice].value == "local")
|
|
{
|
|
if(managerChoice == 0) { // single system
|
|
url1 = "http://" + ipAddress + ":5554/index_sem.html";
|
|
location.replace(url1);
|
|
return false;
|
|
}
|
|
if(managerChoice == 1) { // group system
|
|
url1 = "http://" + ipAddress + ":5554/index_sgm.html";
|
|
location.replace(url1);
|
|
return false;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if(form.remote_host.value == "")
|
|
{ alert("You must enter Remote system name");
|
|
form.remote_host.focus();
|
|
return false;
|
|
}
|
|
else
|
|
{ if(form.manager[managerChoice].value == "single")
|
|
{
|
|
url1 = "http://" + form.remote_host.value + ":5554/index_sem.html";
|
|
location.replace(url1);
|
|
return false;
|
|
}
|
|
if(form.manager[managerChoice].value == "group")
|
|
{
|
|
url1 = "http://" + form.remote_host.value + ":5554/index_sgm.html";
|
|
location.replace(url1);
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body bgcolor="#ffffcc" link="#333300" vlink="#333300">
|
|
<form onSubmit="return submitIt(this)" method="POST" action="" name="SystemChoice">
|
|
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<tr><td bgcolor="#ffffcc"> </td>
|
|
<td bgcolor="#ffffcc"><img src="/images/ESP_head.gif"></td>
|
|
<td bgcolor="#ffffcc" align=right><img src="/images/sgi.gif"></td></tr>
|
|
<tr><td colspan=3> </td></tr>
|
|
<tr><td bgcolor="#333333" colspan=3> </td></tr>
|
|
<tr><td bgcolor="#cccc99" colspan=3> </td></tr>
|
|
<tr><td colspan=3> <p> </td></tr>
|
|
<tr><td></td>
|
|
<td colspan=2><center>
|
|
<table border=0 cellpadding=0 cellspacing=0>
|
|
<tr><td colspan=3><font face="Arial,Helvetica">Select the type of system manager:</font></td>
|
|
<td> </td>
|
|
<td><font face="Arial,Helvetica"><select name="manager">
|
|
<option value="single" selected>Single System
|
|
<option value="group">Group of Systems
|
|
</select></font></td></tr>
|
|
<tr><td colspan=5> </td></tr>
|
|
<tr><td colspan=5><font face="Arial,Helvetica">Select which system you'd like to connect to:</font></td></tr>
|
|
<tr><td colspan=5> </td></tr>
|
|
<tr><td><font face="Arial,Helvetica">Local System</font></td>
|
|
<td> </td>
|
|
<td><font face="Arial,Helvetica"><INPUT TYPE="RADIO" NAME="connect_sys_name" value="local" checked></font></td>
|
|
<td> </td>
|
|
<td><font face="Arial,Helvetica"><script language=javascript>
|
|
<!--
|
|
var ipAddress = location.hostname;
|
|
if (ipAddress != "")
|
|
{ document.writeln(""+ipAddress+"")
|
|
}
|
|
else
|
|
{ document.writeln("localhost");
|
|
}
|
|
// -->
|
|
</script></font></td></tr>
|
|
<tr><td><font face="Arial,Helvetica">Remote System</font></td>
|
|
<td> </td>
|
|
<td><font face="Arial,Helvetica"><INPUT TYPE="RADIO" NAME="connect_sys_name" value="remote"></font></td>
|
|
<td> </td>
|
|
<td><font face="Arial,Helvetica"><INPUT TYPE="TEXT" NAME="remote_host" size=20></font></td></tr>
|
|
<tr><td colspan=5> </td></tr>
|
|
<tr><td colspan=4></td>
|
|
<td><font face="Arial,Helvetica"><INPUT TYPE="SUBMIT" NAME="submit" VALUE=" Accept "></font></td></tr>
|
|
</table></center>
|
|
</td></tr>
|
|
</table>
|
|
</form>
|
|
</body>
|
|
</html>
|