<%-- $Id: CompleteAdminPanel.jsp,v 1.1.2.9.2.19 2006/05/18 02:22:20 jeyaprakash Exp $ --%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

<html>
<head>
<title><fmt:message key='webclient.common.tree.adminnode.completeview'/></title>
</head>

<body>

<table border=0 cellspacing=0 cellpadding=10 width=100%>
<tr >
<td width="50%">

<table border="0" cellpadding="10" cellspacing="0" class="dbborder1" cols=4 style="text-align: left; width: 100%;">
	<tr>
      <td colspan="4" align="left" class="headgGrad"><span><fmt:message key='webclient.admin.adminpanel.securityadm'></fmt:message></span></td>
    </tr>
<tr align="center"> 


<%-- ******* User Details  related Code snippet ******* --%>

<c:choose>

<c:when test="${listOfUser == 'true'}">
	  <td colspan='1'><a class="adminLink" href ="/admin/UserAdmin.do?"><IMG border='0' align=center src='/webclient/admin/images/users.gif' ><br/><fmt:message key="webclient.admin.adminpanel.userconfig"/></a></td>
</c:when>

<c:otherwise>  
    <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/users.gif' ><br/><fmt:message key="webclient.admin.adminpanel.userconfig"/></td>
</c:otherwise>

</c:choose>

<%-- ******* User Details related Code snippet ******* --%>


<%-- ******* Group Details related Code snippet ******* --%>
<c:choose>
<c:when test="${groupList == 'true'}">
      <td colspan='1'> <a class="adminLink" href ="/admin/GroupAdmin.do?"><IMG border='0' align=center src='/webclient/admin/images/groups.gif' ><br/><fmt:message key="webclient.admin.adminpanel.groupconfig"/></td>
</c:when>
<c:otherwise>
    <td colspan='1'> <IMG border='0' align=center src='/webclient/admin/images/groups.gif' ><br/><fmt:message key="webclient.admin.adminpanel.groupconfig"/></a></td>
</c:otherwise>
</c:choose>
<%-- ******* Group Details related Code snippet ******* --%>


<%-- ******* Operations settings related Code snippet ******* --%>

<c:choose>

<c:when test="${setOperations == 'true'}">
         <td colspan='1'>  <a class="adminLink" href ="javascript:openWindow('/admin/OperationsView.do?selectedTab=admin&selectedNode=securityadmin&Operation=AddOperation','OperationTree','450','580',',scrollbars=yes,resizable=no,directories=no,menubar=no,toolbar=no')"> <IMG align=center border='0' src='/webclient/admin/images/operations.gif' ><br/><fmt:message key="webclient.admin.adminpanel.operationconfig"/></a> </td>
</c:when>

<c:otherwise>
    <td colspan='1'><IMG align=center border='0' src='/webclient/admin/images/operations.gif' ><br/><fmt:message key="webclient.admin.adminpanel.operationconfig"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Operation settings related Code snippet ******* --%>


<%-- ******* Audit Trails settings related Code snippet ******* --%>

<c:choose>

<c:when test="${auditTrails == 'true'}">
      <td colspan='1'> <a class="adminLink" href ="/admin/AuthAudit.do?"><IMG border='0' align=center src='/webclient/admin/images/adminmodifyusericon.gif' ><br/><fmt:message key="webclient.admin.adminpanel.audittrails"/></td>
</c:when>

<c:otherwise>
    <td colspan='1'> <IMG border='0' align=center src='/webclient/admin/images/adminmodifyusericon.gif' ><br/><fmt:message key="webclient.admin.adminpanel.audittrails"/></a></td>
</c:otherwise>

</c:choose>

<%-- ******* Audit Trails settings related Code snippet ******* --%>


<%-- ******* Remove User related Code snippet ******* --%>
<%--
<c:choose>
<c:when test="${removeUser == 'true'}">
      <td colspan='1'>  <a class="adminLink" href ="/admin/InvokeRemoveUserForm.do?selectedTab=admin&selectedNode=removeuser"><IMG border='0' align=center src='/webclient/admin/images/admindeleteusericon.gif' ><br/><fmt:message key="webclient.admin.adminpanel.removeuser"/></a></td>
</c:when>
<c:otherwise>  
    <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/admindeleteusericon.gif' ><br/><fmt:message key="webclient.admin.adminpanel.removeuser"/></td>
</c:otherwise>
</c:choose>
--%>
<%-- ******* Remove User related Code snippet ******* --%>

</tr>
</table>
</td>
<td width="50%">
<table border="0" cellpadding="10" cellspacing="0" class="dbborder1" cols=4 style="text-align: left; width: 100%;">
<tr>
      <td colspan="4" align="left" class="headgGrad"><span ><fmt:message key='webclient.admin.networkadmin.treenode'></fmt:message></span></td>
    </tr>
<tr align="center"> 

<%-- ******* Add Network  related Code snippet ******* --%>

<c:choose>

<c:when test="${addNode == 'true'}">
      <td colspan='1' nowrap> <a class="adminLink" href ="/topo/addNode.do"><IMG border='0' align=center src='/webclient/admin/images/adminaddnode.gif' ><br/><fmt:message key="webclient.admin.networkadmin.addnode.title"/></a></td>
</c:when>

<c:otherwise>
    <td colspan='1' nowrap><IMG border='0' align=center src='/webclient/admin/images/adminaddnode.gif' ><br/><fmt:message key="webclient.admin.networkadmin.addnode.title"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Add Network related Code snippet ******* --%>


<%-- ******* Add Node  related Code snippet ******* --%>

<c:choose>

<c:when test="${addNetwork == 'true'}">
      <td colspan='1' nowrap>  <a class="adminLink" href ="/topo/addNetwork.do"><IMG align=center border='0' src='/webclient/admin/images/adminaddnetwork.gif' ><br/><fmt:message key="webclient.admin.networkadmin.addnetwork.title"/></a></td>
</c:when>

<c:otherwise>
    <td colspan='1' nowrap><IMG align=center border='0' src='/webclient/admin/images/adminaddnetwork.gif' ><br/><fmt:message key="webclient.admin.networkadmin.addnetwork.title"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Add Node related Code snippet ******* --%>


<%-- ******* Refresh Node  related Code snippet ******* --%>

<c:choose>

<c:when test="${refreshNode == 'true'}">
      <td colspan='1' nowrap><a class="adminLink" href ="/topo/refreshNode.do"><IMG border='0' align=center src='/webclient/admin/images/adminrefreshnode.gif'  ><br/><fmt:message key="webclient.admin.networkadmin.refreshnode"/></a></td>
</c:when>

<c:otherwise>
    <td colspan='1' nowrap><IMG border='0' align=center src='/webclient/admin/images/adminrefreshnode.gif'  ><br/><fmt:message key="webclient.admin.networkadmin.refreshnode"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Refresh Node related Code snippet ******* --%>

	   <td colspan='1'> 
	  &nbsp;
      </td>
   </tr>
   </table>
</td>
</tr>


<tr>

</td>
<td valign="top" width="50%" >
<table border="0" cellpadding="10" cellspacing="0" class="dbborder1" cols=4 style="text-align: left; width: 100%;">
	<tr>
      <td colspan="4" align="left" class="headgGrad"><span ><fmt:message key='webclient.admin.runtime.title'></fmt:message></span></td>
    </tr>
    <tr align="center"> 



<%-- ******* Discovery Parameter related Code snippet ******* --%>

<c:choose>

<c:when test="${runtimeAdmin=='true'}">  
          <td colspan='1'> <a class="adminLink" href ="/admin/ConfigDiscParam.do"><IMG border='0' align=center src='/webclient/admin/images/admindiscparam.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.discpara.link"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/admindiscparam.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.discpara.link"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Discovery Parameter related Code snippet ******* --%>


<%-- ******* Discovery Criteria related Code snippet ******* --%>

<c:choose>

<c:when test="${runtimeAdmin=='true'}">  
          <td colspan='1'>  <a class="adminLink" href ="/admin/CriteriaBasedDiscovery.do"><IMG align=center border='0' src='/webclient/admin/images/admindisccriteria.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.disccriteria.link"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG align=center border='0' src='/webclient/admin/images/admindisccriteria.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.disccriteria.link"/></td>

</c:otherwise>

</c:choose>

<%-- ******* Discovery Criteria related Code snippet ******* --%>

<%-- ******* rediscovery schedular related Code snippet ******* --%>

<c:choose>

<c:when test="${runtimeAdmin=='true'}">
        <td colspan='1'> <a class="adminLink" href ="/admin/ReDiscoverySchedular.do"><IMG border='0' align=center src='/webclient/admin/images/admindiscparam.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.rediscpara.link"/></a></td>
</c:when>

<c:otherwise>
         <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/admindiscparam.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.rediscpara.link"/></td>
</c:otherwise>

</c:choose>


<%-- ******* rediscovery schedular related Code snippet ******* --%>
<%-- ******* Notification Profiles related Code snippet *******--%>
<c:choose>

<c:when test="${getEventFilters=='true' || setEventFilters=='true' || getAlertFilters=='true' || setAlertFilters=='true'}">
          <td colspan='1'>  <a class="adminLink" href ="/admin/NotificationProfiles.do"><IMG border='0' align=center src='/webclient/admin/images/notification_profiles.gif' ><br/><fmt:message key="webclient.admin.filters.notifications"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/notification_profiles.gif' ><br/><fmt:message key="webclient.admin.filters.notifications"/></td>
</c:otherwise>
</c:choose>
<%-- ******* Notification Profiles related Code snippet *******--%>
<%-- ******* Trap Parser related Code snippet ******* 

<c:choose>

<c:when test="${getTrapParser=='true' || setTrapParser=='true'}">  
          <td colspan='1' nowrap><a class="adminLink" href ="/admin/TrapParser.do"><IMG border='0' align=center src='/webclient/admin/images/admintrapparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.trapparser.link"/></a></td>
</c:when>

<c:otherwise>
          <td class="text" colspan='1' nowrap><IMG border='0' align=center src='/webclient/admin/images/admintrapparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.trapparser.link"/></td>
</c:otherwise>
          
</c:choose>

<%-- ******* Trap Parser related Code snippet ******* --%>

<%-- ******* Event Parser related Code snippet ******* 

<c:choose>

<c:when test="${getEventParser=='true' || setEventParser=='true'}">  
          <td colspan='1'><a class="adminLink" href ="/admin/EventParser.do"><IMG border='0' align=center src='/webclient/admin/images/admineventparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.eventparser.link"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/admintrapparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.eventparser.link"/></td>
</c:otherwise>
          
</c:choose>

<%-- ******* Event Parser related Code snippet ******* --%>
</tr>

<tr align="center"> 
<%-- ******* Trap Parser related Code snippet ******* --%>

<c:choose>

<c:when test="${getTrapParser=='true' || setTrapParser=='true'}">
          <td colspan='1'><a class="adminLink" href ="/admin/TrapParser.do"><IMG border='0' align=center src='/webclient/admin/images/admintrapparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.trapparser.link"/></a></td>
</c:when>

<c:otherwise>
          <td class="text" colspan='1'><IMG border='0' align=center src='/webclient/admin/images/admintrapparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.trapparser.link"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Trap Parser related Code snippet ******* --%>
<%-- ******* Event Parser related Code snippet ******* --%>

<c:choose>

<c:when test="${getEventParser=='true' || setEventParser=='true'}">
          <td colspan='1'><a class="adminLink" href ="/admin/EventParser.do"><IMG border='0' align=center src='/webclient/admin/images/admineventparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.eventparser.link"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/admintrapparsericon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.eventparser.link"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Event Parser related Code snippet ******* --%>
<%-- ******* Event Filters related Code snippet ******* --%>

<c:choose>

<c:when test="${getEventFilters=='true' || setEventFilters=='true'}"> 
          <td colspan='1' nowrap>  <a class="adminLink" href ="/admin/EventFilters.do"><IMG border='0' align=center src='/webclient/admin/images/event_filters.gif' ><br/><fmt:message key="webclient.admin.filters.event"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1' nowrap><IMG border='0' align=center src='/webclient/admin/images/event_filters.gif' ><br/><fmt:message key="webclient.admin.filters.event"/></td>
</c:otherwise>
          
</c:choose>

<%-- ******* Event Filters related Code snippet ******* --%>

<%-- ******* Alert Filters related Code snippet ******* --%>

<c:choose>

<c:when test="${getAlertFilters=='true' || setAlertFilters=='true'}"> 
          <td colspan='1' nowrap>  <a class="adminLink" href ="/admin/AlertFilters.do"><IMG border='0' align=center src='/webclient/admin/images/alert_filters.gif' ><br/><fmt:message key="webclient.admin.filters.alert"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1' nowrap><IMG border='0' align=center src='/webclient/admin/images/alert_filters.gif' ><br/><fmt:message key="webclient.admin.filters.alert"/></td>
</c:otherwise>
          
</c:choose>

<%-- ******* Alert Filters related Code snippet ******* --%>

</tr>
</table>
</td>

<td valign="top">
<table border="0" cellpadding="8" cellspacing="0" class="dbborder1" cols=4 style="text-align: left; width: 100%;">
	<tr>
      <td colspan="4" align="left" class="headgGrad"><span ><fmt:message key='webclient.admin.systemadmin.serverstatus.details'></fmt:message></span></td>
    </tr>
	  <tr align="center"> 
      <td colspan='1'> <a class="adminLink" href ="/admin/AdminServerStatus.do?toPerform=serverDetails"><IMG border='0' align=center src='/webclient/admin/images/adminbedetails.gif' ><br/><fmt:message key="webclient.admin.sysadmin.bedetails.link"/></a></td>

      <td colspan='1'>  <a class="adminLink" href ="/admin/AdminServerStatus.do?toPerform=schedulerDetails"> 
        <IMG align=center border='0' src='/webclient/admin/images/adminschdetails.gif' ><br/><fmt:message key="webclient.admin.systemadmin.serverstatus.schedulerdetails"/></a>
      </td>
 
      <td colspan='1' nowrap>  <a class="adminLink" href ="/admin/AdminServerStatus.do?toPerform=portDetails"> 
        <IMG border='0' align=center src='/webclient/admin/images/adminportdetails.gif' ><br/><fmt:message key="webclient.admin.systemadmin.serverstatus.portdetails"/></a>
      </td>
	  
	  <td colspan='1'>  <a class="adminLink" href ="/admin/AdminServerStatus.do?toPerform=feDetails">
	          <IMG border='0' align=center src='/webclient/admin/images/adminfedetails.gif' ><br/><fmt:message key="webclient.admin.sysadmin.fedetails.link"/></a>
      </td>
</tr>
	  <tr align="center"> 
      <td colspan='1' nowrap>  <a class="adminLink" href ="/admin/AdminServerStatus.do?toPerform=clientDetails">
           <IMG border='0' align=center src='/webclient/admin/images/adminclientdetails.gif' ><br/><fmt:message key="webclient.admin.systemadmin.serverstatus.clientdetails"/></a>
       </td>
	    <td colspan='1' nowrap> <a class="adminLink" href ="/admin/ShowServerLogs.do?directory=logs"><IMG border='0' align=center src='/webclient/admin/images/adminserverlogs.gif' ><br/><fmt:message key="webclient.admin.systemadmin.serverlogs.title"/></a></td>
       <%-- ******* Logging and SpyLog related Code snippet ******* --%>
<c:choose>
<c:when test="${logging=='true'}">
         <td colspan='1'>  <a class="adminLink" href ="/admin/loggingAction.do"><IMG border='0' align=center src='/webclient/admin/images/adminloggingicon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.logging.link"/></a></td>
	 <td colspan='1'>  <a class="adminLink" href ="/admin/viewlogAction.do"><IMG border='0' align=center src='/webclient/admin/images/spylogicon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.spylog.link"/></a></td>
</c:when>

<c:otherwise>
         <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/adminloggingicon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.logging.link"/></td>
	<td colspan='1'> <IMG border='0' align=center src='/webclient/admin/images/spylogicon.gif' ><br/><fmt:message key="webclient.admin.runtimeadmin.spylog.link"/></td>
</c:otherwise>

</c:choose>

<%-- ******* Logging and SpyLog related Code snippet ******* --%>

	  <td colspan='1'> 
	  &nbsp;
      </td>
</tr>
     </table>
</td>
</tr>

<tr>

<td valign="top" width="50%">

<table border="0" cellpadding="10" cellspacing="0" class="dbborder1" cols=4 style="text-align: left; width: 100%;">
	<tr>
      <td colspan="4" align="left" class="headgGrad"><span ><fmt:message key='webclient.admin.systemadmin.modulestatus.title'></fmt:message></span></td>
    </tr>
		<tr align="center"> 
      <td colspan='1' nowrap width="30%"> <a class="adminLink" href ="/admin/DiscModuleStatus.do"><IMG border='0' align=center src='/webclient/admin/images/admindiscstatus.gif' ><br/><fmt:message key="webclient.admin.systemadmin.modulestatus.disc.title"/></a></td>

      <td colspan='1' width="30%" nowrap>  <a class="adminLink" href ="/admin/FaultModuleStatus.do"> 
        <IMG align=center border='0' src='/webclient/admin/images/adminfaultstatus.gif' ><br/><fmt:message key="webclient.admin.systemadmin.modulestatus.fault.title"/></a>
      </td>
 
      <td colspan='1' width="20%">  <a class="adminLink" href ="/admin/PerformanceModule.do"> 
        <IMG border='0' align=center src='/webclient/admin/images/adminperfstatus.gif' ><br/><fmt:message key="webclient.admin.systemadmin.modulestatus.perf.title"/></a>
      </td>
	  <td colspan='1' width="20%"> 
	  &nbsp;
      </td>
   </tr>
  </table>
</td>

<c:choose>
<c:when test="${adminStatus == 'true'}">


<td valign="top" width="50%" >
<table border="0" cellpadding="10" cellspacing="0" class="dbborder1" cols=4 style="text-align: left; width: 100%;">
	<tr>
      <td colspan="4" align="left" class="headgGrad"><span ><fmt:message key='webclient.admin.systemadmin.operationtitle'></fmt:message></span></td>
    </tr>
    <tr align="center"> 

<%-- ******* Shutdown NMS Server related Code snippet ******* --%>


<c:choose>

<c:when test="${shutDown == 'true'}">
          <td colspan='1'> <a class="adminLink" href ="/admin/ShutDown.do"><IMG border='0' align=center src='/webclient/admin/images/adminshutdown.gif' ><br/><fmt:message key="webclient.admin.systemadmin.shutdown.treename"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/adminshutdown.gif' ><br/><fmt:message key="webclient.admin.systemadmin.shutdown.treename"/></td>
</c:otherwise>

</c:choose>


<%-- ******* Shutdown NMS Server related Code snippet ******* --%>




<%-- ******* WebNMS Backup related Code snippet ******* --%>

<c:choose>

<c:when test="${backup == 'true'}">
          <td colspan='1'>  <a class="adminLink" href ="/admin/Backup.do"><IMG align=center border='0' src='/webclient/admin/images/adminbackup.gif' ><br/><fmt:message key="webclient.admin.systemadmin.services.backup.treename"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG align=center border='0' src='/webclient/admin/images/adminbackup.gif' ><br/><fmt:message key="webclient.admin.systemadmin.services.backup.treename"/></td>
</c:otherwise>

</c:choose>

<%-- ******* WebNMS BackUp related Code snippet ******* --%>



<%-- ******* WebNMS Resync with Backup related Code snippet ******* --%>

<c:choose>

<c:when test="${backup == 'true' && resumeNMS=='true'}">
          <td colspan='1'> <a class="adminLink" href ="/admin/ReSyncNEWithBackup.do"> <IMG border='0' align=center src='/webclient/admin/images/adminresyncwithbackup.gif' ><br/><fmt:message key="webclient.admin.sysadmin.resyncbackup.link"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1'><IMG border='0' align=center src='/webclient/admin/images/adminresyncwithbackup.gif' ><br/><fmt:message key="webclient.admin.sysadmin.resyncbackup.link"/></td>    
</c:otherwise>

</c:choose>

<%-- ******* WebNMS Resync with BackUp related Code snippet ******* --%>



<%-- ******* WebNMS Resync related Code snippet ******* --%>

<c:choose>

<c:when test="${resumeNMS=='true'}">  
          <td colspan='1' nowrap><a class="adminLink" href ="/admin/ReSyncNE.do"><IMG border='0' align=center src='/webclient/admin/images/adminresync.gif' ><br/><fmt:message key="webclient.admin.sysadmin.resync.link"/></a></td>
</c:when>

<c:otherwise>
          <td colspan='1' nowrap><IMG border='0' align=center src='/webclient/admin/images/adminresync.gif' ><br/><fmt:message key="webclient.admin.sysadmin.resync.link"/></td>
</c:otherwise>

</c:choose>

<%-- ******* WebNMS Resync related Code snippet ******* --%>



 </tr>
    </table>
 
</td>
</c:when>
</c:choose>
</tr>
</table>
</body>
</html>
