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


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

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

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

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

1.6
date	2001.07.31.00.01.54;	author tfahrner;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.30.21.59.21;	author tfahrner;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.20.05.24.44;	author jefflove;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.11.22.16.19;	author beril;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.25.21.31.21;	author leonardr;	state Exp;
branches;
next	1.1;

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


desc
@@


1.10
log
@removed redundant task links
@
text
@<div id="domainprojects" class="app">

  <h3>Hosted Projects: $currentDomain.getName()</h3>
#set($categories = $currentDomain.getCategories($acl))
#if( $categories.size()==0 )
  <p>No projects in domain.</p>
#else
<table border="1" cellspacing="2" cellpadding="3" width="100%">
 <tr>
  <th nowrap="nowrap">Category</th>
  <th nowrap="nowrap">Description</th>
  <th nowrap="nowrap">Projects</th>
 </tr>
#set ($rowClass="a")
 #foreach($category in $categories)
  #set($projects = $category.getProjects($acl))
  #set($projectHome = $category.getProjectHome()) 
  <tr class="$rowClass"> 
   <td><a href="$projectHome">$category.getName()</a></td>
   <td>$category.getShortDescription()</td>
   <td>$projects.size()</td>
  </tr>
  #if ($rowClass.equals("a"))
   #set ($rowClass="b")
  #else 
   #set ($rowClass="a")
  #end
 #end 
</table>
#end
</div>
@


1.9
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@a3 3
#if( $acl.hasPermission("Project - Suggest", $currentDomain) )
  <p class="affordance"><a href="/servlets/ProjectAdd">Start New Project</a><!-- | <a href="/servlets/DomainProjectCategories">Edit Categories</a> --></p>
#end
d31 1
a31 1
</div>@


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


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


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


1.5
log
@html usage revision to synch with scarab
@
text
@d2 3
@


1.4
log
@html usage revision
@
text
@d1 1
a1 1
<div id="domainprojects">
d10 1
a10 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.3
log
@recoded according to new html/css standards
@
text
@a5 1

d12 3
a14 2
  <th nowrap="nowrap">Category:</th>
  <th nowrap="nowrap">Projects:</th>
d22 1
a24 3
  <tr class="$rowClass">
   <td colspan="2">$category.getShortDescription()</td>
  </tr>
a29 1

@


1.2
log
@Efficiency and aesthetics cleanup.
@
text
@d1 16
a16 43
<FORM NAME="DomainProjectsForm" METHOD="post" ACTION="DomainProjects">

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
 <TR>
  <TD class="Header" nowrap>
   Hosted Projects: 
   <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN>
  </TD>  

<!--
    <TD CLASS="Welcome">View by <select name="viewSelect">
    <option value="">Topical Categories</option> 
    <option value="">Alphabetically</option>
    <option value="">License</option>
    </select>
    <input type="submit" name="submit_Go" value="Go">
    </TD>
-->

  <TD CLASS="PlainText" ALIGN="right">
   #if( $acl.hasPermission("Project - Suggest", $currentDomain) )
    <a href="/servlets/ProjectAdd">Start New Project</a> 
   #end
<!-- | <a href="/servlets/DomainProjectCategories">Edit Categories</a> -->
  </TD>
 </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1" width="100%">
 <TR>
  <TD COLSPAN="6"><HR SIZE="1" NOSHADE></TD>
 </TR>

 #set($categories = $currentDomain.getCategories($acl))
 #if( $categories.size()==0 )
  <TR> 
   <td colspan="2" class="PlainText"><b>No projects in domain.</b></td> 
  </TR> 
 #end 
  <TR>  
   <TD CLASS="ProjectDownloadHeader" VALIGN="top">Category:</TD>  
   <TD CLASS="ProjectDownloadHeader" VALIGN="top">Projects:</TD>  
  </TR> 
d20 12
a31 9
  <TR> 
   <TD CLASS="ResourcesHeader" VALIGN="top">
    <a href="$projectHome">$category.getName()</a>
   </TD> 
   <TD CLASS="PlainText" VALIGN="top">$projects.size()</TD>
  </TR>
  <TR>
   <TD class="PlainText" colspan="2">$category.getShortDescription()</TD> 
  </TR> 
a32 9
  <TR>
    <TD COLSPAN="2">
      <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>
d34 3
a36 2
</TABLE>

@


1.1
log
@Adding Velocity templates.
@
text
@d34 1
a34 1
 #set( $categories = $currentDomain.getCategories($acl) )
d36 3
a38 3
   <TR> 
     <td colspan="2" class="PlainText"><b>No projects in domain.</b></td> 
   </TR> 
d41 14
a54 2
    <TD CLASS="ProjectDownloadHeader" VALIGN="top">Category:</TD>  
    <TD CLASS="ProjectDownloadHeader" VALIGN="top">Projects:</TD>  
d56 11
a66 20
#foreach( $category in $categories )
    #set( $projects = $category.getProjects($acl) )
    #set( $projectHome = $category.getProjectHome( )) 
   <TR> 
      <TD CLASS="ResourcesHeader" VALIGN="top"><a href="$projectHome">$category.getName()</a></TD> 
      <TD CLASS="PlainText" VALIGN="top">$category.getProjects($acl).size()</TD>
   </TR>
   <TR>
      <TD class="PlainText" colspan="2">$category.getShortDescription()</TD> 
   </TR> 
      <TR>
        <TD COLSPAN="2">
          <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>
#end 
@

