Maximum UI changes fixed
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
<%@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" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<head>
|
||||
<script src="/matrix/js/matrix-dialog-child.js" type="text/javascript"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Nimble 1.0 |
|
||||
<title>Cygnus 1.0 |
|
||||
<c:choose>
|
||||
<c:when test="${colony.colonyid eq 0}">
|
||||
ADD Colony
|
||||
@@ -30,121 +31,37 @@
|
||||
<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" />
|
||||
</head>
|
||||
|
||||
<body style="font-family:Tahoma;background-color:#fff;font-size:10pt">
|
||||
<div id='PageFrame'>
|
||||
<div id="formcontainer" style="width:393px;margin-top:10px;position:absolute;z-index:-1">
|
||||
<form:form method="post" name="colony" id="colony" modelAttribute="colony" >
|
||||
<!-- Verifier Details (Section1) -->
|
||||
<div>
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/city.png" align="absmiddle" />
|
||||
<span id="title" align="absmiddle">Colony Details</span>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section1) -->
|
||||
<div id="FormPanel1" class="FormPanel">
|
||||
<table align="center" id="FormControls" width="99%">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
<font color="red">*</font>Colony
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input path="clocation" maxlength="33" style="width:200px" onblur="validate(this,'t','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
Nearby Area
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input path="carea" maxlength="13" style="width:200px" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
<font color="red">*</font>Zone
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input path="czone" maxlength="4" style="width:40px" onblur="validate(this,'t','AlphaNumeric')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
<font color="red">*</font>City
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divcity" style="width:120px;">
|
||||
<form:select path="ccity" style="width:138px" >
|
||||
<option value="" selected>NA</option>
|
||||
<c:forEach items="${citylist}" var="cityl">
|
||||
<form:option value="${cityl[0]}" label="${cityl[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
<font color="red">*</font>Pincode
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input path="pincode" maxlength="6" style="width:100px" onkeypress="return NumberOnly(event)" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
<font color="red">*</font>Belt
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divbelt" style="width:200px;">
|
||||
<form:select path="beltid" style="width:218px" >
|
||||
<option value="" selected>NA</option>
|
||||
<c:forEach items="${beltlist}" var="beltl">
|
||||
<form:option value="${beltl[0]}" label="${beltl[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" style="width:110px">
|
||||
<font color="red">*</font>Status
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divactive" style="width:115px;">
|
||||
<form:select path="isactive" multiple="false" style="width:133px" onblur="validate(this,'t','');">
|
||||
<form:option value="-1" label="SELECT" selected="true"/>
|
||||
<form:option value="1" label="Active" />
|
||||
<form:option value="0" label="Left" />
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<input type="button" class="button" name="btnsave" style="margin-top:5px;float:right" value="Save" id="btnsave" accesskey="S" onclick="ValidateSubmitColony();" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
<form:hidden path="colonyid" />
|
||||
<!-- -->
|
||||
<input type="hidden" id="invalidfields" value="0" />
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<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/dialog-form-v3.css?v=1" rel="stylesheet" type="text/css" />
|
||||
<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-dialog-form">
|
||||
<main class="matrix-dialog-form__content">
|
||||
<form:form method="post" name="colony" id="colony" modelAttribute="colony" >
|
||||
<section class="card matrix-dialog-form__card">
|
||||
<div class="card-header d-flex align-items-center gap-2"><img src="/matrix/images/city.png" alt="" width="16" height="16" /><span>Colony Details</span></div>
|
||||
<div class="card-body"><div class="row g-3">
|
||||
<div class="col-8"><label for="clocation" class="form-label required">Colony</label><form:input path="clocation" maxlength="33" cssClass="form-control form-control-sm" onblur="validate(this,'t','SplInstruction')" /></div>
|
||||
<div class="col-4"><label for="czone" class="form-label required">Zone</label><form:input path="czone" maxlength="4" cssClass="form-control form-control-sm" onblur="validate(this,'t','AlphaNumeric')" /></div>
|
||||
<div class="col-12"><label for="carea" class="form-label">Nearby Area</label><form:input path="carea" maxlength="13" cssClass="form-control form-control-sm" onblur="validate(this,'f','SplInstruction')" /></div>
|
||||
<div class="col-6"><label for="ccity" class="form-label required">City</label><form:select path="ccity" cssClass="form-select form-select-sm"><form:option value="" label="NA" /><c:forEach items="${citylist}" var="cityl"><form:option value="${cityl[0]}" label="${cityl[1]}" /></c:forEach></form:select></div>
|
||||
<div class="col-6"><label for="pincode" class="form-label required">Pincode</label><form:input path="pincode" maxlength="6" cssClass="form-control form-control-sm" onkeypress="return NumberOnly(event)" /></div>
|
||||
<div class="col-8"><label for="beltid" class="form-label required">Belt</label><form:select path="beltid" cssClass="form-select form-select-sm"><form:option value="" label="NA" /><c:forEach items="${beltlist}" var="beltl"><form:option value="${beltl[0]}" label="${beltl[1]}" /></c:forEach></form:select></div>
|
||||
<div class="col-4"><label for="isactive" class="form-label required">Status</label><form:select path="isactive" cssClass="form-select form-select-sm" onblur="validate(this,'t','');"><form:option value="-1" label="Select" /><form:option value="1" label="Active" /><form:option value="0" label="Left" /></form:select></div>
|
||||
</div></div>
|
||||
</section>
|
||||
<form:hidden path="colonyid" />
|
||||
<input type="hidden" id="invalidfields" value="0" />
|
||||
<footer class="matrix-dialog-form__actions"><button type="button" class="btn btn-outline-secondary btn-sm" onclick="MatrixDialog.close(0)">Cancel</button><button type="button" class="btn btn-primary btn-sm" name="btnsave" id="btnsave" accesskey="S" onclick="ValidateSubmitColony();">Save</button></footer>
|
||||
</form:form>
|
||||
</main>
|
||||
</body>
|
||||
<!-- Page Load Javascript -->
|
||||
<script language="javascript" type="text/javascript">
|
||||
centerDivBoth("formcontainer","H");
|
||||
</script>
|
||||
<!-- -->
|
||||
<!-- Process Message -->
|
||||
@@ -155,4 +72,4 @@
|
||||
</c:if>
|
||||
</c:if>
|
||||
<!-- -->
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user