1 <dtml-let form_title="'Actions'">
2 <dtml-if manage_page_header>
3 <dtml-var manage_page_header>
5 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
8 <title>&dtml-form_title;</title>
10 <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
11 <h3>&dtml-form_title;</h3>
14 <dtml-var manage_tabs>
16 <dtml-let mbis="[ct.id for ct in mosaic_tool.listTypeInfo() if ct.meta_type == 'Mosaic Block Information']"
17 availMbis="[ct.id for ct in mosaic_tool.listTypeInfo() if ct.meta_type == 'Mosaic Block Information' and ct.id not in objectIds(['Rule Information',])]">
18 <dtml-if "objectIds(['Rule Information',])">
19 <form action="&dtml-absolute_url;" method="POST">
20 <dtml-in "objectValues(['Rule Information',])">
21 <dtml-let currentSlot="_['sequence-item']">
25 <input type="checkbox" name="ruleSelection:list"
26 value="<dtml-var "_['sequence-item'].id">">
28 <td class="form-label">
32 <dtml-let blockId="_['sequence-item'].id">
33 <select name="<dtml-var "blockId+'.id:record'">">
34 <dtml-in "[blockId,] + availMbis">
35 <option value="<dtml-var sequence-item>" <dtml-if "blockId == _['sequence-item']">selected</dtml-if>>
36 <dtml-var sequence-item>
45 <td class="form-label">
50 name="<dtml-var "_['sequence-item'].id + '.maxNbInstance:int:record'">"
51 value="<dtml-var "_['sequence-item'].maxNbInstance">">
56 <td class="form-label">
60 <select name="<dtml-var "_['sequence-item'].id + '.allowMove:int:record'">">
61 <option value="1" <dtml-if "_['sequence-item'].allowMove">selected</dtml-if>>yes</option>
62 <option value="0" <dtml-if "not _['sequence-item'].allowMove">selected</dtml-if>>no</option>
68 <td class="form-label">
69 Allow Move right and left
72 <select name="<dtml-var "_['sequence-item'].id + '.allowMoveRightAndLeft:int:record'">">
73 <option value="1" <dtml-if "_['sequence-item'].allowMoveRightAndLeft">selected</dtml-if>>yes</option>
74 <option value="0" <dtml-if "not _['sequence-item'].allowMoveRightAndLeft">selected</dtml-if>>no</option>
80 <td class="form-label">
81 Allow Move up and down
84 <select name="<dtml-var "_['sequence-item'].id + '.allowMoveUpAndDown:int:record'">">
85 <option value="1" <dtml-if "_['sequence-item'].allowMoveUpAndDown">selected</dtml-if>>yes</option>
86 <option value="0" <dtml-if "not _['sequence-item'].allowMoveUpAndDown">selected</dtml-if>>no</option>
92 <td class="form-label">
96 <select name="<dtml-var "_['sequence-item'].id + '.mode:record'">"
97 <option value="wd" <dtml-if "_['sequence-item'].mode == 'wd'">selected</dtml-if>>wd</option>
98 <option value="w" <dtml-if "_['sequence-item'].mode == 'w'">selected</dtml-if>>w</option>
103 <td colspan="3"><hr></td>
109 <input type="submit" name="saveRules:method" value="Save">
110 <input type="submit" name="deleteRules:method" value="Delete">
116 <h3 class="form-help">Add a rule</h3>
117 <form action="manage_addRule" method="POST">
120 <td class="form-label">
123 <td class="form-label">
126 <option value="<dtml-var sequence-item>"><dtml-var sequence-item></option>
132 <td class="form-label">
135 <td class="form-label">
136 <input type="text" name="maxNbInstance:int" value="0">
141 <td class="form-label">
145 <select name="allowMove:int">
146 <option value="1" selected>yes</option>
147 <option value="0">no</option>
152 <td class="form-label">
156 <select name="mode">"
157 <option value="wd" selected>wd</option>
158 <option value="w">w</option>
163 <td colspan="2"><input type="submit" value="Add"></td>
169 <dtml-if manage_page_footer>
170 <dtml-var manage_page_footer>