diff --git a/product/ERP5Type/dtml/editConstraintForm.dtml b/product/ERP5Type/dtml/editConstraintForm.dtml new file mode 100755 index 0000000000000000000000000000000000000000..2143ca7e13befe962e5990f050117f07580fa08c --- /dev/null +++ b/product/ERP5Type/dtml/editConstraintForm.dtml @@ -0,0 +1,15 @@ +<dtml-var manage_page_header> +<dtml-var manage_tabs> + +<h2>Edit Constraint Class: <dtml-var class_id></h2> + +<dtml-if message><dtml-var message></dtml-if> + +<form method="POST" action="<dtml-var absolute_url>"> +<textarea name="text:text" rows="20" cols="82"><dtml-var "getConstraintText(class_id)"></textarea> +<br> +<input type="hidden" name="class_id:string" value="<dtml-var class_id>"> +<input type="submit" value="Save" name="editConstraint:method"> +</form> + +<dtml-var manage_page_footer> diff --git a/product/ERP5Type/dtml/explainDummyClassTool.dtml b/product/ERP5Type/dtml/explainDummyClassTool.dtml new file mode 100755 index 0000000000000000000000000000000000000000..6cc705619aa6df32a20f37712f2a6102851d7306 --- /dev/null +++ b/product/ERP5Type/dtml/explainDummyClassTool.dtml @@ -0,0 +1,6 @@ +<dtml-var manage_page_header> +<dtml-var manage_tabs> + +<p>This tool is the Dummy Class Tool. It is mostly a placeholder for the <i>full</i> Class Tool.</p> + +<dtml-var manage_page_footer> diff --git a/product/ERP5Type/dtml/viewConstraintList.dtml b/product/ERP5Type/dtml/viewConstraintList.dtml new file mode 100755 index 0000000000000000000000000000000000000000..e93457457ef64d9c0840f873062e823651458911 --- /dev/null +++ b/product/ERP5Type/dtml/viewConstraintList.dtml @@ -0,0 +1,32 @@ +<dtml-var manage_page_header> +<dtml-var manage_tabs> + +<div class="std-text"><p><strong>Local Constraint Classes</strong></p></div> + +<form method="POST" action="newConstraint"> +<table width="100%"> + <tr class="list-header"> + <th> + Class + </th> + <th> + Actions + </th> + <dtml-in getLocalConstraintList> + <tr> + <td> + <div class="list-item"><dtml-var sequence-item></div> + </td> + <td> + <div class="list-item"><a href="manage_editConstraintForm?class_id=<dtml-var sequence-item>">edit</a> + </div> + </td> + </tr> + </dtml-in> +</table> + +<input type="text" name="class_id" /> <input type="submit" value="Create New Constraint" /> + +</form> + +<dtml-var manage_page_footer>