[Zope-CVS] SVN: zope.webdev/trunk/browser/contentdefinition_
Missing templates checked in.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Jan 31 17:24:27 EST 2006
Log message for revision 41521:
Missing templates checked in.
Changed:
U zope.webdev/trunk/browser/contentdefinition_overview.pt
U zope.webdev/trunk/browser/contentdefinition_permission.pt
-=-
Modified: zope.webdev/trunk/browser/contentdefinition_overview.pt
===================================================================
--- zope.webdev/trunk/browser/contentdefinition_overview.pt 2006-01-31 22:05:04 UTC (rev 41520)
+++ zope.webdev/trunk/browser/contentdefinition_overview.pt 2006-01-31 22:24:26 UTC (rev 41521)
@@ -0,0 +1,47 @@
+<html metal:use-macro="context/@@standard_macros/view">
+<body>
+
+<span metal:fill-slot="pagetitle">Content Component Definition Overview</span>
+
+<div metal:fill-slot="body">
+
+ <div class="error"
+ tal:condition="view/status"
+ tal:content="view/status" />
+
+ <form action="." tal:attributes="action request/URL" method="post"
+ enctype="multipart/form-data">
+
+ <input type="hidden" name="doEdit" value="1"
+ tal:condition="request/form/doEdit|nothing" />
+
+ <table id="form">
+ <tr tal:repeat="widget view/widgets">
+ <th class="label">
+ <label for="form.field" title="Widget's Hint"
+ tal:attributes="for widget/name;
+ title widget/hint"
+ tal:content="widget/label" />
+ </th>
+ <td class="field">
+ <div tal:replace="structure widget" />
+ </td>
+ </tr>
+ </table>
+
+ <br />
+
+ <div id="actionsView">
+ <span class="actionButtons">
+ <input tal:repeat="action view/actions"
+ tal:replace="structure action/render"
+ />
+ </span>
+ </div>
+
+ </form>
+
+</div>
+
+</body>
+</html>
Modified: zope.webdev/trunk/browser/contentdefinition_permission.pt
===================================================================
--- zope.webdev/trunk/browser/contentdefinition_permission.pt 2006-01-31 22:05:04 UTC (rev 41520)
+++ zope.webdev/trunk/browser/contentdefinition_permission.pt 2006-01-31 22:24:26 UTC (rev 41521)
@@ -0,0 +1,49 @@
+<html metal:use-macro="context/@@standard_macros/view">
+<body>
+
+<span metal:fill-slot="pagetitle">Content Component Definition Overview</span>
+
+<div metal:fill-slot="body">
+
+ <div class="error"
+ tal:condition="view/status"
+ tal:content="view/status" />
+
+ <form action="." tal:attributes="action request/URL" method="post"
+ enctype="multipart/form-data">
+
+ <tal:block define="widgets view/getPermissionWidgets"
+ condition="widgets">
+ <h1 i18n:translate="">Map permissions to Schema fields</h1>
+
+ <tal:block repeat="pwidget widgets">
+ <h5 tal:content="string:${pwidget/fieldTitle} (${pwidget/fieldName})">
+ FieldName (Field Title)
+ </h5>
+
+ <div class="row" tal:define="widget nocall:pwidget/getter">
+ <metal:block use-macro="context/@@form_macros/widget_row" />
+ </div>
+
+ <div class="row" tal:define="widget nocall:pwidget/setter">
+ <metal:block use-macro="context/@@form_macros/widget_row" />
+ </div>
+
+ <br />
+ </tal:block>
+ </tal:block>
+
+ <div id="actionsView" class="row">
+ <span class="actionButtons">
+ <input tal:repeat="action view/actions"
+ tal:replace="structure action/render"
+ />
+ </span>
+ </div>
+
+ </form>
+
+</div>
+
+</body>
+</html>
More information about the Zope-CVS
mailing list