130 lines
6.9 KiB
Plaintext
130 lines
6.9 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<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/menu.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>Nimble 1.0 | Allocation</title>
|
|
</head>
|
|
<body>
|
|
<div id='PageFrame'>
|
|
<!-- Title Bar -->
|
|
<div id='title' class="title">
|
|
<img id="icon" src="/matrix/images/optmale.png" />
|
|
<img id="close" src="/matrix/images/close.jpg" onclick="javascript:closewindow();" />
|
|
<span id="title">Nimble 1.0 ${Sessvals.getCompanyCode() } (${Sessvals.getBranchLocation() }) ${Sessvals.getUserDisplayName()} (${Sessvals.getUserGroupName()}) </span>
|
|
</div>
|
|
<!-- -->
|
|
<!-- Dynamic Menu -->
|
|
<jsp:include page='../../usermenu/menu_${Sessvals.getUserID()}.html' />
|
|
<!-- -->
|
|
<div id="formcontainer" style="width:650px;margin-top:5px;position:absolute;z-index:-1">
|
|
<form:form method="post" name="opralloc" id="opralloc" modelAttribute="optrAlloc" >
|
|
<!-- Common Details (Section1) Visible for all portfolios-->
|
|
<div>
|
|
<!-- Title -->
|
|
<div id='title' class="title">
|
|
<img id="icon" src="/matrix/images/sms.png" align="absmiddle" />
|
|
<span id="title" align="absmiddle">Operator Allocation</span>
|
|
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('optrallocation','_parent','optrAlloc')"/>
|
|
</div>
|
|
<!-- -->
|
|
<div id="FormPanel" class="FormPanel">
|
|
<table align="center" style="width:98%;border:1px solid #a7abb4" 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>
|
|
<input type="button" class="button" name="btndealloc" style="float:right" 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>
|
|
</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">
|
|
centerDivBoth("formcontainer","H");
|
|
//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> |