153 lines
6.6 KiB
Plaintext
153 lines
6.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" %>
|
|
<!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 | Upload Reports</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/uploaddownload.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/validator.js" type="text/javascript"></script>
|
|
|
|
<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" />
|
|
</head>
|
|
<body style="font-family:Tahoma;background-color:#fff;font-size:10pt">
|
|
<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:980px;margin-top:5px;position:absolute;z-index:-1">
|
|
<form:form method="post" name="uploadsettings" id="uploadsettings" modelAttribute="uploadsettings" >
|
|
<div>
|
|
<!-- Title -->
|
|
<div id='title' class="title">
|
|
<img id="icon" src="/matrix/images/commondet.png" align="absmiddle" />
|
|
<span id="title" align="absmiddle">Online / Offline Case Upload</span>
|
|
<div class="divselect" id="divportfolio" style="width:167px;position:absolute;top:3px;right:13px;">
|
|
<form:select path="portfolioid" multiple="false" id="portlist" style="width:185px" onchange="SubmitForm('fileuploadsettings','_parent','uploadsettings')">
|
|
<form:option value="-1" label="SELECT PORTFOLIO" selected="true"/>
|
|
<c:forEach items="${portlist}" var="port">
|
|
<form:option value="${port[0]}" label="${port[1]}" />
|
|
</c:forEach>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
<!-- -->
|
|
<c:if test="${uploadsettings.getPortfolioid() != '-1' }">
|
|
<!-- Form (Section1) -->
|
|
<div id="FormPanel1" class="FormPanel">
|
|
<table align="center" id="FormControls" width="99%">
|
|
<tr>
|
|
<td>
|
|
<div class="widget">
|
|
<div class="lblcontainer">
|
|
<strong>Upload Method: </strong>
|
|
</div>
|
|
<div class="inputcontainer" style="padding-top:5px;color:blue">
|
|
<c:choose>
|
|
<c:when test="${uploadsettings.getDomainname() == 'offline'}">
|
|
<u>Offline</u>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<u>Online</u>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</div>
|
|
</div>
|
|
<div class="widget">
|
|
<div class="lblcontainer">
|
|
<strong>Domain: </strong>
|
|
</div>
|
|
<div class="inputcontainer" style="padding-top:5px;color:blue">
|
|
<form:hidden path="domainname"/>
|
|
<form:hidden path="url"/>
|
|
<form:hidden path="updateurl"/>
|
|
<form:hidden path="method"/>
|
|
<form:hidden path="tpquery"/>
|
|
<form:hidden path="queryid"/>
|
|
<form:hidden path="key"/>
|
|
<form:hidden path="key1"/>
|
|
<form:hidden path="urlkey"/>
|
|
<form:hidden path="serverip"/>
|
|
<input type="hidden" id="uid" value="${Sessvals.getUserID()}" />
|
|
<u>${ uploadsettings.getDomainname()}</u>
|
|
</div>
|
|
</div>
|
|
<input type="button" class="button" name="btnupload" style="float:right;margin-top:2px" value="Upload" id="btnupload" accesskey="D" onclick="StartProcess();" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<!-- -->
|
|
</c:if>
|
|
<div id="TablePanel" class="tableContainer">
|
|
<table border="0" cellspacing="0" width="100%" id="cutlist">
|
|
<thead class="thead">
|
|
<tr title="Row Title">
|
|
<td width="20">S.No</td>
|
|
<td>Branch</td>
|
|
<td>Customer Name</td>
|
|
<td>Type</td>
|
|
<td>Product</td>
|
|
<td>Received On</td>
|
|
<td>Status</td>
|
|
<td>Report</td>
|
|
<td align="center">Upload <input type="checkbox" name="selall" id="selall" onclick="ToggleChecks('chkrow',this.checked);manageRowSelection()" /></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="tabbody" class="scrollContent">
|
|
<c:forEach items="${uploadsettings.filelist}" var="cases" varStatus="mystatus">
|
|
<tr title="row${cases[0]}" style="cursor:pointer">
|
|
<td>${mystatus.count}<input type="hidden" id="ocid${mystatus.index}" value="${cases[0]}" /><input type="hidden" id="uuid${mystatus.index}" value="${cases[1]}" /></td>
|
|
<td>${cases[2]}</td>
|
|
<td>${cases[3]}</td>
|
|
<td>${cases[4]}</td>
|
|
<td>${cases[5]}</td>
|
|
<td>${cases[6]}</td>
|
|
<td>${cases[7]}</td>
|
|
<td><a href="${cases[8]}" id="rep${mystatus.index}" target="_blank">Report</a></td>
|
|
<td title="status${cases[0]}" align="center" id="td${mystatus.index}"><input type="checkbox" id="chkrow${mystatus.index}" onclick="checkList('chkrow','selall');manageRowSelection()" /></td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- -->
|
|
<input type="hidden" id="invalidfields" value="0" />
|
|
</form:form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<!-- Page Load Javascript -->
|
|
<script language="javascript" type="text/javascript">
|
|
centerDivBoth("formcontainer","H");
|
|
InitPage();
|
|
</script>
|
|
<!-- -->
|
|
<!-- Process Message -->
|
|
<c:if test="${not empty msg}">
|
|
<script language="javascript" type="text/javascript"> CallMessage('${msg}',7000,200,300); </script>
|
|
</c:if>
|
|
<!-- -->
|
|
</html> |