head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2001.07.09.18.17.08;	author leonardr;	state dead;
branches;
next	1.3;

1.3
date	2001.06.19.00.40.46;	author jefflove;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.07.20.11.21;	author neil;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.23.02.03.13;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Getting rid of residual download stuff.
@
text
@<div id="projectdownloadapproval">

#set( $unapprovedDLs = $currentProject.getUnapprovedDownloads() )

<h3>Project Download Approval: $currentProject.getName()</h3>

#if( !$unapprovedDLs.isEmpty() )

<p>Downloads pending approval within project $currentProject.getName():</p>

<form action="$servletName" method="post" enctype="application/x-www-form-urlencoded">

<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
  <th>Name</th>
  <th>Description</th>
  <th>Proposed By</th>
  <th>Action</th>
 </tr>
		#set ($rowClass2="a")
 #foreach( $download in $unapprovedDLs )
 <tr class="$rowClass2"> 
  <td>$download.getFileName()</td> 
  <td>$download.getDescription()</td> 
  <td><a href="/servlets/UserEdit?userID=$download.getProposedBy()">$download.getProposedByUser().getLoginName()</a></td>
  <td> 
   <input type="radio" name="action_$download.getID()" value="Approve" />Approve
   <input type="radio" name="action_$download.getID()" value="Defer" checked="checked" />Defer
   <input type="radio" name="action_$download.getID()" value="Disapprove" />Disapprove 
  </td> 
 </tr>
 		#if ($rowClass2.equals("a"))
					#set ($rowClass2="b")
			#else 
					#set ($rowClass2="a")
			#end
 #end
 <tr>
  <td></td>
  <td></td>
  <td></td>
  <td><input type="submit" name="Button" value="Perform Actions" /></td>
 </tr>
</table>
</form>
#else
<p>
No downloads pending approval.
</p>
#end
</div>
@


1.3
log
@html usage revisions
@
text
@@


1.2
log
@ui recoded
@
text
@d7 2
d20 1
a20 1
#if( !$unapprovedDLs.isEmpty() )
d22 1
a22 1
 <tr> 
d31 6
a36 1
 </tr> 
d44 2
d47 3
a49 3
 <tr>
  <td colspan="4">No downloads pending approval.</td>
 </tr>
a50 4

</table>
</form>

@


1.1
log
@Adding Velocity templates.
@
text
@d1 2
d5 13
a17 21
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Project Download Approval:</b><SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="Welcome">Downloads pending approval within project $currentProject.getName():</TD>
   </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
<FORM ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">

  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Name</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Description</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Proposed By</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Action</b></TD>
  </TR>
d20 10
a29 10
  <TR> 
   <TD class="TableData" VALIGN="top">$download.getFileName()</TD> 
   <TD class="PlainText" VALIGN="top">$download.getDescription()</TD> 
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$download.getProposedBy()" class="TableData">$download.getProposedByUser().getLoginName()</A></TD> 
   <TD class="PlainText"> 
    <INPUT TYPE="radio" NAME="action_$download.getID()" VALUE="Approve">Approve
    <INPUT TYPE="radio" NAME="action_$download.getID()" VALUE="Defer" CHECKED>Defer
    <INPUT TYPE="radio" NAME="action_$download.getID()" VALUE="Disapprove">Disapprove 
   </TD> 
  </TR> 
d31 6
a36 6
 <TR>
  <TD></TD>
  <TD></TD>
  <TD></TD>
  <TD class="PlainText"><INPUT TYPE="submit" NAME="Button" VALUE="Perform Actions"></TD>
 </TR>
d38 3
a40 3
 <TR>
  <TD class="PlainText" COLSPAN="4">No downloads pending approval.</TD>
 </TR>
d42 5
a46 2
</FORM>
</TABLE>
@

