Files
matrix/build/WebContent/WEB-INF/app/operation/tools/fieldallocation.jsp

123 lines
5.6 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/colony.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/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" />
<title>Nimble 1.0 | Field 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 &nbsp;&nbsp; ${Sessvals.getCompanyCode() } (${Sessvals.getBranchLocation() }) &nbsp;&nbsp; ${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="colony" id="colony" modelAttribute="beltAlloc" >
<!-- 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">Colony Allocation</span>
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('colony','_parent','beltAlloc')"/>
</div>
<!-- -->
<div id="FormPanel" class="FormPanel">
<table align="center" style="width:98%;border:1px solid #a7abb4" cellspacing="0">
<tr>
<td>
<div id="crtverdiv" class="linkbutton" style="float:right" >Create Verifier</div>
<div id="crtcoldiv" class="linkbutton" style="float:right" >Create Colony</div>
<div id="crtbeltdiv" class="linkbutton" style="float:right" >Create Belt</div>
<div id="trsbothdiv" class="linkbutton" style="float:right" >Allocate Belt</div>
<div id="trscoldiv" class="linkbutton" style="float:right" >Transfer Colony</div>
<div id="trsverdiv" class="linkbutton" style="float:right" >Transfer Verifier</div>
</td>
</tr>
<tr>
<td>
<div class="widget">
<div class="lblcontainer">
Belt
</div>
<div class="inputcontainer">
<div class="divselect" id="divbelt" style="width:200px;">
<select name="beltlist" id="beltlist" style="width:218px" >
<option value="-1" selected>NA</option>
<c:forEach items="${beltlist}" var="belt">
<option value="${belt[0]}" >${belt[1]}</option>
</c:forEach>
</select>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="TablePanel" class="tableContainer">
<table border="0" cellspacing="0" width="100%" id="collist">
<thead class="thead" id="collisthead">
<tr title="Row Title" id="TitleRow">
<td width="6%" id="sno">S.No</td>
<td width="35%">Colony</td>
<td>Zone</td>
<td>City</td>
<td>Belt</td>
<td>Verifier</td>
<td><input type="checkbox" id="chkparent" value="" onclick="ToggleChecks('chkcol',this.checked);"></td>
</tr>
</thead>
<tbody id="collistbody" class="scrollContent">
</tbody>
</table>
</div>
</div>
</form:form>
<input type="hidden" id="hfusr" value="${Sessvals.getUserID()}" />
<input type="hidden" value="" id="hfdelstat" />
</div>
<input type="hidden" id="invalidfields" value="0" />
<input type="hidden" id="usid" value="${Sessvals.getUserID()}" />
</div>
</body>
<!-- Page Load Javascript -->
<script language="javascript" type="text/javascript">
centerDivBoth("formcontainer","H");
</script>
<!-- -->
<!-- Process Message -->
<c:if test="${not empty optrAlloc.getErrMsg()}">
<script language="javascript" type="text/javascript"> CallMessage('${colAlloc.getErrMsg()}',3000,200,300); </script>
</c:if>
<!-- -->
</html>