eggification
[MosaicDocument.git] / Products / MosaicDocument / dtml / static / git-favicon.png
diff --git a/dtml/rulesForm.dtml b/dtml/rulesForm.dtml
deleted file mode 100755 (executable)
index 12d2e1b..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-<dtml-let form_title="'Actions'">
-<dtml-if manage_page_header>
- <dtml-var manage_page_header>
-<dtml-else>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
- <html lang="en">
- <head>
- <title>&dtml-form_title;</title>
- </head>
- <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
- <h3>&dtml-form_title;</h3>
-</dtml-if>
-</dtml-let>
-<dtml-var manage_tabs>
-
-<dtml-let mbis="[ct.id for ct in mosaic_tool.listTypeInfo() if ct.meta_type == 'Mosaic Block Information']"
-          availMbis="[ct.id for ct in mosaic_tool.listTypeInfo() if ct.meta_type == 'Mosaic Block Information' and ct.id not in objectIds(['Rule Information',])]">
-<dtml-if "objectIds(['Rule Information',])">
-<form action="&dtml-absolute_url;" method="POST">
-<dtml-in "objectValues(['Rule Information',])">
-<dtml-let currentSlot="_['sequence-item']">
-  <table>
-    <tr>
-      <td>
-        <input type="checkbox" name="ruleSelection:list"
-               value="<dtml-var "_['sequence-item'].id">">
-      </td>
-      <td class="form-label">
-        Block type
-      </td>
-      <td>
-        <dtml-let blockId="_['sequence-item'].id">
-        <select name="<dtml-var "blockId+'.id:record'">">
-          <dtml-in "[blockId,] + availMbis">
-            <option value="<dtml-var sequence-item>" <dtml-if "blockId == _['sequence-item']">selected</dtml-if>>
-              <dtml-var sequence-item>
-            </option>
-          </dtml-in>
-        </select>
-        </dtml-let>
-      </td>
-    </tr>
-    <tr>
-      <td></td>
-      <td class="form-label">
-        Max intances nb
-      </td>
-      <td>
-        <input type="text"
-               name="<dtml-var "_['sequence-item'].id + '.maxNbInstance:int:record'">"
-               value="<dtml-var "_['sequence-item'].maxNbInstance">">
-      </td>
-    </tr>
-    <tr>
-      <td></td>
-      <td class="form-label">
-        Allow Move
-      </td>
-      <td>
-       <select name="<dtml-var "_['sequence-item'].id + '.allowMove:int:record'">">
-          <option value="1" <dtml-if "_['sequence-item'].allowMove">selected</dtml-if>>yes</option>
-          <option value="0" <dtml-if "not _['sequence-item'].allowMove">selected</dtml-if>>no</option>
-        </select>
-      </td>
-    </tr>
-    <tr>
-      <td></td>
-      <td class="form-label">
-        Allow Move right and left
-      </td>
-      <td>
-       <select name="<dtml-var "_['sequence-item'].id + '.allowMoveRightAndLeft:int:record'">">
-          <option value="1" <dtml-if "_['sequence-item'].allowMoveRightAndLeft">selected</dtml-if>>yes</option>
-          <option value="0" <dtml-if "not _['sequence-item'].allowMoveRightAndLeft">selected</dtml-if>>no</option>
-        </select>
-      </td>
-    </tr>
-    <tr>
-      <td></td>
-      <td class="form-label">
-        Allow Move up and down
-      </td>
-      <td>
-       <select name="<dtml-var "_['sequence-item'].id + '.allowMoveUpAndDown:int:record'">">
-          <option value="1" <dtml-if "_['sequence-item'].allowMoveUpAndDown">selected</dtml-if>>yes</option>
-          <option value="0" <dtml-if "not _['sequence-item'].allowMoveUpAndDown">selected</dtml-if>>no</option>
-        </select>
-      </td>
-    </tr>
-    <tr>
-      <td></td>
-      <td class="form-label">
-        Mode
-      </td>
-      <td>
-        <select name="<dtml-var "_['sequence-item'].id + '.mode:record'">"
-          <option value="wd" <dtml-if "_['sequence-item'].mode == 'wd'">selected</dtml-if>>wd</option>
-          <option value="w" <dtml-if "_['sequence-item'].mode == 'w'">selected</dtml-if>>w</option>
-        </select>
-      </td>
-    </tr>
-    <tr>
-      <td colspan="3"><hr></td>
-    </tr>
-  </table>
-</dtml-let>
-</dtml-in>
-<div>
-  <input type="submit" name="saveRules:method" value="Save">
-  <input type="submit" name="deleteRules:method" value="Delete">
-</div>
-</form>
-</dtml-if>
-
-<dtml-if availMbis>
-<h3 class="form-help">Add a rule</h3>
-<form action="manage_addRule" method="POST">
-<table>
-  <tr>
-    <td class="form-label">
-      Block type
-    </td>
-    <td class="form-label">
-      <select name="id">
-        <dtml-in availMbis>
-          <option value="<dtml-var sequence-item>"><dtml-var sequence-item></option>
-        </dtml-in>
-      </select>
-    </td>
-  </tr>
-  <tr>
-    <td class="form-label">
-       Max intances nb
-    </td>
-    <td class="form-label">
-      <input type="text" name="maxNbInstance:int" value="0">
-    </td>
-  </tr>
-  <tr>
-  <tr>
-    <td class="form-label">
-      Allow Move
-    </td>
-    <td>
-      <select name="allowMove:int">
-        <option value="1" selected>yes</option>
-        <option value="0">no</option>
-      </select>
-  </td>
-  </tr>
-  <tr>
-    <td class="form-label">
-      Mode
-    </td>
-    <td>
-      <select name="mode">"
-        <option value="wd" selected>wd</option>
-        <option value="w">w</option>
-      </select>
-    </td>
-  </tr>
-  </tr>
-    <td colspan="2"><input type="submit" value="Add"></td>
-  </tr>
-</table>
-</form>
-</dtml-if>
-</dtml-let>
-<dtml-if manage_page_footer>
-  <dtml-var manage_page_footer>
-<dtml-else>
-  </body></html>
-</dtml-if>