head	1.11;
access;
symbols
	TIGRIS_1_1_0RC2:1.10
	TIGRIS_1_1_0RC1:1.10
	TIGRIS_1_1:1.10.0.4
	TIGRIS_1_0_8:1.10
	TIGRIS_1_0_8RC3:1.10
	TIGRIS_1_0_8RC2:1.10
	TIGRIS_1_0_8RC1:1.10
	TIGRIS_1_0_7:1.10
	TIGRIS_1_0_7RC3:1.10
	TIGRIS_1_0_7RC2:1.10
	TIGRIS_1_0_7RC1:1.10
	TIGRIS_1_0_6:1.10
	TIGRIS_1_0_6RC5:1.10
	TIGRIS_1_0_6RC4:1.10
	TIGRIS_1_0_6RC3:1.10
	TIGRIS_1_0_6RC2:1.10
	TIGRIS_1_0_6RC1:1.10
	TIGRIS_1_0_5:1.10
	TIGRIS_1_0_5RC6:1.10
	TIGRIS_1_0_5RC5:1.10
	TIGRIS_1_0_5RC4:1.10
	TIGRIS_1_0_5RC3:1.10
	TIGRIS_1_0_5RC2:1.10
	TIGRIS_1_0_5RC1:1.10
	TIGRIS_1_0_4:1.10
	TIGRIS_1_0_3:1.10
	TIGRIS_1_0_2:1.10
	TIGRIS_1_0_1:1.10
	TIGRIS_1_0:1.10.0.6
	TIGRIS_1_0_0:1.10
	TIGRIS_1_0_0_RC1:1.10.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.5
	TIGRIS_0_9_2_3:1.5
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.5
	TIGRIS_0_9_2_1:1.5
	TIGRIS_0_9_2:1.5.0.2
	TIGRIS_0_9_0:1.2.0.2;
locks; strict;
comment	@# @;


1.11
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.10;

1.10
date	2001.03.24.09.06.04;	author jrobbins;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.24.08.39.49;	author jrobbins;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.24.05.47.57;	author jrobbins;	state Exp;
branches;
next	1.7;

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

1.6
date	2001.02.21.01.08.32;	author dlr;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.15.16.38.20;	author leonardr;	state Exp;
branches
	1.5.4.1;
next	1.4;

1.4
date	2001.01.06.01.34.02;	author jody;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.05.21.45.48;	author jody;	state Exp;
branches;
next	1.2;

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

1.1
date	2000.12.12.00.12.36;	author leonardr;	state Exp;
branches
	1.1.1.1;
next	;

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

1.5.4.1
date	2001.02.05.22.18.30;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Removed WM templates in favor of Velocity templates.
@
text
@#parse "$BRAND_TEMPLATE_ROOT/Admin_Nav.wm"

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%"> 
  <TR> 
    <TD class="Header">Add Permission to Role: <a href="/servlets/RoleEdit?roleID=$currentRole.getID()">$currentRole.getName()</a></TD>
  </TR> 
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
<FORM ACTION="RolePermissionAdd?roleID=$currentRole.getID()" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<INPUT TYPE="hidden" NAME="roleID" VALUE="$currentRole.getID()">
#if ($currentRole.getType().equals("Host"))
{
  <TR>
    <TD class="SmallHeader" colspan="3">Host Actions:</TD>
  </TR>
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Add</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
  </TR>
 #foreach $action in $host.getHostActions()
 {
  <TR>
    <TD><input type="checkbox" name="Add $action.getID()"></TD>
    <td></td>
    <TD class="PlainText">$action.getName()</TD>
  </TR>
 }
}

#if ($currentRole.getType().equals("Host") || $currentRole.getType().equals("Domain"))
{
  <TR>
    <TD class="SmallHeader" colspan="3">Domain Actions:</TD>
  </TR>
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Add</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
  </TR>
 #foreach $action in $host.getDomainActions()
 {
  <TR>
    <TD><input type="checkbox" name="Add $action.getID()"></TD>
    <td></td>
    <TD class="PlainText">$action.getName()</TD>
  </TR>
 }
}

  <TR>
    <TD class="SmallHeader" colspan="3">Project Actions:</TD>
  </TR>
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Add</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="BLOCK" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
  </TR>
#foreach $action in $host.getProjectActions()
{
 <TR>
   <TD><input type="checkbox" name="Add $action.getID()"></TD>
   <td></td>
   <TD class="PlainText">$action.getName()</TD>
 </TR>
}

  <TR>
    <TD colspan="3">&nbsp;</TD>
  </TR>
  <TR>
    <TD class="SmallHeader" colspan="3">Permission Scope:</TD>
  </TR>
<TR>
  <TD colspan="3" class="PlainText">Choose a resource to which the selected actions will be granted in the role.</TD>
</TR>

#set $default=true
#foreach $resource in $host.getResources()
{
 <TR>
   <TD colspan="3" class="PlainText"><input type="radio" name="resource" value="$resource.getID()"
 #if ($default)
 {
  #set $default=false
  checked
 }>
 $resource.getDescription(): $resource.getPattern()
   </TD>
 </TR>
}

<TR>
  <TD colspan="3"><input type="submit" name="Button" value="Add Permissions"></TD>
</TR>
</TABLE>
@


1.10
log
@added much needed admin nav element
@
text
@@


1.9
log
@added style, spacing, divider lines, moved a few links around on the pages
@
text
@d1 2
@


1.8
log
@PR: 1535
applied styles, added explanitory headings
@
text
@d3 1
a3 1
    <TD class="ProjectNameHeader">Add Permission to Role: $currentRole.getName()</TD>
@


1.7
log
@Added hrs.
@
text
@d7 1
a7 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" width="100%">
d10 5
d17 1
d19 1
a19 3
</TR>
#if ($currentRole.getType().equals("Host"))
{
d24 1
a27 1
 <tr><td colspan="3"><hr></td></tr>
d32 8
d44 1
a47 1
 <tr><td colspan="3"><hr></td></tr>
d50 8
d62 1
d67 6
d74 1
a74 4
  <TD colspan="2"><hr></TD>
</TR>
<TR>
  <TD colspan="2" class="PlainText">Choose a resource to which the selected actions will be granted in the role.</TD>
d81 1
a81 1
   <TD colspan="2"><input type="radio" name="resource" value="$resource.getID()"
d93 1
a93 1
  <TD colspan="2"><input type="submit" name="Button" value="Add Permissions"></TD>
@


1.6
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d23 1
d35 1
@


1.5
log
@Show actions by role type properly.
@
text
@d16 1
a16 1
 #foreach $action in $currentDomain.getHostActions()
d27 1
a27 1
 #foreach $action in $currentDomain.getDomainActions()
d36 1
a36 1
#foreach $action in $currentDomain.getProjectActions()
d52 1
a52 1
#foreach $resource in $currentDomain.getResources()
@


1.5.4.1
log
@Ported RolePermissionAdd template.
@
text
@d16 1
a16 1
 #foreach $action in $host.getHostActions()
d27 1
a27 1
 #foreach $action in $host.getDomainActions()
d36 1
a36 1
#foreach $action in $host.getProjectActions()
d52 1
a52 1
#foreach $resource in $host.getResources()
@


1.4
log
@fixed the table at the top
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d14 1
a14 1
#if ($currentRole.type().equals("Host"))
d25 1
a25 1
#if ($currentRole.type().equals("Host") || $currentRole.type().equals("Domain"))
@


1.3
log
@applied stltes straightened out the tables
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 1
a3 1
    <TD class="ProjectNameHeader"y>Add Permission to Role: $currentRole.getName()
@


1.2
log
@Boxes are checked properly now.
@
text
@d1 5
a5 1
<h1>Add Permission to Role: $currentRole.getName()</h1>
d7 1
a7 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
d10 3
a12 3

<TR><TD class="ProjectDownloadHeader" bgcolor="#efefef">Add</TD>
<TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
d18 4
a21 4
  <tr>
  <td><input type="checkbox" name="Add $action.getID()"></TD>
  <td>$action.getName()</td>
  </tr>
d29 4
a32 4
  <tr>
  <td><input type="checkbox" name="Add $action.getID()"></TD>
  <td>$action.getName()</td>
  </tr>
d38 4
a41 4
 <tr>
 <td><input type="checkbox" name="Add $action.getID()"></TD>
 <td>$action.getName()</td>
 </tr>
d44 6
a49 2
<tr><td colspan="2"><hr></td></tr>
<tr><td colspan="2">Choose a resource to which the selected actions will be granted in the role.</td></tr>
d54 2
a55 2
 <tr>
 <td colspan="2"><input type="radio" name="resource" value="$resource.getID()"
d62 2
a63 1
 </td></tr>
d66 4
a69 2
<tr><td><input type="submit" name="Button" value="Add Permissions"></td></tr>
</table>@


1.1
log
@New servlet: RolePermissionAdd
@
text
@d51 1
a51 1
  selected
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d1 1
a1 5
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%"> 
  <TR> 
    <TD class="ProjectNameHeader">Add Permission to Role: $currentRole.getName()</TD>
  </TR> 
</TABLE>
d3 1
a3 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" width="100%">
d6 3
a8 3
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Add</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
d10 1
a10 1
#if ($currentRole.getType().equals("Host"))
d12 1
a12 1
 #foreach $action in $host.getHostActions()
d14 4
a17 4
  <TR>
    <TD><input type="checkbox" name="Add $action.getID()"></TD>
    <TD class="PlainText">$action.getName()</TD>
  </TR>
d21 1
a21 1
#if ($currentRole.getType().equals("Host") || $currentRole.getType().equals("Domain"))
d23 1
a23 1
 #foreach $action in $host.getDomainActions()
d25 4
a28 4
  <TR>
    <TD><input type="checkbox" name="Add $action.getID()"></TD>
    <TD class="PlainText">$action.getName()</TD>
  </TR>
d32 1
a32 1
#foreach $action in $host.getProjectActions()
d34 4
a37 4
 <TR>
   <TD><input type="checkbox" name="Add $action.getID()"></TD>
   <TD class="PlainText">$action.getName()</TD>
 </TR>
d40 2
a41 6
<TR>
  <TD colspan="2"><hr></TD>
</TR>
<TR>
  <TD colspan="2" class="PlainText">Choose a resource to which the selected actions will be granted in the role.</TD>
</TR>
d44 1
a44 1
#foreach $resource in $host.getResources()
d46 2
a47 2
 <TR>
   <TD colspan="2"><input type="radio" name="resource" value="$resource.getID()"
d51 1
a51 1
  checked
d54 1
a54 2
   </TD>
 </TR>
d57 2
a58 4
<TR>
  <TD colspan="2"><input type="submit" name="Button" value="Add Permissions"></TD>
</TR>
</TABLE>
@


