head	1.2;
access;
symbols
	NEWHELM:1.1.1.1 TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2000.11.21.01.47.58;	author leonardr;	state dead;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.05;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.05;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.2
log
@First stab at UserGroups.
@
text
@## <!-- webmacro variables -->   
## <!-- $groupName -->  
## <!-- $description -->  
## <!-- $policyType: $policyType.equals() -->  
## <!-- $policyList -->  
## <!-- $pt -->  
## <!-- $groupType: $groupType.equals() --> 
## <!-- $groupList --> 
## <!-- $gt --> 
## <!-- $changeGroup: submit button form widget --> 
## <!-- $add, $delete: submit button form widgets -->
## <!-- $currentGroup: $currentGroup.getProjects() -->
## <!-- $project: $project.getName(), $project.getShortDecription() -->
## <!-- $deleteProjects: submit button form widgets -->
## <!-- $projectName -->
## <!-- $addProject: submit button form widget -->
## <!-- $browseProjects: submit button form widget --> 
## <!-- $deleteGroup: submit button form widget --> 
 
<FORM NAME="GroupEditForm" ACTION="default.cgi" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>GroupAdd</TD>  
  </TR>
</TABLE>

<TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="2">
  <TR>
    <TD class="InputHeader" VALIGN="top" NOWRAP>Group Name:</TD>
    <TD COLSPAN="2"><INPUT TYPE="TEXT" NAME="groupName" VALUE="$groupName" SIZE="34"><BR> 
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Short Description:</TD>
    <TD COLSPAN="2"><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="34"></TD> 
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Member Policy:</TD>
      <select name="policyType">  
 
<!-- temporary static html --> 
        <option value="">Anyone may join</option>  
        <option value="">Approval required</option>  
        <option value="">Invitation only</option>  
 
<!-- wembacro commented out while servlet not functional --> 
#if (false) 
{ 
#foreach $pt in $policyList  
  {  
            <option value="$pt"  
  #if ($policyType.equals($pt))  
    {  
    selected  
    }  
                                        >$pt</option>  
  } 
} 

      </select>
    </TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Group Catagory:</TD>
      <select name="groupType"> 
 
<!-- temporary static html --> 
        <option value="">Games</option> 
        <option value="">Business</option> 
        <option value="">Financial</option> 
        <option value="">Productivity</option> 
        <option value="">Communications</option> 
        <option value="">Other</option> 
        <option value="">New Catagory</option> 
 
<!-- webmacro commented out while servlet not functional --> 
#if (false) 
{ 
#foreach $gt in $groupList  
  {  
            <option value="$gt"  
  #if ($groupType.equals($gt))  
    {  
    selected  
    }  
                                        >$gt</option>  
  }  
} 

      </select>
    </TD>
  </TR>
  <TR>
    <TD></TD>
    <TD><INPUT TYPE="submit" NAME="changeGroup" VALUE="Submit Changes"></TD>
  </TR>
  <TR>
    <TD COLSPAN="2">&nbsp;</TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Group Members:</TD>
    <TD>
      <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="2">  
        <TR>
          <TD class="ProjectDownloadHeader" bgcolor="#efefef">User</TD>
          <TD class="ProjectDownloadHeader" bgcolor="#efefef">Real Name</TD>
          <TD class="ProjectDownloadHeader" bgcolor="#efefef">Role(s)</TD>
          <TD bgcolor="#efefef" WIDTH="100%">&nbsp;</TD>
        </TR>

<!-- temporary static html -->
        <TR>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">jrobbins</A></TD>
          <TD class="PlainText" VALIGN="top" NOWRAP>Jason Robbins</TD>
          <TD class="PlainText" NOWRAP><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox">Project Owner</TD>
          <TD WIDTH="100%">&nbsp;</TD>
        </TR>
        <TR>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">npm</A></TD>
          <TD class="PlainText" VALIGN="top" NOWRAP>Niels Mayer</TD>
          <TD class="PlainText" NOWRAP><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox">Developer</TD>
          <TD WIDTH="100%">&nbsp;</TD>
        </TR>
        <TR>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">brian</A></TD>
          <TD class="PlainText" VALIGN="top" NOWRAP>Brian Behlendorf</TD>
          <TD class="PlainText" NOWRAP><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox">Content author<BR><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox">Contractor</TD>
          <TD WIDTH="100%">&nbsp;</TD>
        </TR>

<!-- commented out while servlet not functional -->   
#if (false)   
{   
#foreach $user in $currentGroup.getUsers() 
  { 
        <TR> 
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">$user.getLoginID()</A></TD> 
          <TD class="PlainText" VALIGN="top" NOWRAP>$user.getName()</TD> 
          <TD class="PlainText" NOWRAP>
  #foreach $role in $user.getRoles()
    {
            <INPUT TYPE="CHECKBOX" NAME="$user.getName()$role.getName()Check" VALUE="$role.getName()">$role.getName()</TD><BR>
    }
          <TD WIDTH="100%">&nbsp;</TD> 
        </TR> 
  }
}

        <TR>
          <TD COLSPAN="4"><INPUT TYPE="submit" NAME="add" VALUE="Add New Member or Role">&nbsp;&nbsp;<INPUT TYPE="submit" NAME="delete" VALUE="Delete Selected Roles"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR>
    <TD COLSPAN="2">&nbsp;</TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Group Projects:</TD>
    <TD WIDTH="100%">
      <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="2">
        <TR>
          <TD class="ProjectDownloadHeader" bgcolor="#efefef">Delete</TD>
          <TD class="ProjectDownloadHeader" bgcolor="#efefef">Project</TD>
          <TD class="ProjectDownloadHeader" bgcolor="#efefef">Description</TD>
        </TR>

<!-- temporary static html -->
        <TR>
          <TD><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox"></TD>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">argouml</A></TD>
          <TD class="PlainText" VALIGN="top">Project to build a free UML tool</TD>
        </TR>
        <TR>
          <TD><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox"></TD>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">gef</A></TD>
          <TD class="PlainText" VALIGN="top">Java Graph Editing Framework</TD>
        </TR>
        <TR>
          <TD><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox"></TD>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">joist</A></TD>
          <TD class="PlainText" VALIGN="top">Instrastructure for member-oriented web sites</TD>
        </TR>
        <TR>
          <TD><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox"></TD>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">helm</A></TD>
          <TD class="PlainText" VALIGN="top">Web admin UI for tigris tool</TD>
        </TR>
        <TR>
          <TD><INPUT TYPE="CHECKBOX" NAME="CheckBox" VALUE="CheckBox"></TD>
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/UserEdit.html">subversion</A></TD>
          <TD class="PlainText" VALIGN="top">Version control rethought</TD>
        </TR>

<!-- commented out while servlet not functional -->   
#if (false)   
{   
#foreach $project in $currentGroup.getProjects() 
  { 
        <TR> 
          <TD><INPUT TYPE="CHECKBOX" NAME="$project.getName()" VALUE="$project.getName()"></TD> 
          <TD class="ProjectName" VALIGN="top"><A HREF="/servlets/ProjectEdit.html">$project.getName()</A></TD> 
          <TD class="PlainText" VALIGN="top">$project.getShortDecription()</TD>
        </TR> 
  }
}
        <TR>
          <TD COLSPAN="3"><INPUT TYPE="submit" NAME="deleteProjects" VALUE="Delete Selected Projects"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Add New Project:</TD>
    <TD COLSPAN="4"><INPUT TYPE="TEXT" NAME="projectName" VALUE="$projectName" SIZE="25">&nbsp;&nbsp;<INPUT TYPE="submit" NAME="addProject" VALUE="Add New Project">&nbsp;&nbsp;<INPUT TYPE="submit" NAME="browseProjects" VALUE="Browse..."></TD>
  </TR>
  <TR>
    <TD>&nbsp;</TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Other Options:</TD>
    <TD COLSPAN="4"><INPUT TYPE="submit" NAME="deleteGroup" VALUE="Delete This Group"></TD>
  </TR>
</TABLE>
</FORM>
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@
