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


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

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

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

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

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

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

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

1.5
date	2001.07.02.18.56.44;	author leonardr;	state Exp;
branches;
next	1.4;

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

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

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

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


desc
@@


1.12
log
@removed redundant task links
@
text
@<div id="resourcelist" class="app">
 <table border="1" cellspacing="2" cellpadding="3" width="100%"> 
  <tr>
   <th>Visibility</th>
   <th>Description</th>
   <th>Pattern</th>
  </tr>
 #set ($rowClass="a")
 #foreach( $resource in $currentProject.getResources() )
  #set ($resourceProject = $resource.getProject())
  <tr class="$rowClass">
  <td>
   #if ($resourceProject.isHost() || $resourceProject.isDomain())
    All projects
   #else
    $resourceProject.getName()
   #end   
  </td>
   <td nowrap="nowrap">
  #if( $acl.hasPermission("Resource - Edit", $resourceProject))
   <a href="ResourceEdit?resourceID=$resource.getID()">$resource.getDescription()</a>
  #else
   ${resource.getDescription()}
  #end
   </td> 
   <td>$resource.getPattern()</td> 
  </tr> 
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
#end
 </table>
</div>
@


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

a1 5

 #if( $acl.hasPermission("Resource - Add", $currentProject) )
  <p class="affordance"><a href="ResourceAdd">Add New Resource</a></p>
 #end

a32 1

@


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


1.8
log
@included "task nav" below headlines
@
text
@d1 2
@


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


1.6
log
@html usage revision to synch with scarab
@
text
@a0 2
#parse( "Admin_Nav.vm" )

d2 3
a4 1
 <h3>Resource List</h3>      
@


1.5
log
@Implemented project-scoped roles.
@
text
@d3 1
a3 1
<div id="resourcelist">
d9 1
a9 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%"> 
@


1.4
log
@html usage revisions
@
text
@d5 1
a5 1
 #if( $acl.hasPermission("Resource - Add") )
d11 1
d16 2
a17 1
 #foreach( $resource in $host.getResources() )
d19 7
d27 1
a27 1
  #if( $acl.hasPermission("Resource - Edit", $currentDomain) )
@


1.3
log
@xhtml cleanup
@
text
@d4 1
a4 1
 <h4>Resource List</h4>      
d11 2
a12 2
   <th nowrap="nowrap">Description</th>
   <th nowrap="nowrap">Pattern</th>
a34 9









@


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
@d3 2
a4 4
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
 <TR>
  <TD CLASS="Header">Resource List</TD>      
  
d6 1
a6 1
  <TD><A HREF="ResourceAdd" align="RIGHT" class="PlainText">Add New Resource</a></TD>
a7 2
 </TR>
</TABLE>
d9 9
a17 10
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0">

<TR>
 <TD class="ProjectDownloadHeader" bgcolor="#efefef">Description</TD>
 <TD class="ProjectDownloadHeader" bgcolor="#efefef" WIDTH="30"> &nbsp; <SPACER TYPE="block" WIDTH="30"></TD>
 <TD class="ProjectDownloadHeader" bgcolor="#efefef">Pattern</TD>
</TR>
#foreach( $resource in $host.getResources() )
 <TR> 
  <TD class="PlainText" nowrap>
d19 1
a19 1
   <A HREF="ResourceEdit?resourceID=$resource.getID()">$resource.getDescription()</A>
d23 8
a30 14
  </TD> 
  <td></td>
  <TD class="PlainText" width="100%">$resource.getPattern()</TD> 
 </TR> 

  <TR>
   <TD COLSPAN="3">
    <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>
d33 2
a34 4

</TABLE>

</FORM>
@


1.1
log
@Adding Velocity templates.
@
text
@d1 1
a1 1
#parse( "$BRAND_TEMPLATE_ROOT/Admin_Nav.vm" )
@

