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


1.14
date	2001.08.20.22.29.21;	author tfahrner;	state Exp;
branches;
next	1.13;

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

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

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

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

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

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

1.7
date	2001.07.05.22.21.40;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.29.00.57.50;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.11.22.16.19;	author beril;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.29.19.40.54;	author ms;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.01.49.13;	author ms;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.24.18.48.46;	author dlr;	state Exp;
branches;
next	1.1;

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


desc
@@


1.14
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@
<div id="projectgroupelementadd" class="app">

 <h3>Add Projects: $currentProjectGroup.getName()</h3>

#set( $projects = $currentProjectGroup.getAssociableProjects($itemsPerPage, $filter, $acl))
#set( $thisPage = $projects.getPage($paginated_page) )
#if( $thisPage.isEmpty() )
 #if( $projects.isEmpty() )
  <p><strong class="alert">All available projects are already in this group.</strong>
</p>
 #else
  <p><strong class="alert">No matching projects found.</strong>
</p>
 #end
#else
<form action="ProjectGroupElementAdd" method="post" enctype="application/x-www-form-urlencoded">
 <input type="hidden" name="projectGroupID" value="$currentProjectGroup.getID()" />
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th nowrap="nowrap">Add</th>
   <th nowrap="nowrap">Project</th>
   <th nowrap="nowrap">Summary</th>
  </tr>
#set ($rowClass="a")
 #foreach( $project in $thisPage )
  <tr class="$rowClass">
   <td><input type="checkbox" name="Add $project.getID()" /></td>
   <td>
    #if( $acl.hasPermission("Project - Edit", $currentDomain) )
     <a href="$project.getProjectPageURL("ProjectEdit")">$project.getName()</a>
    #else
     $project.getName()
    #end
   </td>
   <td>$project.getShortDescription()</td>
  </tr>
  
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end

 #end
 </table>
 <p><input type="submit" name="Button" value="Add to Group" /></p>
 <p class="paginate">
  $projects.navigationBar($currentProject.getProjectPageURL($servletName, "projectGroupID=${currentProjectGroup.getID()"), $paginated_page)}
 </p>
  <form method="post" action="ProjectGroupElementAdd">
  #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </form>
#end
</form>

</div>
@


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


1.12
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.11
log
@included "task nav" below headlines
@
text
@d1 1
@


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


1.9
log
@html usage revision to synch with scarab
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d3 3
@


1.8
log
@removed dependency on CSS for differentiation of alerts
@
text
@d3 1
a3 1
<div id="projectgroupelementadd">
d19 1
a19 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.7
log
@Licenses are now contained in a database-managed table rather than in a custom Java class (yay!)
@
text
@d10 2
a11 1
  <p class="alert">All available projects are already in this group.</p>
d13 2
a14 1
  <p class="alert">No matching projects found.</p>
d57 1
a57 1
</div>@


1.6
log
@Implemented basic project group and category nesting.
@
text
@d10 1
a10 1
  <p class="alert">All avaliable projects are already in this group.</p>
@


1.5
log
@recoded according to new html/css standards
@
text
@d6 1
a6 1
#set( $projects = ${currentDomain.getProjectsNotInGroup($currentProjectGroup, $itemsPerPage, $filter, $acl)} )
@


1.4
log
@fixed syntax errors
@
text
@d3 2
a4 14
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Add Projects: <SPAN CLASS="ProjectNameHeader">$currentProjectGroup.getName()</SPAN></TD>  
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
<FORM ACTION="ProjectGroupElementAdd" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<INPUT TYPE="hidden" NAME="projectGroupID" VALUE="$currentProjectGroup.getID()">
<TR>
 <TD WIDTH="5%" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add</TD>
 <TD WIDTH="11%" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>&nbsp;Project</B></TD>
 <TD WIDTH="84%" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Summary</B></TD>
</TR>
d10 1
a10 1
  <span class="Warning">All avaliable projects are already in this group.</span>
d12 1
a12 1
  <span class="Warning">No matching projects found.</span>
d15 9
d25 3
a27 5
  <TR>
   <TD WIDTH="5%" BGCOLOR="white" ALIGN="RIGHT">
    <P><INPUT TYPE="CHECKBOX" NAME="Add $project.getID()">
   </TD>
   <TD WIDTH="20%" CLASS="PlainText" BGCOLOR="white">&nbsp;
d29 1
a29 1
     <A HREF="$project.getProjectPageURL("ProjectEdit")">$project.getName()</A>
d33 10
a42 14
   </TD>
   <TD WIDTH="75%" CLASS="PlainText" VALIGN="TOP" BGCOLOR="white">
    $project.getShortDescription()
   </TD>
  </TR>
  <TR>
   <TD COLSPAN="6">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
d44 8
a51 9
 <TR>
  <TD COLSPAN="3"><INPUT type="Submit" name="Button" value="Add to Group"></TD>
 </TR>

 <TR>
  <TD COLSPAN="4" CLASS="PlainText" ALIGN="cENTER">
   $projects.navigationBar($currentProject.getProjectPageURL($servletName), "projectGroupID=${currentProjectGroup.getID()"), $paginated_page)}
  </TD>
 </TR>
d53 1
d55 1
a55 12
<TR>
  <TD COLSPAN="4"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="4">
  <FORM METHOD="post" ACTION="ProjectGroupElementAdd">
  #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </FORM>
  </TD>
</TR>
</TABLE>
</FORM>
@


1.3
log
@fixed broken args passing in templates made by conversion program
@
text
@d18 1
a18 1
#set( $projects = ${currentDomain.getProjectsNotInGroup($currentProjectGroup, $itemsPerPage, $filter, $acl)}
@


1.2
log
@Removed BRAND_TEMPLATE_ROOT, SERVLET_TEMPLATE_ROOT, and SANDBOX from use in #include and #parse directives (deprecated by multiple template paths).
@
text
@d18 1
a18 1
#set( $projects = ${currentDomain.getProjectsNotInGroup($currentProjectGroup, )$itemsPerPage, $filter, $acl)}
@


1.1
log
@Adding Velocity templates.
@
text
@d1 1
a1 1
#parse( "$BRAND_TEMPLATE_ROOT/Admin_Nav.vm" )
d70 1
a70 1
  #parse( "${SERVLET_TEMPLATE_ROOT}/org/tigris/helm/tool/paginate/Filter.vm" )
@

