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


1.13
date	2001.08.20.22.29.23;	author tfahrner;	state Exp;
branches;
next	1.12;

1.12
date	2001.08.03.05.45.07;	author tfahrner;	state Exp;
branches;
next	1.11;

1.11
date	2001.07.31.01.18.40;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.07.31.00.01.56;	author tfahrner;	state Exp;
branches;
next	1.9;

1.9
date	2001.07.30.22.27.18;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.07.30.21.59.23;	author tfahrner;	state Exp;
branches;
next	1.7;

1.7
date	2001.07.30.21.24.28;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.19.00.40.46;	author jefflove;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.15.18.48.06;	author neil;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.13.16.41.05;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.12.18.28.55;	author neil;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.11.20.15.24;	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.13
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@<div id="projectapproval" class="app">


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

<p>Projects pending approval within domain $currentDomain.getName():</p>

<form name="ProjectApprovalForm" action="ProjectApproval" method="post" enctype="application/x-www-form-urlencoded">
#set( $projects = $currentDomain.getUnapprovedProjects($acl) )
#if( !$projects.isEmpty() )
<table border="1" cellspacing="2" cellpadding="3" width="100%">
 <tr>
  <th>Project</th>
  <th>Proposed By</th>
  <th>Summary</th>
  <th>Action</th>
 </tr>
  #set ($rowClass="a")
  #foreach( $project in $projects )
 <tr class="$rowClass"> 
  <td><a href="$project.getProjectHome()">$project.getName()</a></td> 
  <td><a href="/servlets/UserEdit?userID=$project.getProposedBy()">$project.getUserRelatedByProposedBy().getLoginName()</a></td> 
  <td>$project.getShortDescription()</td> 
  <td>
   <input type="radio" name="ACTION $project.getID()" value="Approve" />Approve  
   <input type="radio" name="ACTION $project.getID()" value="Defer" checked="checked" />Defer 
   <input type="radio" name="ACTION $project.getID()" value="Disapprove" />Disapprove 
  </td> 
 </tr> 
   #if ($rowClass.equals("a"))
     #set ($rowClass="b")
   #else 
     #set ($rowClass="a")
   #end
</table>
 #end
<h4>
Reason for project disapproval
</h4>
<p>
<textarea rows="5" cols="50" name="disapprovalReason"></textarea>
</p>
<p>
<input type="submit" name="Button" value="Perform Actions" />
</p>
<p>
   Approving a project means that it can be shown in the project list, and that its project owner can grant permissions to other users.
</p>
#else
<p><strong class="alert">
 There are no projects pending approval.
</strong>
</p>
#end
</form>
</div>
@


1.12
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


1.11
log
@included "task nav" below headlines
@
text
@a4 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.10
log
@pulled admin options, added headlines
@
text
@d5 4
@


1.9
log
@misc html usage revisions
@
text
@d2 3
@


1.8
log
@html usage revision to synch with scarab
@
text
@d36 9
a44 18
<div class="axial">
<table border="1" cellspacing="2" cellpadding="3">
 <tr>
  <th>Reason for project disapproval:</th>
  <td colspan="3" class="PlainText">
   <textarea rows="5" cols="50" name="disapprovalReason"></textarea>
  </td>
 </tr>
 <tr>
  <td></td>
  <td></td>
  <td></td>
  <td>
   <input type="submit" name="Button" value="Perform Actions" />
  </td>
 </tr>
</table>
</div>
@


1.7
log
@removed dependency on CSS for differentiation of alerts
@
text
@d1 1
a1 1
<div id="projectapproval">
d10 1
a10 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
d37 1
a37 1
<table border="0" cellspacing="0" cellpadding="2">
@


1.6
log
@html usage revisions
@
text
@d58 1
a58 1
<p class="alert">
d60 1
@


1.5
log
@ui recoded
@
text
@a7 1

a9 1

a16 1

a28 1

a33 3

  #end

d35 1
a35 1
  
d37 1
a37 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
a43 1

a51 5
 <tr>
  <td colspan="4">
   Approving a project means that it can be shown in the project list, and that its project owner can grant permissions to other users.
  </td>
 </tr>
d54 3
a56 1

a57 1

a60 1

a61 1

a62 1

@


1.4
log
@Added reason for denying role requests and disapproving projects.
@
text
@d20 1
d22 1
a22 1
 <tr> 
d32 7
d41 10
a50 6
  <TR>
   <td><b>Reason for project disapproval:</b></td>
   <td colspan="3" class="PlainText">
    <textarea rows="5" cols="50" name="disapprovalReason"></textarea>
   </td>
  </TR>
d66 1
@


1.3
log
@ui recode correction
@
text
@d33 7
@


1.2
log
@ui recoded
@
text
@d9 3
a19 2
#set( $projects = $currentDomain.getUnapprovedProjects($acl) )
#if( !$projects.isEmpty() )
d46 2
d50 3
a52 5
 <tr>
  <td colspan="4">
   There are no projects pending approval.
  </td>
 </tr>
a54 2

</table>
@


1.1
log
@Adding Velocity templates.
@
text
@d1 15
a15 24
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Project Approval:</b> <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
  </TR>
</TABLE>

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

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

  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Project</b></TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>    
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Proposed By</b></TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Summary</b></TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Action</b></TD>
  </TR>
d20 10
a29 13
  <TR> 
    <TD class="TableData" VALIGN="top"><A HREF="$project.getProjectHome()">$project.getName()</A></TD> 
    <td></td>
    <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$project.getProposedBy()">$project.getUserRelatedByProposedBy().getLoginName()</A></TD> 
    <td></td>
    <TD class="PlainText" VALIGN="top">$project.getShortDescription()</TD> 
    <td></td>
    <TD class="PlainText"> 
      <INPUT TYPE="radio" NAME="ACTION $project.getID()" VALUE="Approve">Approve  
      <INPUT TYPE="radio" NAME="ACTION $project.getID()" VALUE="Defer" CHECKED>Defer 
      <INPUT TYPE="radio" NAME="ACTION $project.getID()" VALUE="Disapprove">Disapprove 
    </TD> 
  </TR> 
d32 13
a44 12
  <TR>
    <TD></TD>
    <td></td>
    <TD></TD>
    <td></td>
    <TD></TD>
    <td></td>
    <TD class="PlainText"><INPUT TYPE="submit" NAME="Button" VALUE="Perform Actions"></TD>
  </TR>
  <TR>
    <TD class="PlainText" COLSPAN="7">Approving a project means that it can be shown in the project list, and that its project owner can grant permissions to other users.</TD>
 </TR>
d47 5
a51 3
  <TR>
    <TD class="PlainText" COLSPAN="7"><I>There are no projects pending approval.</i></TD>
 </TR>
d54 6
a59 2
</FORM>
</TABLE>
@

