Commit 16a7f8a9 authored by vkadam's avatar vkadam

Change in XSL [F15ESUN001]


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98582 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 17fea83a
...@@ -36,12 +36,22 @@ ...@@ -36,12 +36,22 @@
<div class="detailPage-Container"> <div class="detailPage-Container">
<div style="width: 100%,height: 40%;" align="center"> <div style="width: 100%,height: 40%;" align="center">
<xsl:if test=" $noofattach &gt; 4 ">
<div style="width: 5%; float: left; margin-top: 3px;"> <div style="width: 5%; float: left; margin-top: 3px;">
<input type="button" value="&lt;" onclick="scrollDivLeft()" /> <input type="button" value="&lt;" onclick="scrollDivLeft()" />
</div> </div>
<div style="width: 5%; float: right; margin-top: 3px;"> <div style="width: 5%; float: right; margin-top: 3px;">
<input type="button" value="&gt;" onclick="scrollDivRight()" /> <input type="button" value="&gt;" onclick="scrollDivRight()" />
</div> </div>
</xsl:if>
<xsl:if test=" $noofattach &lt;= 4 ">
<div style="width: 5%; float: left; margin-top: 3px;" disabled="true">
<input type="button" value="&lt;" onclick="scrollDivLeft()" disabled="true"/>
</div>
<div style="width: 5%; float: right; margin-top: 3px;" disabled="true">
<input type="button" value="&gt;" onclick="scrollDivRight()" disabled="true"/>
</div>
</xsl:if>
<div id="dataDivID" class="pophelp-Contents" style="width: 90%; overflow: hidden;" <div id="dataDivID" class="pophelp-Contents" style="width: 90%; overflow: hidden;"
align="center"> align="center">
...@@ -163,8 +173,10 @@ ...@@ -163,8 +173,10 @@
width: 300px" also in iframe style='height: 99.8%; width: 99%; float: left;' width: 300px" also in iframe style='height: 99.8%; width: 99%; float: left;'
In CSS #splitterBottomPane min-height: 100px;min-width: 1200px; --> In CSS #splitterBottomPane min-height: 100px;min-width: 1200px; -->
<div id="splitterBottomPane" align="center" <!-- <div id="splitterBottomPane" align="center" -->
style="margin-left:50px; height: 500px; width: 275px"> <!-- style="margin-left:50px; height: 500px; width: 275px"> -->
<div id="splitterBottomPane" align="left"
style="height: 98%; width: 99%;">
<div id="loadingAttachDiv" align="center" class="loadingImg"> <div id="loadingAttachDiv" align="center" class="loadingImg">
<xsl:if test=" $noofattach != 0 "> <xsl:if test=" $noofattach != 0 ">
......
...@@ -8,15 +8,18 @@ ...@@ -8,15 +8,18 @@
<script type="text/javascript" src="/ibase/webitm/js/splitter/jquery.js"></script> <script type="text/javascript" src="/ibase/webitm/js/splitter/jquery.js"></script>
</head> </head>
<body id='groupDiv'> <body id='groupDiv'>
<xsl:variable name="noofattach">
<xsl:value-of select="count(//Document/ID)" />
</xsl:variable>
<div id="attachDetailSrc" style="width:100%;" onscroll="HighlightNScrollDiv()"> <div id="attachDetailSrc" style="width:100%;" onscroll="HighlightNScrollDiv()">
<div style="height: 100%; width: 45px; position: fixed;"> <div style="height: 100%; width: 45px; position: fixed;">
<div class="attachFeed" id="attachFeed" > <div class="attachFeed" id="attachFeed" >
<table id="attachmentTab" cellspacing="2" cellpadding="2" > <table id="attachmentTab" cellspacing="2" cellpadding="2" >
<tbody> <tbody>
<tr> <tr>
<xsl:variable name="noofattach"> <!-- <xsl:variable name="noofattach"> -->
<xsl:value-of select="count(//Document/ID)" /> <!-- <xsl:value-of select="count(//Document/ID)" /> -->
</xsl:variable> <!-- </xsl:variable> -->
<xsl:for-each select="//Document/ID"> <xsl:for-each select="//Document/ID">
<xsl:sort select="Created_Date" order="descending" /> <xsl:sort select="Created_Date" order="descending" />
<xsl:variable name="i" select="position()" /> <xsl:variable name="i" select="position()" />
...@@ -38,16 +41,25 @@ ...@@ -38,16 +41,25 @@
</xsl:choose> </xsl:choose>
<input type="hidden" id="document" name="document" value="'{@Document_Id}~{Type}'" /> <input type="hidden" id="document" name="document" value="'{@Document_Id}~{Type}'" />
</xsl:for-each> </xsl:for-each>
<xsl:if test=" $noofattach = 0 "> <!-- <xsl:if test=" $noofattach = 0 "> -->
<td class="txtVertical"><span class='no-attach-text'> No attachments found.</span></td> <!-- <td><span style="vertical-align: middle">No attachments found.</span></td> -->
</xsl:if> <!-- <td><span class='no-attach-text'> No attachments found.</span></td> -->
<!-- </xsl:if> -->
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div id="fileViewer" style="width: 94.8%; float: right; margin-right:10px;"> <xsl:if test=" $noofattach != 0 ">
<div id="fileViewer" style="width: 94.8%; float: right; margin-right:18px;">
</div>
</xsl:if>
<xsl:if test=" $noofattach = 0 ">
<div id="fileViewer" style="width: 94.8%; float: right; margin-right:18px;" align="center">
No attachments found.
</div> </div>
</xsl:if>
</div> </div>
</body> </body>
</html> </html>
......
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