
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4072 fd906abe-77d9-0310-91a1-e0d9ade77398
85 lines
3.2 KiB
XML
85 lines
3.2 KiB
XML
<html metal:use-macro="context/@@standard_macros/view"
|
|
i18n:domain="zope">
|
|
<body>
|
|
<div metal:fill-slot="body" i18n:domain="zope">
|
|
<h2 i18n:translate="">Granting Roles and Permissions to Principals</h2>
|
|
<p tal:define="status view/status"
|
|
tal:condition="status"
|
|
tal:content="status" i18n:translate=""/>
|
|
|
|
|
|
|
|
<form action="" method="POST">
|
|
|
|
<div tal:content="structure view/principal_widget">...</div>
|
|
|
|
<div tal:condition="view/principal">
|
|
|
|
<h2 i18n:translate="">Grants for the selected principal</h2>
|
|
<input type="submit" name="GRANT_SUBMIT" value="Change"
|
|
i18n:attributes="value grant-submit" />
|
|
|
|
<table width="100%" border="0">
|
|
<tr>
|
|
<td valign="top">
|
|
<table class="matrix">
|
|
<tr>
|
|
<td i18n:translate=""><strong>Roles</strong> </td>
|
|
<td i18n:translate=""><strong>Allow</strong> </td>
|
|
<td i18n:translate=""><strong>Unset</strong> </td>
|
|
<td i18n:translate=""><strong>Deny</strong> </td>
|
|
</tr>
|
|
<tr tal:repeat="widget view/roles">
|
|
<td valign="top" nowrap>
|
|
<div class="label">
|
|
<label for="field.name" title="The widget's hint"
|
|
tal:attributes="for widget/name; title widget/hint"
|
|
tal:content="widget/label"
|
|
i18n:translate="">The Label</label>
|
|
</div>
|
|
</td>
|
|
<tal:block tal:content="structure widget">
|
|
roles widget
|
|
</tal:block>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><a href="#top" i18n:translate="">^ top</a></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td valign="top">
|
|
<table class="matrix">
|
|
<tr>
|
|
<td i18n:translate=""><strong>Permissions</strong> </td>
|
|
<td i18n:translate=""><strong>Allow</strong> </td>
|
|
<td i18n:translate=""><strong>Unset</strong> </td>
|
|
<td i18n:translate=""><strong>Deny</strong> </td>
|
|
</tr>
|
|
<tr tal:repeat="widget view/permissions">
|
|
<td valign="top" nowrap>
|
|
<div class="label">
|
|
<label for="field.name" title="The widget's hint"
|
|
tal:attributes="for widget/name; title widget/hint"
|
|
tal:content="widget/label"
|
|
i18n:translate="">The Label</label>
|
|
</div>
|
|
</td>
|
|
<tal:block tal:content="structure widget">
|
|
permission widget
|
|
</tal:block>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><a href="#top" i18n:translate="">^ top</a></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="submit" name="GRANT_SUBMIT" value="Change"
|
|
i18n:attributes="value grant-submit" />
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|