134 lines
7.3 KiB
Plaintext
134 lines
7.3 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
|
pageEncoding="ISO-8859-1"%>
|
|
<%@page language="java" session="true" %>
|
|
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
|
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
|
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<script language="javascript" src="/matrix/js/lib/constants.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/jquery1.7.2.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/ui/uifuncs.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/lib/jsfuncs.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/ui/msgdialog.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/ui/progressbar.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/ui/select.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/appjs/optrallocation.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/validator.js" type="text/javascript"></script>
|
|
|
|
<link href="/matrix/css/matrix.css" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/button.css" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/div.css" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/select.css" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/table.css" rel="stylesheet" type="text/css" />
|
|
<title>Cygnus 1.0 | Allocation</title>
|
|
<link href="/matrix/css/bootstrap-5.3.8.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/matrix-v2.css?v=6" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/matrix-shell-v2.css?v=7" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/tool-workspace-v3.css?v=2" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/case-operations-v1.css?v=1" rel="stylesheet" type="text/css" />
|
|
<script src="/matrix/js/bootstrap-5.3.8.bundle.min.js" defer></script>
|
|
<script src="/matrix/js/matrix-shell-v2.js" defer></script>
|
|
<link href="/matrix/css/matrix-frame-dialog.css?v=6" rel="stylesheet" type="text/css" />
|
|
<script src="/matrix/js/matrix-frame-dialog.js?v=2" defer></script>
|
|
<script src="/matrix/js/matrix-accessibility-v1.js?v=1" defer></script>
|
|
<link href="/matrix/css/matrix-theme-v2.css?v=4" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body class="matrix-v2 matrix-shell matrix-tool-workspace matrix-case-operations matrix-operator-allocation">
|
|
<div id='PageFrame'>
|
|
<%@ include file="/WEB-INF/app/fragments/app-shell-header.jspf" %>
|
|
<%-- Shared shell owns ${Sessvals.menuHtml}. --%>
|
|
<div id="formcontainer" class="matrix-tool-workspace__content" style="max-width:980px">
|
|
<form:form method="post" name="opralloc" id="opralloc" modelAttribute="optrAlloc" >
|
|
<!-- Common Details (Section1) Visible for all portfolios-->
|
|
<div>
|
|
<!-- Title -->
|
|
<div class="title">
|
|
<img class="matrix-title-icon" src="/matrix/images/sms.png" align="absmiddle" />
|
|
<span class="matrix-title-text" align="absmiddle">Operator Allocation</span>
|
|
<img class="matrix-title-action" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('optrallocation','_parent','optrAlloc')"/>
|
|
</div>
|
|
<!-- -->
|
|
<div id="FormPanel" class="FormPanel">
|
|
<table align="center" class="matrix-allocation-controls" cellspacing="0">
|
|
<tr>
|
|
<td style="width:120px"><b>Operator</b></td>
|
|
<td id="progbarContainer" ><span id="verifierspan"><b>Verifiers</b></span><span id="operatorspan" style="display:none;"><b>To Operator</b></span></td>
|
|
<td style="width:120px" align="left"><b></b></td>
|
|
<td style="width:120px" align="left"><b>Shift On</b><input type="checkbox" id="chkshifton" value="" onclick="shifOn(this.checked);"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="divselect" id="divoptr" style="width:202px">
|
|
<select id="optr" style="width:220px" onchange="getVerAllocData(this.value,1,0);">
|
|
<option value="-1">Select</option>
|
|
<c:forEach items="${optrlist}" var="optr">
|
|
<option value="${optr[0]}" >${optr[1]}</option>
|
|
</c:forEach>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
<td width="30%">
|
|
<div class="divselect" id="divverf" style="width:182px">
|
|
<select id="verf" style="width:200px">
|
|
<option value="-1">Select</option>
|
|
</select>
|
|
</div>
|
|
<div class="divselect" id="divoptrto" style="width:202px; display:none;">
|
|
<select id="optrto" style="width:220px" onchange="">
|
|
<option value="-1">Select</option>
|
|
<c:forEach items="${optrlist}" var="optr">
|
|
<option value="${optr[0]}" >${optr[1]}</option>
|
|
</c:forEach>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<input type="button" class="button" name="btnalloc" style="float:left" value="Allocate" id="btnalloc" accesskey="A" onclick="if($('#optr').val()!=-1 && $('#verf').val()!=-1){getVerAllocData($('#optr').val(),2,$('#verf').val());}else{alert('Please select Operator and Verifier properly.');};" />
|
|
<input type="button" class="button" name="btnshift" style="float:left; display:none;" value="Shift Verifiers" id="btnshift" accesskey="S" onclick="if(setHFList('cutlist')!='' && $('#optrto').val()!=-1 && $('#optrto').val()!=$('#optr').val()){if (confirm('Are you sure you want to Shift selected verifiers.')){getVerAllocData(getControlAttributeRef('optr','value'),4,getControlAttributeRef('optrto','value'));}}else{alert('Please select atleast one or more verifiers and To Operator.');};" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="TablePanel" class="tableContainer">
|
|
<table border="0" cellspacing="0" width="100%" id="cutlist">
|
|
<thead class="thead" id="cutlisthead">
|
|
<tr title="Row Title" id="TitleRow">
|
|
<td width="6%" id="sno">S.No</td>
|
|
<td width="35%">Verifer Name</td>
|
|
<td>Code</td>
|
|
<td>Allocated On</td>
|
|
<td>Allocated By</td>
|
|
<td><input type="checkbox" id="chkparent" value="" onclick="ToggleChecks('chkver',this.checked);"></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="cutlistbody" class="scrollContent">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="matrix-allocation-actions">
|
|
<input type="button" class="button" name="btndealloc" value="De Allocate" id="btndealloc" accesskey="D" onclick="if(setHFList('cutlist')!=''){if (confirm('Are you sure you want to De Allocate selected verifiers.')){getVerAllocData(getControlAttributeRef('optr','value'),3,getControlAttributeRef('verf','value'));}}else{alert('Please select Operator and atleast one or more verifiers.');};" />
|
|
</div>
|
|
</div>
|
|
</form:form>
|
|
<input type="hidden" id="hfusr" value="${Sessvals.getUserID()}" />
|
|
<input type="hidden" value="" id="hfdelstat" />
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<!-- Page Load Javascript -->
|
|
<script language="javascript" type="text/javascript">
|
|
//InitPage();
|
|
//ProgressBar('progbarContainer','SMS','cutlist',12,'detailed');
|
|
</script>
|
|
<!-- -->
|
|
<!-- Process Message -->
|
|
<c:if test="${not empty optrAlloc.getErrMsg()}">
|
|
<script language="javascript" type="text/javascript"> CallMessage('${optrAlloc.getErrMsg()}',3000,200,300); </script>
|
|
</c:if>
|
|
<!-- -->
|
|
</html>
|