<%-- $Id: alarmSummary.jsp,v 1.1.2.3 2004/02/11 11:23:41 rsathish Exp $ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

<html>
<head>
<title>ACC Panel</title>
</head>

<table align=center border=0 width=96% cellspacing=0 cellpadding=1 >

<tr>
<td class="boldText" align=center valign="top" height="25">Alarm Summary</td>
</tr>

<tr>
<td align=center>
<c:choose>
  <c:when test="${accGraphType == 'Table'}">
  <c:url var="link" value="${expand_collapse_link}">
     <c:param name="accGraphType" value="PieChart"/>
  </c:url>
    <jsp:include page="/webclient/fault/jsp/accPanel.jsp"/>
    <br><img src="/webclient/common/images/treedot.gif" hspace=1 align=middle>

    <a href='<c:out value="${link}"/>&<c:out value="${querystring}"/>' class="textSmall"> View as Pie Chart</a>
  </c:when>
  <c:when test="${accGraphType == 'PieChart'}">
  <c:url var="link" value="${expand_collapse_link}">
     <c:param name="accGraphType" value="Table"/>
  </c:url>
    <jsp:include page="/webclient/fault/jsp/accPieChart.jsp"/>
    <img src="/webclient/common/images/treedot.gif" hspace=1 align=middle>

    <a href='<c:out value="${link}"/>&<c:out value="${querystring}"/>' class="textSmall">View as Tabular Data</a>
  </c:when>
</c:choose>

<%--
<c:choose>
  <c:when test="${accGraphType == 'Table'}">
    <jsp:include page="/webclient/fault/jsp/accPanel.jsp"/>
    <br>
    <a href="<c:out value='${pageScope.requestURL}'/>?<c:out value="${pageContext.request.queryString}"/>&accGraphType=PieChart" class="text">Pie Chart</a>
  </c:when>
  <c:when test="${accGraphType == 'PieChart'}">
    <jsp:include page="/webclient/fault/jsp/accPieChart.jsp"/>
    <a href="<c:out value='${pageScope.requestURL}'/>?<c:out value="${pageContext.request.queryString}"/>&accGraphType=Table" class="text">Tabular view</a>
  </c:when>
</c:choose>
--%>

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