Update of /cvsroot/babeldoc/babeldoc/modules/web/docs/pipeline
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23713/modules/web/docs/pipeline
Modified Files:
stage-details.vm index.vm
Log Message:
Some changes for integration with eclipse IDE.
web: corrected index page and added new form.
Index: stage-details.vm
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/web/docs/pipeline/stage-details.vm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** stage-details.vm 12 Aug 2003 23:44:45 -0000 1.2
--- stage-details.vm 8 Dec 2007 15:13:41 -0000 1.3
***************
*** 37,80 ****
#set($configKeys = $config.getChildrenNameSet())
#foreach($configKey in $configKeys)
! #set($value=$config.getChild($configKey))
! #if( $velocityCount % 2 == 0 )
! <tr bgcolor="#eeeeee">
! #else
! <tr>
! #end
! <td>$velocityCount</td>
! <td>$configKey</td>
! <td>
! #if( $value.Value )
! $value.Value
! #end
! </td>
! #if($value.keys)
! <td>
! <table>
! <tr bgcolor="#dddddd">
! <td>#</td>
! <td>name</td>
! <td>value</td>
! </tr>
! #set($subcount=0)
! #foreach($suboptionKey in $value.getChildrenNameSet())
! #if( $velocityCount % 2 == 0 )
! <tr bgcolor="#eeeeee">
! #else
! <tr>
! #end
! <td>$velocityCount</td>
! <td>$suboptionKey</td>
! <td>$value.getChild($suboptionKey).Value</td>
! </tr>
! #set($subcount = $subcount+1)
! #end
! </table>
! </td>
! #else
! <td></td>
! #end
! </tr>
#end
</table>
--- 37,87 ----
#set($configKeys = $config.getChildrenNameSet())
#foreach($configKey in $configKeys)
! #set($value=$config.getChild($configKey))
! #if( $velocityCount % 2 == 0 )
! <tr bgcolor="#eeeeee">
! #else
! <tr>
! #end
! <td>$velocityCount</td>
! <td>$configKey</td>
! <td>
! #if( $value.Value )
! #if( $configKey == "nextStage" )
! <a href="stage-details.vm?pipeline=${pipeline}&stage=${value.Value}">
! (if)$value.Value
! </a>
! #else
! (else)$value.Value
! #end
! #end
!
! </td>
! #if($value.keys)
! <td>
! <table>
! <tr bgcolor="#dddddd">
! <td>#</td>
! <td>name</td>
! <td>value</td>
! </tr>
! #set($subcount=0)
! #foreach($suboptionKey in $value.getChildrenNameSet())
! #if( $velocityCount % 2 == 0 )
! <tr bgcolor="#eeeeee">
! #else
! <tr>
! #end
! <td>$velocityCount</td>
! <td>$suboptionKey</td>
! <td>$value.getChild($suboptionKey).Value</td>
! </tr>
! #set($subcount = $subcount+1)
! #end
! </table>
! </td>
! #else
! <td></td>
! #end
! </tr>
#end
</table>
Index: index.vm
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/web/docs/pipeline/index.vm,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** index.vm 24 Feb 2003 22:48:07 -0000 1.1.1.1
--- index.vm 8 Dec 2007 15:13:41 -0000 1.2
***************
*** 5,8 ****
--- 5,9 ----
</head>
<body bgcolor="#ffffff">
+
<table width="700">
<tr bgcolor="#aaaaaa">
***************
*** 17,22 ****
--- 18,25 ----
</td>
<td>
+ Document
</td>
<td>
+ Do
</td>
</tr>
***************
*** 25,28 ****
--- 28,33 ----
#set($entrystage = $babel.PipelineListing.getPipelineEntryStage($pipeline))
<tr>
+ <form name="${pipeline}" action="/babeldoc-httpfeed" method="post">
+ <input type="hidden" name="PIPELINE" value="${pipeline}>
<td>
<a href="all-stages.vm?pipeline=$pipeline">
***************
*** 35,43 ****
</a>
</td>
! <td></td>
! <td></td>
</tr>
#end
</table>
</center>
</html>
--- 40,50 ----
</a>
</td>
! <td><input name="DOCUMENT" type="file" size="40"></td>
! <td><input type="submit" src="../images/recycle.png" value="processa"></td>
! </form>
</tr>
#end
</table>
+
</center>
</html>
|