<%-- $Id: assignAlarm.jsp,v 1.15 2003/10/18 15:14:37 rsathish Exp $ --%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

<html>
<head>
<title><fmt:message key='webclient.fault.alarmdetails.assignalarm.title'/></title>
<%@include file="/webclient/common/jspf/commonIncludes.jspf" %>
<script language="javascript" src="/webclient/fault/js/fault.js" type="text/javascript"></script>
</head>

<body class="popupbg" onload="javascript:focusAssign()">
<form name="assignForm" action="/fault/AlarmDetails.do?entity=<c:out value="${entity}"/>&method=assignTheAlert" method="post">
<input type="hidden" name="from" value="<c:out value='${param.from}'/>">
<input type="hidden" name="viewId" value="<c:out value='${param.viewId}'/>">
  <table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">
    <tr> 
      <td class="header1Bg" colspan="3" height="30"> <p><span class="header1"><fmt:message key='webclient.fault.alarmdetails.assignalarm.title'/></span></p>
        </td>
    </tr>
    <tr> 
      <td colspan="3" align="right"> 
        <table width="90%" border="0" align="center" cellpadding="2" cellspacing="1">
        <c:if test="${userDExist == true}">
          <tr>
          <td height="30" colspan="2"><span class="errorText"><fmt:message key='webclient.fault.alarmdetails.assignalarm.error'><fmt:param value='${assignedOwner}'/></fmt:message></span></td>
          </tr>
        </c:if>
          <tr> 
            <td align="left" class="text"><fmt:message key='webclient.fault.details.properties.owner'/></td>
            <td height="30" class="text"><c:out value="${userName}"/></td>
          </tr>
          <tr> 
            <td width="26%" align="left" valign="top" class="text"><fmt:message key='webclient.fault.alarmdetails.assignalarm.assign'/></td>
            <td height="30">
                <input type="text" name="assign" style=width:180 class="formStyle"> 
            </td>
          </tr>
          <tr> 
            <td class="boldText">&nbsp;</td>
            <td height="30">
                <input type="button" name="Assign" value="<fmt:message key='webclient.fault.alarmdetails.assignalarm.button.assign'/>" class="button" onClick="javascript:validatePickUp('<fmt:message key="webclient.fault.alarmdetails.assignalarm.error.validate"/>');">
                <input type="button" name="Cancel" value="<fmt:message key='webclient.fault.alarmdetails.button.cancel'/>" class="button" onClick="window.close();">
            </td>
          </tr>
        </table></td> </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>
