Commit c3b1d9d8 authored by smestry's avatar smestry

Updated xsl for Product wizard new look and feel.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103870 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 018566bf
...@@ -4,14 +4,19 @@ ...@@ -4,14 +4,19 @@
<xsl:decimal-format NaN="0"/> <xsl:decimal-format NaN="0"/>
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<!--
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/> <link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/> <link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.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/productWiz.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" />
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script> <script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Edit.js"></script> <script type="text/javascript" src="/ibase/webitm/js/prodWiz_Edit.js"></script>
<script> <script>
<![CDATA[ <![CDATA[
/*$(function() { /*$(function() {
...@@ -23,12 +28,78 @@ ...@@ -23,12 +28,78 @@
<body onload="getAppDateFormat()"> <body onload="getAppDateFormat()">
<form name="prodWizEditFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <form name="prodWizEditFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div id="header"> <!-- <div id="header">
<div id="headingText">Product Wizard Edit</div> <div id="headingText">Product Wizard Edit</div>
</div> -->
<TABLE border="0" width="99%" height="2%" class="header_td header_table" cellpadding="0" cellspacing="0" >
<TR>
<div class='contentHeaderLbl'>
<img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<TD class="header_main header_td1" nowrap="true" valign="middle" >
Product Wizard Edit
</TD>
</div> </div>
</TR>
</TABLE>
<div class="mainPage-Container"> <div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:99%">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="width: 30%"> <table id="errorActivityTable" height="10%" class="tableClass" style="margin: 0px 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 class="mainPage-Container">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="width: 30%"> -->
<div class="pageContentWrapper" style="height:12%;overflow:auto;width:99% ">
<div class="body_table_div">
<table id="activityTable" class="editDisplayColumnClass" cellSpacing="0" cellPadding="1" >
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable> <xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable> <xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
...@@ -38,75 +109,53 @@ ...@@ -38,75 +109,53 @@
<input type="hidden" name="Detail1.{normalize-space($dbID)}.login_code" id="Detail1.{normalize-space($dbID)}.login_code" <input type="hidden" name="Detail1.{normalize-space($dbID)}.login_code" id="Detail1.{normalize-space($dbID)}.login_code"
value="{$login_code}" ISCHANGED="false"/> value="{$login_code}" ISCHANGED="false"/>
<tr>
<td class="td_leftAlign" nowrap="true" style="width:10%;">
<strong>Parent Code* :</strong>
</td>
<!-- <td class="td_leftAlign" style="width:20%;"> <!-- <td class="td_leftAlign" style="width:20%;">
<input type="text" class="editInputClass" value="{$item_code}" name="Detail1.{normalize-space($dbID)}.item_code" <input type="text" class="editInputClass" value="{$item_code}" name="Detail1.{normalize-space($dbID)}.item_code"
id="Detail1.{normalize-space($dbID)}.item_code" maxlength="10" style="width: 100%"/> id="Detail1.{normalize-space($dbID)}.item_code" maxlength="10" style="width: 100%"/>
</td> --> </td> -->
<td class="td_leftAlign"> <tr>
<td class="td_leftAlign" nowrap="true">
<strong>Parent Code* :</strong>
</td>
<div style="position:relative; width: 80%;"> <td class="td_leftAlign">
<input type="text" class="editInputClass" value="{$item_code}" name="Detail1.{normalize-space($dbID)}.item_code" <input type="text" class="input_editable" value="{$item_code}" name="Detail1.{normalize-space($dbID)}.item_code"
id="Detail1.{normalize-space($dbID)}.item_code" maxlength="10" ISCHANGED="true" id="Detail1.{normalize-space($dbID)}.item_code" maxlength="10" ISCHANGED="true"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','item_code', 'Item Code', 0);" onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','item_code', 'Item Code', 0);" /><!--Added by parikshit on 16/7/15 [to open popup on F2 added openSearchPopup] -->
style="width: 95%;"/><!--Added by parikshit on 16/7/15 [to open popup on F2 added openSearchPopup] -->
<div style="width:3%; float: right;"> <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_code', 'Item Code', 0);" >
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_code', 'Item Code', 0);" <img src="/ibase/webitm/images/pophelp.png" style="margin-bottom: -5px;" title="Select Item Code" />
style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Code" />
</a> </a>
</div>
<input type="hidden" value="{$date_format}" name="Detail1.{normalize-space($dbID)}.date_format" id="date_format" ISCHANGED="true" /><!-- Added by parkshit kumbhar on 08/07/15 [to set date format] --> <input type="hidden" value="{$date_format}" name="Detail1.{normalize-space($dbID)}.date_format" id="date_format" ISCHANGED="true" /><!-- Added by parkshit kumbhar on 08/07/15 [to set date format] -->
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="submit" id="next" style="cursor:hand" value="Next" class="button" title='Next' <input type="submit" id="next" style="cursor:hand" value="Next" class="button" title='Next'
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 style="border: 1px solid transparent; width: 100%;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
<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"/>
<input type="hidden" value="" name="action" id="action" /> <input type="hidden" value="" name="action" id="action" />
<table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%">
<xsl:for-each select="//error">
<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>
<xsl:if test="position() = 1">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%" >
<xsl:value-of select="message"/>
</td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%" >
Description : <xsl:value-of select="description"/>
</td>
</xsl:if>
<xsl:if test="$type = 'W'">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
Override Warnings :
<input type="checkbox" name="forceSave" value="false" onClick="setChecked(this)"/>
</td>
</xsl:if>
</tr>
</xsl:for-each>
</table>
</div>
</div> </div>
</form> </form>
</body> </body>
......
...@@ -11,7 +11,10 @@ ...@@ -11,7 +11,10 @@
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script> <script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script> <script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" /> <!-- <link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" /> -->
<link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet" />
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/> <link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
...@@ -34,6 +37,12 @@ ...@@ -34,6 +37,12 @@
} }
}); });
function demo()
{
alert("111111111111111");
setUserTheme();
}
]]> ]]>
</script> </script>
......
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