[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security/pt - manage_permissionForm.pt:1.1.2.1
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 31 Jan 2002 17:28:11 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security/pt
In directory cvs.zope.org:/tmp/cvs-serv11220/pt
Added Files:
Tag: Zope-3x-branch
manage_permissionForm.pt
Log Message:
Preliminary Permissions management page (local only).
=== Added File Zope3/lib/python/Zope/App/Security/pt/manage_permissionForm.pt ===
<html metal:use-macro="views/standard_macros/page">
<head>
<style metal:fill-slot="headers" type="text/css" />
</head>
<body bgcolor="#ffffff" link="#000099" alink="#000099" vlink="#000099">
<div metal:fill-slot="body">
<p class="form-help">
jim hasn't been here (yet!)
</p>
<div tal:define="perm python:container.permissionForID(request.get('permission_to_manage'))">
<p class="form-text">
Roles assigned to the permission
<strong tal:content="perm/getTitle">Change DTML Methods</strong>
(id: <strong tal:content="perm/getId">Zope.Some.Permission</strong>)
</p>
<form action="manage_permission" method="post">
<input type="hidden" name="permission_to_manage" value="Change DTML Methods" />
<div class="form-element">
<select name="roles:list" multiple size="10">
<option tal:repeat="role perm/rolesinfo"
tal:content="role/title"
tal:attributes="selected role/checked;
value role/id"
>Sample</option>
</select>
</div>
<div class="form-element">
<input class="form-element" type="submit" name="submit" value="Save Changes" />
</div>
</form>
</div>
</div>
</body>
</html>