192 lines
9.3 KiB
Plaintext
192 lines
9.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">
|
|
<link href="/matrix/css/jquery-ui.css" rel="stylesheet" type="text/css" />
|
|
|
|
<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/jquery-ui.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/select.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/appjs/ctransfer.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/textbox.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" />
|
|
<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/tool-workspace-v3.css?v=1" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/case-operations-v1.css?v=1" rel="stylesheet" type="text/css" />
|
|
|
|
<title>Cygnus 1.0 | Belt Transfer</title>
|
|
<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-shell matrix-v2 matrix-tool-workspace matrix-case-operations matrix-belt-transfer">
|
|
<div id='PageFrame'>
|
|
<!-- Title Bar -->
|
|
<%@ include file="/WEB-INF/app/fragments/app-title.jspf" %>
|
|
<!-- -->
|
|
<div id="formcontainer" class="matrix-tool-workspace__content">
|
|
<!-- Title -->
|
|
<div class="title">
|
|
<img class="matrix-title-icon" src="/matrix/images/transfer.png" align="absmiddle" />
|
|
<span class="matrix-title-text" align="absmiddle">Belt Transfer<span id='recfound'></span></span>
|
|
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('belttransfer','_parent','belttransfer')"/>
|
|
</div>
|
|
<!-- -->
|
|
<div id="FormPanel" class="FormPanel">
|
|
<form:form name="belttransfer" method="post" id="belttransfer" modelAttribute="btransfer" >
|
|
<c:if test="${mode==0}">
|
|
<table align="center" id="filtertab" class="matrix-transfer-filter" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<div class="widget">
|
|
<div class="lblcontainer" style="width:60px">
|
|
Verifier
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<div class="divselect" id="divver" style="width:65px;">
|
|
<form:select path="verifier" multiple="false" id="verlist" style="width:83px" >
|
|
<option value="-1" selected>---</option>
|
|
<c:forEach items="${verlist}" var="ver">
|
|
<form:option value="${ver[0]}" label="${ver[1]}" />
|
|
</c:forEach>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget">
|
|
<div class="lblcontainer">
|
|
Belt
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<div class="divselect" id="divsbelt" style="width:350px;">
|
|
<form:select path="belt" multiple="false" id="beltlist" style="width:368px" >
|
|
<option value="-1" selected>---</option>
|
|
<c:forEach items="${beltlist}" var="bel">
|
|
<form:option value="${bel[0]}" label="${bel[1]}" />
|
|
</c:forEach>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input type="button" class="button" name="btnfind" style="margin-top:3px;float:right;width:25px" id="btnfind" accesskey="S" onclick="ValidateBASearch();" title="search" />
|
|
</td>
|
|
</tr>
|
|
<tr id="actiontr" class="matrix-transfer-filter__action">
|
|
<td>
|
|
<div class="widget">
|
|
<div class="lblcontainer" style="width:60px">
|
|
Shift To
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<div class="divselect" id="divver" style="width:50px;">
|
|
<form:select path="toverifier" multiple="false" id="tverlist" style="width:68px" >
|
|
<option value="-1" selected>---</option>
|
|
<c:forEach items="${verlist}" var="ver">
|
|
<form:option value="${ver[0]}" label="${ver[1]}" />
|
|
</c:forEach>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget">
|
|
<div class="lblcontainer">
|
|
<input type="button" class="button" name="btntransfer" style="margin-top:3px;float:left" value="Transfer" id="btntransfer" accesskey="T" onclick="Transfer('transferbelt','belttransfer')" />
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</c:if>
|
|
<div id="TablePanel" class="tableContainer">
|
|
<table border="0" cellspacing="0" width="100%" id="alloclist">
|
|
<thead class="thead">
|
|
<tr title="Row Title">
|
|
<td width="20" style="font-size:9pt">S.No</td>
|
|
<td style="font-size:9pt">Belt</td>
|
|
<td width="25" style="font-size:9pt">Group</td>
|
|
<td width="25" style="font-size:9pt">Verifier</td>
|
|
<td style="font-size:9pt;text-align:center">To verifier</td>
|
|
<td align="center" title="Select all"><input type="checkbox" id="chkparent" value="" onclick="ToggleChecks('chkcol',this.checked);CheckAllVerifier(this.checked);"></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="alloclistbody" class="scrollContent">
|
|
<c:forEach items="${btransfer.allocbelts}" var="record" varStatus="mystatus">
|
|
<tr id="row${status.count}">
|
|
<td style="font-size:9pt;border-bottom:1px dotted #C3C3C3;padding-bottom:5px;padding-top:5px;font-weight:normal">
|
|
<form:hidden path="allocbelts[${mystatus.index}].uid" id="uid${mystatus.count}" value="${status.value}"/>
|
|
${mystatus.count}
|
|
</td>
|
|
<td style="font-size:9pt;border-bottom:1px dotted #C3C3C3;padding-bottom:5px;padding-top:5px;font-weight:normal">
|
|
<form:hidden path="allocbelts[${mystatus.index}].belt_id" id="belt${mystatus.count}" value="${status.value}"/>
|
|
<form:hidden path="allocbelts[${mystatus.index}].beltname" id="beltname${mystatus.count}" value="${status.value}"/>
|
|
${record.beltname}
|
|
</td>
|
|
<td style="font-size:9pt;border-bottom:1px dotted #C3C3C3;padding-bottom:5px;padding-top:5px;font-weight:normal">
|
|
<form:hidden path="allocbelts[${mystatus.index}].group" id="group${mystatus.count}" value="${status.value}"/>
|
|
${record.group}
|
|
</td>
|
|
<td style="font-size:9pt;border-bottom:1px dotted #C3C3C3;padding-bottom:5px;padding-top:5px;font-weight:normal">
|
|
<form:hidden path="allocbelts[${mystatus.index}].verifiername" id="verifiername${mystatus.count}" value="${status.value}"/>
|
|
${record.verifiername}
|
|
</td>
|
|
<td style="font-size:9pt;border-bottom:1px dotted #C3C3C3;padding-bottom:5px;padding-top:5px;font-weight:normal;">
|
|
<div class="divselect" id="divver" style="width:50px;">
|
|
<form:hidden path="allocbelts[${mystatus.index}].pverifier" id="pverifier${mystatus.count}" value="${status.value}"/>
|
|
<form:select path="allocbelts[${mystatus.index}].verifier" multiple="false" id="verifier${mystatus.count}" style="width:68px" >
|
|
<option value="-1" selected>---</option>
|
|
<c:forEach items="${verlist}" var="ver">
|
|
<form:option value="${ver[0]}" label="${ver[1]}" />
|
|
</c:forEach>
|
|
</form:select>
|
|
</div>
|
|
</td>
|
|
<td style="font-size:9pt;width:25px;border-bottom:1px dotted #C3C3C3" align="center">
|
|
<c:choose>
|
|
<c:when test="${not empty record.response}">
|
|
${record.response}
|
|
</c:when>
|
|
<c:otherwise>
|
|
<form:checkbox path="allocbelts[${mystatus.index}].istransfer" id="chkcol${mystatus.count}" value="true" onclick="checkList('chkcol','chkparent');CheckVerifier(this)" />
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<input type="hidden" id="invalidfields" value="0" />
|
|
</form:form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<!-- Page Load Javascript -->
|
|
<script language="javascript" type="text/javascript">
|
|
CountRows('${mode}');
|
|
</script>
|
|
<!-- -->
|
|
<!-- Process Message -->
|
|
<c:if test="${not empty msg}">
|
|
<script language="javascript" type="text/javascript"> CallMessage('${msg}',5000,200,300); </script>
|
|
</c:if>
|
|
<!-- -->
|
|
</html>
|