Commit 452daba0 authored by smestry's avatar smestry

Updated the xsl file of product wizard for look and feel


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103956 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f37f6d9a
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<!-- <div style="float: left; width:52%; border: 0px solid; padding: 0px;"> --> <!-- <div style="float: left; width:52%; border: 0px solid; padding: 0px;"> -->
<!-- <table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="width:100%;"> --> <!-- <table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="width:100%;"> -->
<div class="pageContentWrapper" style="height:75%;overflow:auto; "> <div class="pageContentWrapper" style="height:73%;overflow:auto; ">
<div class="body_table"> <div class="body_table">
<table id="activityTable" class="editDisplayColumnClass" cellSpacing="0" width="99%" cellPadding="1" > <table id="activityTable" class="editDisplayColumnClass" cellSpacing="0" width="99%" cellPadding="1" >
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
...@@ -605,7 +605,7 @@ ...@@ -605,7 +605,7 @@
<strong>Purchase Lead Time: </strong> <strong>Purchase Lead Time: </strong>
</td> </td>
<td class="td_leftAlign" > <td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$pur_lead_time}" name="Detail1.{normalize-space($dbID)}.pur_lead_time" style="width: 85%;" <input type="text" class="input_editable" value="{$pur_lead_time}" name="Detail1.{normalize-space($dbID)}.pur_lead_time" style="text-align: right;width: 85%;"
id="Detail1.{normalize-space($dbID)}.pur_lead_time" maxlength="4" onchange='return isNumeric1(this)' /> id="Detail1.{normalize-space($dbID)}.pur_lead_time" maxlength="4" onchange='return isNumeric1(this)' />
</td> </td>
...@@ -835,7 +835,7 @@ ...@@ -835,7 +835,7 @@
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<input type="button" style="cursor:hand" value="Attach Images" class="button" title='Attach Images' id="Detail1.{normalize-space($dbID)}.upload_img" onclick ="javascript:uploadImg('dd_productWiz');"/> <input type="button" style="cursor:hand" value="Attach Images" class="button" title='Attach Images' id="Detail1.{normalize-space($dbID)}.upload_img" onclick ="javascript:uploadImg('item');"/>
</td> </td>
<!-- <td class="td_leftAlign"> <!-- <td class="td_leftAlign">
...@@ -966,12 +966,18 @@ ...@@ -966,12 +966,18 @@
<!-- </div> --> <!-- </div> -->
<!-- Added by Parikshit Kumbhar on 08/05/02//2015 [for taking new element Language] Start --> <!-- Added by Parikshit Kumbhar on 08/05/02//2015 [for taking new element Language] Start -->
</div> </div>
</div> </div>
<!-- </div> --> <!-- </div> -->
<div align = "right" style="margin-top:10px;"> <table width="100%">
<input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick ="javascript:return checkNullvalidation()"/> <tr>
</div> <td colspan="2">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="dd_productWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<div id="buttonreplacement" align="center" style="display:none;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
...@@ -979,17 +985,13 @@ ...@@ -979,17 +985,13 @@
</img> </img>
</div> </div>
<div align = "right"> <div align = "right" style="margin-top:10px;">
<table> <input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick ="javascript:return checkNullvalidation()"/>
<tr> </div>
<td colspan="2">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="dd_productWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
</td> </td>
</tr> </tr>
</table> </table>
</div>
</form> </form>
</body> </body>
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
<!-- <link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/> --> <!-- <link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/> -->
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" /> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" />
<link href="/ibase/webitm/css/DD/fixed_table_rc.css" rel="stylesheet"/> <link href="/ibase/webitm/css/DD/fixed_table_rc.css" rel="stylesheet"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/productWiz.css"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/productWiz.css"/>
...@@ -280,7 +279,7 @@ ...@@ -280,7 +279,7 @@
<table id="sizeDtl" border="0" width="30%" style="text-align: center; visibility: hidden;" class="body_table1"></table> <table id="sizeDtl" border="0" width="30%" style="text-align: center; visibility: hidden;" class="body_table1"></table>
</div> --> </div> -->
<div id="sizeDtlDiv" style=" border: none !important; "> <div id="sizeDtlDiv" style=" border: none !important; height:auto !important">
<table id="sizeDtl" class="headertableClass" style="border-top-style: none; "></table> <table id="sizeDtl" class="headertableClass" style="border-top-style: none; "></table>
</div> </div>
...@@ -811,17 +810,14 @@ ...@@ -811,17 +810,14 @@
<input type="submit" style="cursor:hand" class="button" value="Cancel" title='Cancel' onclick="javascript:closePopup()"/> <input type="submit" style="cursor:hand" class="button" value="Cancel" title='Cancel' onclick="javascript:closePopup()"/>
</div><br/> </div><br/>
</div> </div>
</div>
</div>
</div> </div>
<input type="hidden" id="idNumPack"/> <input type="hidden" id="idNumPack"/>
<div align = "right">
<input type="submit" style="cursor:hand; float:left;" class="button" value="Cancel" title='Cancel' id="previous" onclick="javascript:setActionVal('previous');"/>
<input type="submit" style="cursor:hand; float:left;" class="button" value="Previous" title='Previous' id="prev" onclick="javascript:createXMLString()"/>
<input type="submit" style="cursor:hand;" class="button" value="Finish" title='Finish' id="finish" onclick="javascript:return checkValidation();"/>
</div>
<div id="buttonreplacement" align="center" style="display:none;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
...@@ -830,7 +826,12 @@ ...@@ -830,7 +826,12 @@
</div> </div>
<div align = "right"> <div align = "right">
<table> <input type="submit" style="cursor:hand; float:left;" class="button" value="Cancel" title='Cancel' id="previous" onclick="javascript:setActionVal('previous');"/>
<input type="submit" style="cursor:hand; float:left;" class="button" value="Previous" title='Previous' id="prev" onclick="javascript:createXMLString()"/>
<input type="submit" style="cursor:hand;" class="button" value="Finish" title='Finish' id="finish" onclick="javascript:return checkValidation();"/>
</div>
<table width="100%">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" /> <input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
...@@ -838,10 +839,11 @@ ...@@ -838,10 +839,11 @@
<input type="hidden" value="" name="action" id="action" /> <input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="1:MP" name="formType" id="formType" /> <input type="hidden" value="1:MP" name="formType" id="formType" />
<input type="hidden" value="" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" /> <input type="hidden" value="" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
</td> </td>
</tr> </tr>
</table> </table>
</div>
<!-- </div> --> <!-- </div> -->
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<!-- <div class="mainPage-Container"> <!-- <div class="mainPage-Container">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="width: 30%"> --> <table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="width: 30%"> -->
<div class="pageContentWrapper" style="height:12%;overflow:auto;width:99% "> <div class="pageContentWrapper" style="height:20%;overflow:auto;width:99% ">
<div class="body_table_div"> <div class="body_table_div">
<table id="activityTable" class="editDisplayColumnClass" cellSpacing="0" cellPadding="1" > <table id="activityTable" class="editDisplayColumnClass" cellSpacing="0" cellPadding="1" >
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
...@@ -138,11 +138,8 @@ ...@@ -138,11 +138,8 @@
onclick="javascript:return checkNullvalidation({normalize-space($dbID)}, 'next');" /> onclick="javascript:return checkNullvalidation({normalize-space($dbID)}, 'next');" />
</td> </td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
</div>
</div>
<div id="buttonreplacement" align="center" style="display:none;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
...@@ -150,6 +147,9 @@ ...@@ -150,6 +147,9 @@
</img> </img>
</div> </div>
</div>
</div>
<div style="border: 1px solid transparent; width: 100%;"> <div style="border: 1px solid transparent; width: 100%;">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" /> <input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="dd_productWizEdit" name="OBJ_NAME" id="OBJ_NAME"/> <input type="hidden" value="dd_productWizEdit" name="OBJ_NAME" id="OBJ_NAME"/>
......
...@@ -32,6 +32,12 @@ function setActionVal( value ) ...@@ -32,6 +32,12 @@ function setActionVal( value )
{ {
document.getElementById(value).style.pointerEvents = 'none'; document.getElementById(value).style.pointerEvents = 'none';
document.getElementById("action").value = value; document.getElementById("action").value = value;
document.getElementById(value).style.display = "none";
document.getElementById("next").style.display = "none";
document.getElementById("buttonreplacement").style.display = "";
document.getElementById("errorActivityTable").style.display = "none";
} }
]]> ]]>
</script> </script>
...@@ -569,7 +575,6 @@ function setActionVal( value ) ...@@ -569,7 +575,6 @@ function setActionVal( value )
id="Detail2.{normalize-space($dbID)}.tax" maxlength="10" ISCHANGED="false" readOnly = "1"/> id="Detail2.{normalize-space($dbID)}.tax" maxlength="10" ISCHANGED="false" readOnly = "1"/>
</td> </td>
</tr> </tr>
<!-- Changed by Sneha on 04-11-2016, to add new to upload images [Start] --> <!-- Changed by Sneha on 04-11-2016, to add new to upload images [Start] -->
<tr> <tr>
<td class="td_rightAlign" nowrap="true" valign="top"> <td class="td_rightAlign" nowrap="true" valign="top">
...@@ -577,7 +582,7 @@ function setActionVal( value ) ...@@ -577,7 +582,7 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<input type="button" style="cursor:hand" value="Attach Images" class="button" title='Attach Images' id="Detail2.{normalize-space($dbID)}.upload_img" onclick ="javascript:uploadImg('dd_productWiz');"/> <input type="button" style="cursor:hand" value="Attach Images" class="button" title='Attach Images' id="Detail2.{normalize-space($dbID)}.upload_img" onclick ="javascript:uploadImg('item');"/>
</td> </td>
<!-- <td class="td_leftAlign"> <!-- <td class="td_leftAlign">
<a href="javascript:uploadImg('dd_productWiz');" <a href="javascript:uploadImg('dd_productWiz');"
...@@ -630,16 +635,12 @@ function setActionVal( value ) ...@@ -630,16 +635,12 @@ function setActionVal( value )
</table> </table>
</div> </div>
</div> </div>
</div> </div>
<!-- <div align = "right">
<input type="submit" style="cursor:hand;" class="button" value="Cancel" title='Cancel' id="previous" onclick="javascript:setActionVal('previous');" />
<input type="submit" id="next" name="next" style="cursor:hand;" class="button" value="Next" title='Next' onclick="javascript:return checkNullvalidation({normalize-space($dbID)}, 'next');" />
</div> -->
<div id="buttonreplacement" align="center" style="display:none;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >Please wait......</img> <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div> </div>
<div style="border: 1px solid transparent; width: 100%;"> <div style="border: 1px solid transparent; width: 100%;">
...@@ -649,6 +650,7 @@ function setActionVal( value ) ...@@ -649,6 +650,7 @@ function setActionVal( value )
<input type="hidden" value="" name="action" id="action" /> <input type="hidden" value="" name="action" id="action" />
</div> </div>
</form> </form>
</body> </body>
......
...@@ -79,6 +79,14 @@ ...@@ -79,6 +79,14 @@
} }
document.getElementById(value).style.pointerEvents = 'none'; document.getElementById(value).style.pointerEvents = 'none';
document.getElementById("action").value = value; document.getElementById("action").value = value;
document.getElementById(value).style.display = "none";
document.getElementById("finish").style.display = "none";
document.getElementById("add").style.display = "none";
document.getElementById("delete").style.display = "none";
document.getElementById("buttonreplacement").style.display = "";
document.getElementById("errorActivityTable").style.display = "none";
} }
]]> ]]>
...@@ -173,6 +181,7 @@ ...@@ -173,6 +181,7 @@
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable> <xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="date_format"><xsl:value-of select="date_format"/></xsl:variable><!-- Added by parikshit kumbhar on 08/07/15 [to set date format]--> <xsl:variable name="date_format"><xsl:value-of select="date_format"/></xsl:variable><!-- Added by parikshit kumbhar on 08/07/15 [to set date format]-->
<xsl:variable name="item_parent"><xsl:value-of select="item_parent"/></xsl:variable> <!-- Changed by Sneha on 28-10-2016, for item parent --> <xsl:variable name="item_parent"><xsl:value-of select="item_parent"/></xsl:variable> <!-- Changed by Sneha on 28-10-2016, for item parent -->
<xsl:variable name="phy_attrib_4"><xsl:value-of select="phy_attrib_4"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:if test="$dbID = '0'"> <xsl:if test="$dbID = '0'">
...@@ -187,6 +196,7 @@ ...@@ -187,6 +196,7 @@
<input type="hidden" value="{$item_parent}" name="Detail3.{normalize-space($dbID)}.item_parent" id="Detail3.{normalize-space($dbID)}.item_parent" ISCHANGED="false" readOnly = "1" onkeypress="return disableEnter()" /> <!-- Changed by Sneha on 28-10-2016, for item parent --> <input type="hidden" value="{$item_parent}" name="Detail3.{normalize-space($dbID)}.item_parent" id="Detail3.{normalize-space($dbID)}.item_parent" ISCHANGED="false" readOnly = "1" onkeypress="return disableEnter()" /> <!-- Changed by Sneha on 28-10-2016, for item parent -->
<input type="hidden" name="cust_item_ref_status" id="cust_item_ref_status" ISCHANGED="false" readOnly = "1" onkeypress="return disableEnter()"/> <!-- Changed by Sneha on 28-10-2016, for cust_item_ref_status --> <input type="hidden" name="cust_item_ref_status" id="cust_item_ref_status" ISCHANGED="false" readOnly = "1" onkeypress="return disableEnter()"/> <!-- Changed by Sneha on 28-10-2016, for cust_item_ref_status -->
<input type="hidden" value="{$phy_attrib_4}" name="Detail3.{normalize-space($dbID)}.phy_attrib_4" id="Detail3.{normalize-space($dbID)}.phy_attrib_4" ISCHANGED="false" readOnly = "1" onkeypress="return disableEnter()" /> <!-- Changed by Sneha on 28-10-2016, for item parent -->
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</div> </div>
...@@ -194,7 +204,7 @@ ...@@ -194,7 +204,7 @@
<!-- <div style="height: 78%; overflow: auto; margin-top: 8px;" id="detail"> <!-- <div style="height: 78%; overflow: auto; margin-top: 8px;" id="detail">
<table id="SKUItemId" cellspacing="0" width="100%"> --> <table id="SKUItemId" cellspacing="0" width="100%"> -->
<div id="detailDiv" style='height: 78%; margin-top: 8px;'> <div id="detailDiv" style='height:75%; margin-top: 8px;'>
<div id="detail" > <div id="detail" >
<table id="SKUItemId" class="headertableClass" style="border-top-style: none;" width="100%"> <table id="SKUItemId" class="headertableClass" style="border-top-style: none;" width="100%">
<thead> <thead>
...@@ -643,6 +653,8 @@ ...@@ -643,6 +653,8 @@
</div><br/> </div><br/>
</div> </div>
<!-- <div id="priceListDiv"> <!-- <div id="priceListDiv">
<div style="overflow: auto; height: 260px;"> <div style="overflow: auto; height: 260px;">
<table class='tableClass' id="SKUPriceListId" style="text-align: center; width: 550px; margin: 0 auto;"> --> <table class='tableClass' id="SKUPriceListId" style="text-align: center; width: 550px; margin: 0 auto;"> -->
...@@ -735,9 +747,14 @@ ...@@ -735,9 +747,14 @@
<input type="hidden" value="2:MP" name="formType" id="formType" /> <input type="hidden" value="2:MP" name="formType" id="formType" />
<input type="hidden" value="" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" /> <input type="hidden" value="" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
<div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
<input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' id="previous" onclick="javascript:setActionVal('previous');"/> <input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' id="previous" onclick="javascript:setActionVal('previous');"/>
<!-- <input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="javascript:setActionVal('previous');"/> --> <!-- <input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="javascript:setActionVal('previous');"/> -->
<input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' id="finish" onclick="javascript:return checkSKUValidation('finish');"/> <input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' id="finish" onclick="javascript:return checkSKUValidation('finish');"/>
<!-- Changed by Sneha on 30-03-2016, to add new row and delete the row [Start] --> <!-- Changed by Sneha on 30-03-2016, to add new row and delete the row [Start] -->
...@@ -746,17 +763,11 @@ ...@@ -746,17 +763,11 @@
<!-- Changed by Sneha on 30-03-2016, to add new row and delete the row [End] javascript:addItem()--> <!-- Changed by Sneha on 30-03-2016, to add new row and delete the row [End] javascript:addItem()-->
</td> </td>
</tr> </tr>
</table><br/><br/> </table>
</div> </div>
</div> </div>
<div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
</form> </form>
</body> </body>
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</SCRIPT> </SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable> <xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr> <tr class="trClass" width="100%" id="{normalize-space($dbID)}" onclick="setCheckedRow(event, this)" ondblclick="setDoubleClickData(event, this)">
<td> <td>
<xsl:choose> <xsl:choose>
<xsl:when test="$chkbox ='Y'"> <xsl:when test="$chkbox ='Y'">
...@@ -87,16 +87,19 @@ ...@@ -87,16 +87,19 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</td> </td>
<td id="{normalize-space($dbID)}" onclick="setCheckedRow(event, this)"> <td id="{normalize-space($dbID)}" onclick="setCheckedRow(event, this)">
<xsl:value-of select="fieldId"/> <xsl:value-of select="fieldId"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldId" id="DetailITCode.{normalize-space($dbID)}.fieldId" <input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldId" id="DetailITCode.{normalize-space($dbID)}.fieldId"
value="{normalize-space($fieldId)}" /> value="{normalize-space($fieldId)}" />
</td> </td>
<td id="{normalize-space($dbID)}" onclick="setCheckedRow(event, this)"> <td id="{normalize-space($dbID)}" onclick="setCheckedRow(event, this)">
<xsl:value-of select="fieldValue"/> <xsl:value-of select="fieldValue"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldValue" id="DetailITCode.{normalize-space($dbID)}.fieldValue" <input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldValue" id="DetailITCode.{normalize-space($dbID)}.fieldValue"
value="{normalize-space($fieldValue)}" /> value="{normalize-space($fieldValue)}" />
</td> </td>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField" id="DetailITCode.{normalize-space($dbID)}.otherField" <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField" id="DetailITCode.{normalize-space($dbID)}.otherField"
value="{normalize-space($otherField)}" /> value="{normalize-space($otherField)}" />
......
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