<%-- $Id: accPieChart.jsp,v 1.1.2.8 2004/06/12 09:26:42 sivaprakash Exp $ --%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@ 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.fault.alarm.accpanel.piechart.title'/></title>
</head>
<%@include file="/webclient/common/jspf/commonIncludes.jspf" %>

<script language="javascript">
    
function showAlarmsFromAcc(severity)
{
    var url = "/fault/AlarmView.do?selectedTab=Fault&selectedNode=Alerts&severity="+severity;
    window.opener.location.href= url;
    window.close();
}

</script>

<body class="bgNone">
<form name="accPanel" action="<c:out value='${acc_link}'/>" method="post">
<table width="100%" border="0" align="center" cellpadding="6" cellspacing="0">

    <tr>
      <td class="accHeader" align="center"><fmt:message key='webclient.fault.alarm.accpanel.piechart.title'/></td>
     <td height="40" valign="bottom" align="center">  
      <select name="selCategory" class="textSmall" onchange="javascript:document.accPanel.submit()">
         <c:forEach var="list" items="${categoryList}">
          <option value="<c:out value='${list}'/>" <c:if test="${list == category}">selected</c:if>><c:out value="${list}"/></option>
         </c:forEach>
      </select>&nbsp; <span class="textSmall"><fmt:message key='webclient.fault.alarm.category'/></span>
     </td>
  </tr>

  <tr> 
    <td align="center" colspan="2">
      <img src="<c:out value='${filepath}'/>" border="0" usemap="#<c:out value='${filepath}'/>">
    </td>
  </tr>

</table>
</form>
</body>
</html>
