[Zope3-checkins] CVS: Zope3/src/zope/app/browser/security/grants - grant.pt:1.4 principal_permission_edit.pt:1.4
Steve Alexander
steve@cat-box.net
Mon, 30 Jun 2003 13:11:25 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/security/grants
In directory cvs.zope.org:/tmp/cvs-serv25941/src/zope/app/browser/security/grants
Modified Files:
grant.pt principal_permission_edit.pt
Log Message:
Removed tabs.
=== Zope3/src/zope/app/browser/security/grants/grant.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/security/grants/grant.pt:1.3 Thu Feb 6 12:20:30 2003
+++ Zope3/src/zope/app/browser/security/grants/grant.pt Mon Jun 30 13:10:54 2003
@@ -10,8 +10,8 @@
<!-- XXX : This is just a temporary way of overriding the elements not needed,
only done for visual purposes. Do not clone this ;)
- - Alexander
- -->
+ - Alexander
+ -->
<div metal:fill-slot="tabs" />
<div metal:fill-slot="actions" />
=== Zope3/src/zope/app/browser/security/grants/principal_permission_edit.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/security/grants/principal_permission_edit.pt:1.3 Wed Jun 25 14:43:07 2003
+++ Zope3/src/zope/app/browser/security/grants/principal_permission_edit.pt Mon Jun 30 13:10:54 2003
@@ -10,37 +10,37 @@
<tr>
<td valign="top">
<table border="0">
- <tr>
- <th colspan="2" align="center">Allowed Permissions</th>
- </tr>
- <tr tal:repeat="perm python:view.get_set_permissions_for_principal(rprincipal_id, 'Allow')">
- <td><input type="checkbox" tal:attributes="name perm/getId"/></td>
+ <tr>
+ <th colspan="2" align="center">Allowed Permissions</th>
+ </tr>
+ <tr tal:repeat="perm python:view.get_set_permissions_for_principal(rprincipal_id, 'Allow')">
+ <td><input type="checkbox" tal:attributes="name perm/getId"/></td>
<td tal:content="perm/getTitle">Permission1</td>
- </tr>
- <tr tal:replace="nothing">
- <td><input type="checkbox" name="permission_ids" /></td><td>Permission2</td>
- </tr>
- <tr tal:replace="nothing">
- <td><input type="checkbox" name="permission_ids" /></td><td>Permission3</td>
- </tr>
- <tr tal:replace="nothing">
- <td><input type="checkbox" name="permission_ids" /></td><td>Permission5</td>
- </tr>
+ </tr>
+ <tr tal:replace="nothing">
+ <td><input type="checkbox" name="permission_ids" /></td><td>Permission2</td>
+ </tr>
+ <tr tal:replace="nothing">
+ <td><input type="checkbox" name="permission_ids" /></td><td>Permission3</td>
+ </tr>
+ <tr tal:replace="nothing">
+ <td><input type="checkbox" name="permission_ids" /></td><td>Permission5</td>
+ </tr>
</table>
</td>
<td valign="top">
<table border="0">
- <tr >
- <th colspan="2" align="center">Denied Permissions</th>
- </tr>
- <tr tal:repeat="perm python:view.get_set_permissions_for_principal(rprincipal_id, 'Deny')">
- <td><input type="checkbox" tal:attributes="name perm/getId" /></td>
+ <tr >
+ <th colspan="2" align="center">Denied Permissions</th>
+ </tr>
+ <tr tal:repeat="perm python:view.get_set_permissions_for_principal(rprincipal_id, 'Deny')">
+ <td><input type="checkbox" tal:attributes="name perm/getId" /></td>
<td tal:content="perm/getTitle">Permission1</td>
- </tr>
- <tr tal:replace="nothing">
- <td><input type="checkbox" name="permission_ids" /></td>
+ </tr>
+ <tr tal:replace="nothing">
+ <td><input type="checkbox" name="permission_ids" /></td>
<td>Permission2</td>
- </tr>
+ </tr>
</table>
</td>
</tr>
@@ -57,24 +57,24 @@
<table>
<tr>
<td>
- <select name="permissions" multiple="multiple">
- <option
- tal:repeat="perm python:view.get_unset_permissions_for_principal(rprincipal_id)"
- tal:attributes="value perm/getId"
- tal:content="perm/getTitle">Perm1</option>
- <option tal:replace="nothing">Perm2</option>
- <option tal:replace="nothing">Perm3</option>
- <option tal:replace="nothing">Perm4</option>
- <option tal:replace="nothing">Perm5</option>
- </select>
- </td>
+ <select name="permissions" multiple="multiple">
+ <option
+ tal:repeat="perm python:view.get_unset_permissions_for_principal(rprincipal_id)"
+ tal:attributes="value perm/getId"
+ tal:content="perm/getTitle">Perm1</option>
+ <option tal:replace="nothing">Perm2</option>
+ <option tal:replace="nothing">Perm3</option>
+ <option tal:replace="nothing">Perm4</option>
+ <option tal:replace="nothing">Perm5</option>
+ </select>
+ </td>
<td valign="center">
- <p>
- <input type="submit" name="grantPermissions.html:method" value="Grant" />
- </p>
- <p>
- <input type="submit" name="denyPermissions.html:method" value="Deny" />
- </p>
+ <p>
+ <input type="submit" name="grantPermissions.html:method" value="Grant" />
+ </p>
+ <p>
+ <input type="submit" name="denyPermissions.html:method" value="Deny" />
+ </p>
</td>
</tr>
</table>