68 lines
2.6 KiB
HTML
68 lines
2.6 KiB
HTML
<html>
|
|
<title>SGI Embedded Support Partner - ver.1.0</TITLE>
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!--
|
|
function showMap()
|
|
{ var map=window.open('/help_delevent.html', 'help',
|
|
'width=650,height=350,status=yes,scrollbars=yes,resizable=yes');
|
|
map.main=self;
|
|
map.main.name="sss_main";
|
|
map.focus();
|
|
}
|
|
|
|
function findClass()
|
|
{ document.delClass.submit_type.value = '0';
|
|
}
|
|
|
|
function findEvent()
|
|
{ document.delClass.submit_type.value = '1';
|
|
}
|
|
|
|
function custClass()
|
|
{ classChoice = document.delClass.ev_class.selectedIndex;
|
|
if(classChoice == -1)
|
|
{ alert("You must choose a class to proceed");
|
|
return false;
|
|
}
|
|
if(document.delClass.submit_type.value == "0")
|
|
{ for(i = 0;i < document.delClass.ev_class.length;i++)
|
|
{ if(document.delClass.ev_class.options[i].selected)
|
|
{ result = document.delClass.ev_class.options[i].text;
|
|
msg1 = "You are about to delete class " + result;
|
|
msg1 += "\nWould you like to proceed?";
|
|
return confirm(msg1);
|
|
}
|
|
}
|
|
}
|
|
else return true;
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
</HEAD>
|
|
<body bgcolor="#ffffcc" link="#333300" vlink="#333300">
|
|
<a href="/$sss/$nocache"></a>
|
|
<form name="delClass" action="/$sss/rgs/libsemserver~EVENT_DELETE" onSubmit="return custClass()">
|
|
<TABLE border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<TR><TD bgcolor="#cccc99" width=15> </TD>
|
|
<TD bgcolor="#cccc99"><FONT FACE=Arial,Helvetica>SETUP > Events > Delete</TD></TR>
|
|
<TR><TD colspan=2> </TD></TR>
|
|
<TR><TD align=right colspan=2><FONT FACE=Arial,Helvetica><input TYPE=button onClick="showMap()" Value=" Help "></TD></TR>
|
|
<TR><TD colspan=2> </TD></TR>
|
|
<TR><TD> </TD>
|
|
<TD><FONT FACE=Arial,Helvetica>
|
|
<TABLE border=0 cellpadding=0 cellspacing=0>
|
|
<TR valign=top><TD><FONT FACE=Arial,Helvetica><font color="#cc6633"><b>Warning: </b></font></TD>
|
|
<TD ><FONT FACE=Arial,Helvetica>You can delete only events or classes that you have created. All records and information associated with these classes/events will also be deleted. "Delete Class" deletes a class and all the events that are associated with it. "Delete Event" provides a screen where you can select an event or events that you want to delete.</font></td></tr>
|
|
</table><p><hr><p>
|
|
Choose a class:<p>
|
|
<a href="/$sss/rg/libsemserver~CREATE_CLASS_LIST">Class List</a></dd></dl>
|
|
<INPUT TYPE="SUBMIT" VALUE=" Delete Class " onClick="findClass()">
|
|
|
|
<INPUT TYPE="SUBMIT" VALUE=" Delete Event " onClick="findEvent()">
|
|
<a href="/$sss/rg/libsemserver~GETSYSID">GETSYSID</a>
|
|
<INPUT TYPE="hidden" name="submit_type" value=""></form>
|
|
</td></tr>
|
|
</TABLE>
|
|
</form></body></html>
|
|
|