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.22.27.17;	author tfahrner;	state Exp;
branches;
next	1.8;

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

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

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

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

1.4
date	2001.06.13.15.30.19;	author beril;	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.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
@#set($projectType="group")

<div id="projectgroupadd" class="app">

 <h3>Add a Project Group: $currentDomain.getName()</h3>
 <p>* Required Fields</p>
<form name="GroupAddForm" action="ProjectGroupAdd" method="post" enctype="application/x-www-form-urlencoded">
 <div class="axial">
<table border="1" cellspacing="2" cellpadding="3">
  <tr>
   <th nowrap="nowrap">* Group Name</th>
   <td><input type="text" name="name" value="$name" size="30" />
       <p>Identify the project group with a one-word name displayed in all project listings. Use characters a-z (mixed case okay), 0-9, and dash (though not as first character); no spaces, underscores, or other punctuation. The project group name cannot be changed, so choose wisely.</p></td>
  </tr>
  #set ($parents = $currentDomain.getPotentialParents($acl, $projectType))
  #if ($parents.size() < 2)
   <input type="hidden" name="parent" value="$currentDomain.getID()">
  #else
   <tr>
    <th nowrap="nowrap">* Parent Group</th>
    <td>
     <select name="parent" size="1"/>
      #foreach ($parent in $parents)
       #if($parent.isDomain())
        #set($parentName="New top-level")
       #else
        #set($parentName=$parent.getNameWithParent())
       #end
       <option value="$parent.getID()" #if($parent.equals($parentName))SELECTED#end>$parentName</option>
      #end
     </select>
     <p>Select the parent group for the new group, or "New top-level"
	to make a new top-level group.</p>
    </td>
   </tr>
  #end
  <tr>
   <th nowrap="nowrap">* Summary</th>
   <td><input type="text" name="shortDescription" value="$shortDescription" size="30" maxlength="128" /><p>Enter a one-line summary of the group.</p></td>
  </tr>
  <tr>
   <th nowrap="nowrap">* Description</th>
   <td><textarea wrap="wrap" name="longDescription" rows="5" cols="30">$longDescription</textarea><p>Describe the group in more detail here.</p></td>
  </tr>
  <tr>
   <th nowrap="nowrap">Initial Projects</th>
   <td><textarea name="elements" rows="4" cols="30">$elements</textarea></td>
  </tr>
  <tr>
   <td></td>
   <td><p><input type="submit" name="Button" value="Create Group" /></p></td>
  </tr>
 </table>
 </div>
</form>
</div>
@


1.13
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a0 1
#parse( "Admin_Nav.vm" )
a3 3
<h2>
 #parse( "Nomen.vm" )
</h2>
d11 1
a11 1
   <th nowrap="nowrap">* Group Name:</th>
d20 1
a20 1
    <th nowrap="nowrap">* Parent Group:</th>
d38 1
a38 1
   <th nowrap="nowrap">* Summary:</th>
d42 1
a42 1
   <th nowrap="nowrap">* Description:</th>
d46 1
a46 1
   <th nowrap="nowrap">Initial Projects:</th>
@


1.12
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a7 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
@d7 4
@


1.9
log
@misc html usage revisions
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d4 3
@


1.8
log
@html usage revision to synch with scarab
@
text
@d9 1
a9 1
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
d56 1
a56 1
</div>@


1.7
log
@Implemented basic project group and category nesting.
@
text
@d4 1
a4 1
<div id="projectgroupadd">
d9 1
a9 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.6
log
@html usage revision
@
text
@d2 1
d15 22
a43 8
  </tr>
  <tr>
   <th nowrap="nowrap">Category:</th>
   <td><input type="checkbox" name="isCategory"
   #if( $isCategory )
    checked="checked"
   #end
    /><p>If checked, this group will be created a category rather than a regular project group.</p></td>
@


1.5
log
@xhtml cleanup
@
text
@d10 1
a10 2
   <th>*</th>
   <th nowrap="nowrap">Group Name:</th>
d15 1
a15 2
   <th>*</th>
   <th nowrap="nowrap">Summary:</th>
d19 1
a19 2
   <th>*</th>
   <th nowrap="nowrap">Description:</th>
a22 1
   <th></th>
a30 1
   <th></th>
d36 1
a36 2
   <td></td>
   <td><input type="submit" name="Button" value="Create Group" /></td>
@


1.4
log
@converted some of the redundant <th> tags to <td>
@
text
@d7 1
d45 1
@


1.3
log
@recoded according to new html/css standards
@
text
@d39 2
a40 2
   <th></th>
   <th></th>
@


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 25
a27 58

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Add a Project Group: <span class="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
  </TR>
</TABLE>

<TABLE CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
<FORM NAME="GroupAddForm" ACTION="ProjectGroupAdd" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
  <TR> 
    <TD class="Asterisk">*</td>
     <TD class="PlainText">Required fields</TD
    <td></TD>
  </TR> 
  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top" NOWRAP width="10%">Group Name:</TD>
    <TD COLSPAN="2"><INPUT TYPE="TEXT" NAME="name" VALUE="$name" SIZE="30"></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD class="PlainText">
      Identify the project group with a one-word name displayed in all project
      listings. Use characters a-z (mixed case okay), 0-9, and dash (though 
      not as first character); no spaces, underscores, or other punctuation. 
      The project group name cannot be changed, so choose wisely.
    </TD>
  </TR>
  <TR>      
   <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
   <TD class="InputHeader" VALIGN="top">Summary:</TD>
   <TD VALIGN="top"><input type="text" name="shortDescription" value="$shortDescription" size="30" maxlength="128"></TD>
  </TR>

  <TR>
    <TD></TD>
    <TD></TD>
    <TD class="PlainText">
     Enter a one-line summary of the group.
    </TD>
  </TR>
  <TR>      
   <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
   <TD class="InputHeader" VALIGN="top">Description:</TD>
   <TD VALIGN="top"><textarea wrap="virtual" name="longDescription" rows="5" cols="30">$longDescription</textarea></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD class="PlainText">
      Describe the group in more detail here.
    </TD>
  </TR>
  <TR>      
   <TD VALIGN="top"></TD>
   <TD class="InputHeader" VALIGN="top">Category:</TD>
   <TD class="PlainText"  VALIGN="top"><input type="checkbox" name="isCategory"
d29 1
a29 1
    CHECKED
d31 15
a45 15
   ><br>If checked, this group will be created a category rather than a regular project group.</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="InputHeader" VALIGN="top" width="10%">Initial Projects:</TD>
    <TD COLSPAN="2"><TEXTAREA NAME="elements" ROWS="4" COLS="30">$elements</TEXTAREA></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD><INPUT TYPE="submit" NAME="Button" VALUE="Create Group">
    </TD>
  </TR>
</FORM>
</TABLE>
@


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

