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


1.18
date	2001.08.24.01.39.32;	author tfahrner;	state Exp;
branches;
next	1.17;

1.17
date	2001.08.20.22.29.21;	author tfahrner;	state Exp;
branches;
next	1.16;

1.16
date	2001.08.03.05.45.05;	author tfahrner;	state Exp;
branches;
next	1.15;

1.15
date	2001.08.03.04.44.22;	author tfahrner;	state Exp;
branches;
next	1.14;

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

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

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

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

1.10
date	2001.06.29.00.57.50;	author leonardr;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.13.21.25.04;	author beril;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.12.15.39.56;	author beril;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.08.21.27.21;	author beril;	state Exp;
branches;
next	1.6;

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

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

1.4
date	2001.05.25.00.01.45;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.24.23.58.55;	author dlr;	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.18
log
@removed redundant task links
@
text
@<div id="projectgrouplist" class="app">

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

<div id="groups">

 #set( $groups = $currentDomain.getProjectGroups($itemsPerPage, $filter, $acl) )
 #set( $thisPage = $groups.getPage($paginated_page) )

  #if( $currentDomain.getProjectGroups($acl).isEmpty() )
   #set( $noGroups = true )
  #end

 #if( !$groups.isEmpty() )

 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>Name</th>
   <th>Elements</th>
   <th>Summary</th>
  </tr>
  #set ($rowClass="a")
  #foreach( $group in $thisPage )
   <tr class="$rowClass"> 
    <td>
      <a href="$group.getProjectHome()">$group.getName()</a>
    </td> 
    <td>$group.getNumberOfAssociations($acl)</td> 
    <td>$group.getShortDescription()</td> 
   </tr>
   #if ($rowClass.equals("a"))
    #set ($rowClass="b")
   #else 
    #set ($rowClass="a")
   #end

 #end
</table>
 #else

  <p><strong class="alert">
   #if( $noGroups )
    There are not yet any project groups on this site.
   #else
    No matching project groups were found.
   #end</strong>
   </p>
</div>
  #end

#if( !$noGroups )
 <p>
  ${groups.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
 </p>
#end
</div>
 
#if( !$noGroups || !$noCategories )
  <form method="post" action="ProjectGroupList">
    #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </form>
#end
</div>
</div>
@


1.17
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@a0 1

a5 7
 <h4>Project Groups</h4>
 <p class="affordance">
 #if( $acl.hasPermission("ProjectGroup - Add", $currentDomain) )
   <a href="/servlets/ProjectGroupAdd">Add New Group</a>
 #end
 </p>

@


1.16
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.15
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


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


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


1.12
log
@html usage revision to synch with scarab
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d3 3
d8 1
a8 1
<div id="groups" class="app">
@


1.11
log
@removed dependency on CSS for differentiation of alerts
@
text
@d3 1
a3 1
<div id="projectgrouplist">
d6 1
a6 1
<div id="groups">
d24 1
a24 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.10
log
@Implemented basic project group and category nesting.
@
text
@d49 1
a49 1
  <p class="alert">
d54 1
a54 1
   #end
d72 1
a72 1
</div>@


1.9
log
@xhtml cleanup
@
text
@d34 1
a34 6
     #if( $acl.hasPermission("ProjectGroup - Edit", $currentDomain) )
      <a href="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</a>
     #else
        $group
      $group.getName()
     #end
d36 1
a36 1
    <td>$group.getNumberOfProjects($acl)</td> 
a64 58

<div id="categories">
 <h4>Project Categories</h4>
 #if( $acl.hasPermission("ProjectGroup - Add", $currentDomain) )
  <p class="affordance">
  <a href="/servlets/ProjectGroupAdd">Add New Category</a>
  </p>
 #end

 #set( $categories = $currentDomain.getCategories($itemsPerPage, $filter, $acl) )
 #set( $thisPage = $categories.getPage($paginated_page) )
  #if( $currentDomain.getPCategories($acl).isEmpty() )
   #set( $noCategories = true )
  #end

 #if( !$categories.isEmpty() )
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
  <tr>
   <th>Name</th>
   <th>Elements</th>
   <th>Summary</th>
  </tr>
  #set ($rowClass="a")
  #foreach( $category in $thisPage )
   <tr class="$rowClass"> 
    <td>
     #if( $acl.hasPermission("ProjectGroup - Edit", $currentDomain) )
      <a href="ProjectGroupEdit?projectGroupID=$category.getID()">$category.getName()</a>
     #else
      $category.getName()
     #end
    </td> 
    <td>$category.getNumberOfProjects($acl)</td>
    <td>$category.getShortDescription()</td>
   </tr>

   #if ($rowClass.equals("a"))
    #set ($rowClass="b")
   #else 
    #set ($rowClass="a")
   #end
  #end
  </table>
  #else

 <p class="alert">
   #if( $noCategories )
    There are not yet any categories on this site.
   #else
    No matching categories were found.
   #end
   </p>
 #end
#if( !$noGroups )
 <p class="paginate">
  ${categories.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
 </p>
#end
@


1.8
log
@fixed misplaced endtable tag
@
text
@d6 1
d23 1
a23 1
 
d61 1
d69 1
d71 1
a71 1

d134 1
@


1.7
log
@recoded the html according to new css/html standards
@
text
@a28 1

d48 2
a50 2
 #end

@


1.6
log
@general xhtml cleanup
@
text
@d122 1
a122 1
 <p>
@


1.5
log
@recoded the servlet pages according to the new css/html standards
@
text
@d4 1
a4 1
 <h4>All Project Groups : $currentDomain.getName()</h4>
d6 1
a6 1
 <h4>Project Groups :</h4>
a12 6
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
  <tr>
   <th>Name</th>
   <th>Elements</th>
   <th>Summary</th>
  </tr>
a16 1
 #if( $groups.isEmpty() )
d20 8
a27 8
  <tr> 
   <td colspan="3" class="warning">
   #if( $noGroups )
    There are not yet any project groups on this site.
   #else
    No matching project groups were found.
   #end
   </td>
d29 1
a29 1
 #else
d49 12
a60 1
  
a62 2
 #end
</table>
d70 1
a70 2
 <h4>Project Categories :</h4>
 <p class="affordance">
d72 3
a74 1
   <a href="/servlets/ProjectGroupAdd">Add New Category</a>
a75 1
 </p>
d77 7
a89 18

 #set( $categories = $currentDomain.getCategories($itemsPerPage, $filter, $acl) )
 #set( $thisPage = $categories.getPage($paginated_page) )

 #if( $categories.isEmpty() )
  #if( $currentDomain.getPCategories($acl).isEmpty() )
   #set( $noCategories = true )
  #end
  <tr> 
   <td colspan="3" class="warning">
   #if( $noCategories )
    There are not yet any categories on this site.
   #else
    No matching categories were found.
   #end
   </td>
  </tr>
 #else
a108 1
  
d110 2
d113 7
a120 2
 </table>

a127 1
 <p>
a130 1
 </p>
@


1.4
log
@Corrected VTL syntax error(s).
@
text
@d3 2
a4 7
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
 <TR>
  <TD CLASS="Header" nowrap><B>All Project Groups:</B>
   <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN>
  </TD>
 </TR>
</TABLE>
d6 6
d13 6
a18 17
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1" BORDER="0" width="100%">
 <TR>
  <TD class="SmallHeader" colspan="2">Project Groups:</TD>
  <TD class="PlainText" colspan="3" align="RIGHT">
  #if( $acl.hasPermission("ProjectGroup - Add", $currentDomain) )
    <A HREF="/servlets/ProjectGroupAdd">Add New Group</A>
  #end
  </TD>
 </TR>

 <TR>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="43%">Name</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Elements&nbsp;&nbsp;</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Summary</TD>
 </TR>
d27 2
a28 2
  <TR> 
   <TD class="PlainText" VALIGN="top">
d32 1
a32 1
    <span class="Warning">No matching project groups were found.</span>
d34 2
a35 2
   </TD>
  </TR>
d37 1
d39 2
a40 2
   <TR> 
    <TD class="PlainText" VALIGN="top">
d42 1
a42 1
      <A HREF="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</A>
d47 10
a56 16
    </TD> 
      <td></td>
    <TD class="PlainText" VALIGN="top">$group.getNumberOfProjects($acl)</TD> 
      <td></td>
    <TD class="PlainText">$group.getShortDescription()</TD> 
   </TR>

   <TR>
    <TD COLSPAN="5">
    <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>
d58 14
a71 5
   <TR>
    <TD COLSPAN="5" ALIGN="center" CLASS="PlainText">
     ${groups.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
    </TD>
   </TR>  
d73 1
d75 6
a80 23
 <TR>
  <TD COLSPAN="5"><hr size="1" noshade></TD>
 </TR>
</TABLE>

<br>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1" BORDER="0" width="100%">
 <TR>
  <TD class="SmallHeader" colspan="2">Project Categories:</TD>
  <TD class="PlainText" colspan="3" align="RIGHT">
  #if( $acl.hasPermission("ProjectGroup - Add", $currentDomain) )
    <A HREF="/servlets/ProjectGroupAdd">Add New Category</A>
  #end
  </TD>
 </TR>
 <TR>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="43%">Name</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Elements&nbsp;&nbsp;</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Summary</TD>
 </TR>
d89 2
a90 2
  <TR> 
   <TD class="PlainText" VALIGN="top">
d94 1
a94 1
    <span class="Warning">No matching categories were found.</span>
d96 2
a97 2
   </TD>
  </TR>
d99 1
d101 2
a102 2
   <TR> 
    <TD class="PlainText" VALIGN="top">
d104 1
a104 1
      <A HREF="ProjectGroupEdit?projectGroupID=$category.getID()">$category.getName()</A>
d108 11
a118 16
    </TD> 
      <td></td>
    <TD class="PlainText" VALIGN="top">$category.getNumberOfProjects($acl)</TD> 
      <td></td>
    <TD class="PlainText">$category.getShortDescription()</TD> 
   </TR>

   <TR>
    <TD COLSPAN="5">
     <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>
d120 1
a120 6
 
   <TR>
    <TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
     ${categories.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
    </TD>
   </TR>
d122 1
d124 9
a132 8
 <TR>
  <TD COLSPAN="5"><hr size="1" noshade></TD>
 </TR>

 #if( !$noGroups || !$noCategories )
  <TR>
   <TD COLSPAN="5">
   <FORM METHOD="post" ACTION="ProjectGroupList">
d134 4
a137 7
   </FORM>
  </TR>
 #end

</TABLE>

</FORM>
@


1.3
log
@Corrected VTL syntax error(s).
@
text
@d30 1
a30 1
 #set( $groups = $currentDomain.getProjectGroups($itemsPerPage$filter, $acl) )
d104 1
a104 1
 #set( $categories = $currentDomain.getCategories($itemsPerPage, )$filter, $acl)
d158 1
a158 1
 #if( !$noGroups || !noCategories )
@


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
@d30 1
a30 1
 #set( $groups = $currentDomain.getProjectGroups($itemsPerPage, )$filter, $acl)
@


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

