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


1.5
date	2001.07.19.19.09.50;	author elicia;	state dead;
branches;
next	1.4;

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

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

1.2
date	2001.05.31.19.15.42;	author elicia;	state Exp;
branches;
next	1.1;

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


desc
@@


1.5
log
@removing document-related templates, since they are being extracted out into the nidaba component.
@
text
@<div id="projectsectionadd">

#if( $parent )
   #set( $parentID = $parent.getID() )
   #set( $parentName = "folder $parent.getName()")

#else
   #set( $parentID = 0 )
   #set( $parentName = "top level")
#end

<h3>Add Document Folder to $parentName : <a href="$currentProject.getProjectHome()">$currentProject.getName()</a></h3>

<form action="$servletName" method="post" enctype="application/x-www-form-urlencoded">

<input type="hidden" name="rootSectionID" value="$parentID" />

<div class="axial">
<table border="0" cellspacing="0" cellpadding="2">
 <tr>
  <th nowrap="nowrap">Folder Name:</th>
  <td><input type="text" name="name" value="$name" size="25" /></td>
 </tr>
 <tr>
  <th nowrap="nowrap">Optional Description:</th>
  <td><input type="text" name="description" value="$description" size="55" /></td>
 </tr>

<!-- this commented out section kept during ui recoding -->
<!--
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP><b>Subfolder of:</b></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="0" 
#if( $parentID.equals("0") || (!$parentID) )
CHECKED
#end>None, place new folder at top level</TD>
  </TR>

#foreach( $section in $currentProject.getSections() ) 
  #if( $section.isApproved() )
  <TR>
    <TD></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="$section.getID()"
#if( $parentID.equals($section.getID()) )
CHECKED
#end>$section.getName()</TD>
  </TR>
 #end
#end
-->

 <tr>
  <td></td>
  <td><input type="submit" name="Button" value="Add Folder" /></td>
 </tr>
</table>
</div>

  <p>New folder must be approved by the project owner before they will be visible to other users.</p>

</form>

</div>@


1.4
log
@html usage revisions
@
text
@@


1.3
log
@ui recoded
@
text
@d18 2
a19 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
d21 1
a21 1
  <td nowrap="nowrap">Folder Name:</td>
d25 1
a25 1
  <td nowrap="nowrap">Optional Description:</td>
a55 4
 <tr>
  <td></td>
  <td>New folder must be approved by the project owner before they will be visible to other users.</td>
 </tr>  
d57 3
@


1.2
log
@Changed UI for Project Document component. Two-pane UI now: left pane for folder tree, right pane for document list.  There is now summary information about each document in the list. The List has a "root folder" that is the root of the tree. You add subfoldrs and sections to the root folder. Folders can now be nested to infinite number of levels.

Now a document can have 0-3 of the following: file upload, URL, or text (instead of having one and only one of the three as before).  There are now fields for modified by, modified date, and is_public (for the file upload).
@
text
@d1 2
d12 5
a16 5
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Add Document Folder to $parentName :</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
  </TR>
</TABLE>
d18 9
a26 1
<FORM  ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
d28 1
a28 10
<INPUT TYPE="hidden" name="rootSectionID" value="$parentID">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="InputHeader" VALIGN="top" NOWRAP><b>Folder Name:</b></TD>
    <TD WIDTH="100%"><INPUT TYPE="TEXT" NAME="name" VALUE="$name" SIZE="25"></TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP><b>Optional Description:</b></TD>
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="55"></TD>
  </TR>
d51 11
a61 12
  <TR>
    <TD COLSPAN="2">&nbsp;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD><INPUT TYPE="SUBMIT" NAME="Button" VALUE="Add Folder"></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="PlainText">New folder must be approved by the project owner before they will be visible to other users.</TD>
  </TR>  
</TABLE>
d63 1
a63 1
</FORM>
@


1.1
log
@Adding Velocity templates.
@
text
@d3 1
a3 1
   #set( $parentName = "folder )$parent.getName()"
d7 1
a7 1
   #set( $parentName = "top )level"
d12 1
a12 1
    <TD class="Header" nowrap><b>Add a Document Folder to $parentName :</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
@

