Commit 970fabb0 authored by steurwadkar's avatar steurwadkar

Wavegen Wizard Check-in by Santosh


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104018 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2d431d27
#mainPage-input-Container{
height : calc(100% - 150px);
width : 95%;
border : 1px solid lightgray !important;
border-top: 2px solid #7bc6ff !important;
-moz-border : 1px solid lightgray !important;
-moz-border-top: 2px solid #7bc6ff !important;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 60px;
overflow:auto;
background-color: white;
}
#btnDiv{
padding-top:5px;
float : left;
}
#activityTable tr td{
height:30px;
font-size: 14px;
}
#activityTable tr td input{
width:60%;
}
#activityTable tr td a{
float:none;
text-decoration: none;
visibility:visible;
margin-left: 2px;
visibility : hidden;
}
#activityTable tr td a img{
vertical-align:middle;
}
#inputDiv input{
float: left;
}
#shipmentTable tr td{
height:30px;
font-size: 14px;
}
#shipmentTable tr td a{
float:right;
text-decoration: none;
visibility : hidden;
}
#shipmentTable tr td a img{
vertical-align:middle;
margin-left: 2px;
}
.editDisplayClass{
background-color:rgba(160, 160, 160, 0.3);
font-size: 14px;
border:none;
line-height: 20px;
}
#buttonreplacement{
width: 150px;
height: 80px;
background-color: #fff;
margin:0px auto;
text-align: center;
z-index:2;
display:none;
position: fixed;
top: 200px;
left: 450px;
}
#buttonreplacement>img{
margin-top:15px;
margin-left:50px;
display: table-cell;
}
#detailPage-input-Container{
height : calc(100% - 150px);
width : 98%;
border : 1px solid lightgray !important;
border-top: 2px solid #7bc6ff !important;
padding: 10px;
overflow:auto;
background-color: white;
}
#summaryContainer{
height : calc(100% - 150px);
width : 98%;
border : 1px solid lightgray !important;
border-top: 2px solid #7bc6ff !important;
padding: 10px;
overflow:auto;
background-color: white;
}
#summaryContainer table tr:hover td{
background-color: #efefef;
}
.selectedTrClass>td{
background-color: #fdf5ce !important;
}
button.accordion {
background-color: white;
border:1px solid #ddd !important;
color: #000;
cursor: pointer;
padding: 6px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 13px !important;
transition: 0.6s;
line-height: 20px;
display: inline-block;
}
button.accordion.active, button.accordion:hover {
border : 1px solid #fbd850 !important;
background-color: #fdf5ce;
}
button.accordion.active{
border-bottom : 0px solid #fbd850 !important;
}
button.accordionSO.accordion {
background-color: white;
border:0px solid #ddd !important;
border-top:1px solid #ddd !important;
border-bottom:1px solid #ddd !important;
border-radius:0px;
padding: 6px;
color: #000;
cursor: pointer;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 13px !important;
transition: 0.6s;
line-height: 20px;
}
button.accordionSO, button.accordion:first-child{
margin-top:2px !important;
}
button.accordionSO.active, button.accordionSO:hover {
border-top:1px solid #ccc !important;
border-bottom:1px solid #ccc !important;
background-color: #eee;
}
button.accordionSO.active{
border-bottom : 0px solid #fbd850 !important;
}
div.panel {
padding:0px;
border:1px solid #ddd !important;
background-color: white;
max-height: 0;
overflow: hidden;
transition: 0.4s ease-in-out;
opacity: 0;
overflow: auto;
}
div.panel.show {
border-top:1px solid lightgray !important;
opacity: 1;
max-height: 2000px;
}
.show{
margin-bottom: 5px;
border-bottom:0px solid lightgray;
padding-top:2px;
}
div.panelSO.show{
padding : 2 0px;
border:0px solid lightgray !important;
border-bottom:0px solid lightgray !important;
overflow-x:scroll;
}
.headerText{
font-size: 16px;
}
.subText{
font-size: 13px;
color: #444;
}
.dataSummry{
width: auto;
float: left;
}
.selectSummry{
width: auto;
float: right;
padding-right:5px;
text-align:right;
}
.selectSummry>p{
margin: 0px !important;
}
.percText{
font-size: 14px !important;
left: 3px !important;
top: -15px !important;
width:35px !important;
height:35px !important;
color:#111 !important;
}
.bar{
border-color: #00bcd4 !important;
}
.fill{
border-color: #00bcd4 !important;
}
.greenSelcted{
border-color: #00b300 !important;
}
.small{
font-size: 40px !important;
}
.c100{
margin: 0px !important;
z-index:0 !important;
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<%@ page import="java.io.*" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.net.*" %>
<%@ page import="ibase.webitm.bean.wiz.*" %>
<%@ page import="ibase.utility.*" %>
<%@ page import="ibase.webitm.servlet.ITMWizardHandlerServlet" %>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.bean.wms.WavegenWizBean"%>
<%
System.out.println("***********In WavegenWiz JSP********************");
String htmlData = "";
try
{
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
if( userInfo == null )
{
out.println("Your session has been expired. Please re-login.");
}
String objName = request.getParameter("OBJ_NAME");
String PRE_FORM_VAL = ( request.getParameter( "PRE_FORM_VAL" ) != null ) ? request.getParameter( "PRE_FORM_VAL" ) : "";
String editorId = request.getParameter("EDITOR_ID");
String directAcc = ( request.getParameter( "DIRECT_ACC" ) != null ) ? request.getParameter( "DIRECT_ACC" ) : "Y";
System.out.println("objName : " + objName);
ITMWizardBean itmWizardBean;
String transDB = userInfo.getTransDB();
System.out.println("TransDB E12 name is : " + transDB);
if(transDB != null && !"null".equalsIgnoreCase(transDB.trim()) && transDB.trim().length() > 0)
{
itmWizardBean = new ITMWizardBean( objName, request.getSession(), userInfo );
}
else
{
itmWizardBean = new ITMWizardBean( objName, request.getSession() );
}
request.getSession().setAttribute( "WIZARD_BEAN_" + objName, itmWizardBean );
WavegenWizBean beanObj = new WavegenWizBean(objName);
htmlData = beanObj.previousForm("1", PRE_FORM_VAL);
}
catch(Exception e)
{
e.printStackTrace();
}
%>
<div id="detailData" style="display: ">
<%=htmlData%>
</div>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.bean.wms.WavegenWizBean"%>
<html>
<head>
<%String htmlData =""; %>
<%
System.out.println("@@@@@@@@@ In WavegenWizSummary.jsp @@@@@@@@@@@@@@@@");
WavegenWizBean wavegenBean = new WavegenWizBean();
try
{
htmlData = wavegenBean.getSummaryData();
}
catch(Exception e)
{
}
%>
</head>
<body>
<%=htmlData%>
</body>
</html>
\ No newline at end of file
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="fixedTableHdr('activityTable','','simpleTran')">
<script type="text/javascript" src="/ibase/webitm/js/WavegenWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<link href="/ibase/webitm/css/Galaxy/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/WavegenWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/FixedTableHeader.css" rel="stylesheet"/>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="wavegenWizSummary" id="wavegenWizSummary" METHOD="post" ACTION="">
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;">
&#160;&#160;<img src="/ibase/images/menuImages/web/wavegeneration.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;"/>
&#160;Wave Generation
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:100%;position:absolute;z-index:1002;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div id="summaryContainer">
<table id="activityTable" class="tableClass" border="0" cellSpacing="1" cellPadding="0" style="margin-bottom:25px;">
<thead class="table-head">
<tr>
<th>Wave ID</th>
<th>Line#</th>
<th>Ref Series</th>
<th>Description</th>
<th>Reference ID</th>
<th>Status</th>
<th>PTCN</th>
<th>Sales Order</th>
<th>Task Status</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="//summaryData">
<tr>
<td nowrap="true"><xsl:value-of select="wave_id"/></td>
<td nowrap="true" align="right"><xsl:value-of select="line_no"/></td>
<td nowrap="true"><xsl:value-of select="ref_ser"/></td>
<td nowrap="true"><xsl:value-of select="descr"/></td>
<td nowrap="true"><xsl:value-of select="ref_id"/></td>
<td nowrap="true"><xsl:value-of select="status"/></td>
<td nowrap="true"><xsl:value-of select="ptcn"/></td>
<td nowrap="true"><xsl:value-of select="sale_order"/></td>
<td nowrap="true"><xsl:value-of select="wave_status"/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
<xsl:for-each select="//description">
<h6><xsl:value-of select="description"/></h6>
</xsl:for-each>
</div>
<div id="btnDiv" style="width:100%;">
<input type="button" class="button" value="Home" style="margin-left:2px;" onClick="goToHomePage('wavegen_wiz')"/>
</div>
</div>
<div id="buttonreplacement" style="margin-left:450px;display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment