122 lines
4.7 KiB
Plaintext
122 lines
4.7 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" %>
|
|
<!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">
|
|
<title>Nimble 1.0 | Verifier Information </title>
|
|
<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/select.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/appjs/verifier.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/validator.js" type="text/javascript"></script>
|
|
|
|
<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" />
|
|
</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="holiday" id="holiday" modelAttribute="holiday" >
|
|
<!-- Verifier Details (Section1) -->
|
|
<div>
|
|
<!-- Title -->
|
|
<div id='title' class="title">
|
|
<img id="icon" src="/matrix/images/cutlist.png" align="absmiddle" />
|
|
<span id="title" align="absmiddle">Holiday Information</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:120px">
|
|
<font color="red">*</font>Date
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<form:input path="date" maxlength="10" style="width:100px" onkeydown="return addSlashes(this,event)" onblur="validate(this,'t','Date')" />
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<div class="widget">
|
|
<div class="lblcontainer" style="width:120px">
|
|
<font color="red">*</font>Reason
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<form:input path="reason" maxlength="30" style="width:200px" onblur="validate(this,'t','SplInstruction')" />
|
|
</div>
|
|
</div>
|
|
<div class="widget">
|
|
<div class="lblcontainer" style="width:120px">
|
|
<font color="red">*</font>Use In Doc TAT
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<form:checkbox path="useintatcalcd" />
|
|
</div>
|
|
</div>
|
|
<div class="widget">
|
|
<div class="lblcontainer" style="width:120px">
|
|
<font color="red">*</font>Use In Ver TAT
|
|
</div>
|
|
<div class="inputcontainer">
|
|
<form:checkbox path="useintatcalcv" />
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<!-- -->
|
|
</div>
|
|
<!-- -->
|
|
<form:hidden path="suuid" />
|
|
<form:hidden path="uid" />
|
|
<input type="hidden" id="usid" value="${Sessvals.getUserID()}" />
|
|
<!-- -->
|
|
<input type="hidden" id="invalidfields" value="0" />
|
|
<input type="button" class="button" name="btnsave" style="margin-top:5px;float:right" value="Save" id="btnsave" accesskey="S" onclick="ValidateSubmitHoliday();" />
|
|
</form:form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<!-- Page Load Javascript -->
|
|
<script language="javascript" type="text/javascript">
|
|
centerDivBoth("formcontainer","H");
|
|
document.getElementById("date").focus();
|
|
function ValidateSubmitHoliday()
|
|
{
|
|
validate(document.getElementById("date"),'t','AlphaNumeric');
|
|
validate(document.getElementById("reason"),'t','AlphaSpace');
|
|
|
|
if(checkForm())
|
|
{
|
|
SubmitForm('holidayupdate','_parent','holiday');
|
|
}
|
|
else
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
</script>
|
|
<!-- -->
|
|
<!-- Process Message -->
|
|
<c:if test="${not empty msg}">
|
|
<script language="javascript" type="text/javascript"> CallMessage('${msg}',3000,200,300); </script>
|
|
<c:if test="${stat==true}">
|
|
<script language="javascript" type="text/javascript">window.returnValue=1; window.close(); </script>
|
|
</c:if>
|
|
</c:if>
|
|
<!-- -->
|
|
</html> |