eggification
[MosaicDocument.git] / skins / block_canvas.pt
diff --git a/skins/block_canvas.pt b/skins/block_canvas.pt
deleted file mode 100755 (executable)
index 2b1776e..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<html>
-
-  <head>
-    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
-    <title>block_canvas</title>
-  </head>
-
-  <body tal:define="baseBlock nocall:block;
-                    tableInfo baseBlock/getBlocksTable;
-                    rows tableInfo/rows;
-                    cols tableInfo/cols;
-                    lines tableInfo/lines;
-                    allowedBlocks python:(displayAction != 'edit' and [(),] or [baseBlock.getAllowedBlocks()])[0];"
-        tal:omit-tag="" i18n:domain="plinn" metal:define-macro="canvas">
-      <table width="100%">
-         
-        <tr tal:condition="python:not rows  and displayAction == 'edit'">
-          <td>
-            <form metal:use-macro="here/block_utils/macros/add_block_form">Formulaire de création du premier block</form>
-          </td>
-        </tr>
-         
-           <tr tal:repeat="line lines">
-             <span tal:repeat="blockInfo line" tal:omit-tag="">
-               <td valign="top" tal:condition="python:blockInfo.get('rowspan', 1) > 0"
-                   tal:attributes="rowspan python:blockInfo.get('rowspan', 1)"
-                   tal:define="block blockInfo/block">
-                 <div tal:condition="block" tal:omit-tag="">
-                 
-                <div tal:condition="python:displayAction == 'edit'" tal:omit-tag="">
-                  <form metal:use-macro="here/block_utils/macros/add_block_form">Formulaire de création d'un block au dessus
-                    <span metal:fill-slot="additional_fields" tal:omit-tag="">
-                      <input type="hidden" name="xpos:int" value="0" tal:attributes="value blockInfo/col" />
-                      <input type="hidden" name="beforeBlock" value="hiddenValue" tal:attributes="value block/getId|nothing" />
-                    </span>
-                  </form>
-                </div>
-                 
-                <a name="anchor" tal:attributes="name block/getId"></a>
-                <div tal:condition="python:displayAction == 'edit'" tal:omit-tag="">
-                  <span metal:use-macro="here/block_utils/macros/move_table">tableau des boutons de délacement</span>
-                </div>
-                <div tal:replace="structure python:block.callTemplate(displayAction=displayAction, baseBlock=baseBlock, blockInfo=blockInfo, here=here)">
-                  <h2>Rendu HTML du block</h2>
-                </div>
-                <div tal:condition="python:displayAction == 'edit' and blockInfo.get('lastOne')"
-                     tal:omit-tag="">
-                  <form metal:use-macro="here/block_utils/macros/add_block_form">Formulaire de création d'un block au dessus
-                       <span tal:omit-tag="" metal:fill-slot="additional_fields">
-                     <input type="hidden" name="xpos:int" value="0" tal:attributes="value blockInfo/col" />
-                     <input type="hidden" name="afterBlock" value="hiddenValue" tal:attributes="value block/getId|nothing" />
-                    </span>
-                  </form>
-                </div>
-                 </div>
-                 
-            <div tal:condition="python:not block and displayAction == 'edit'">
-              <form metal:use-macro="here/block_utils/macros/add_block_form">Formulaire de création du premier block
-                <span tal:omit-tag="" metal:fill-slot="additional_fields">
-                  <input type="hidden" name="xpos:int" value="0" tal:attributes="value blockInfo/col" />
-                </span>
-              </form>
-            </div>
-
-               </td>
-             </span>
-           </tr>
-         </table>
-  </body>
-
-</html>
\ No newline at end of file