eggification
[MosaicDocument.git] / Products / MosaicDocument / default_blocks / static / gitweb.js
diff --git a/default_blocks/block_utils.pt b/default_blocks/block_utils.pt
deleted file mode 100755 (executable)
index 9b1fcc1..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-
-  <head>
-    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
-    <title>block_utils</title>
-    <link href="../../CriSIT/default_skins/main_stylesheet.css.css" rel="stylesheet" media="screen">
-  </head>
-
-  <body bgcolor="#ffffff" i18n:domain="plinn">
-<br/>
-<pre>block_form</pre>
-<br/>
-<hr/>
-    <form metal:define-macro="block_form" class="block_form" action="."
-          method="post" enctype="multipart/form-data"
-          tal:attributes="action block/absolute_url;
-                          class python:exists('block_form_class') and block_form_class or 'block_form' ">
-      <div metal:define-slot="html_block_content">Rendu HTML du block</div>
-      <input type="submit" value="Valider"
-             name="saveBlock:method"
-             tal:attributes="value python:exists('submit_action') and submit_action or 'Validate'"
-             i18n:attributes="value" />
-      <input type="hidden" name="noAjax" value="1" tal:condition="request/SESSION/editBoxes|nothing" />
-    </form>
-<br/>
-<pre>add_block_form</pre>
-<br/>
-<hr/>
-    <div metal:define-macro="add_block_form" tal:define="allowedBlocks baseBlock/getAllowedBlocks" tal:omit-tag="">
-    <form action="." method="get"
-          tal:attributes="action baseBlock/absolute_url">
-      <span metal:define-slot="additional_fields">
-        <input type="hidden" name="xpos:int" value="0" />
-      </span>
-      <span i18n:translate="">Insert new block: 
-      </span>
-      <select name="blockType" class="mosaic_input">
-       <option tal:repeat="bt allowedBlocks" tal:attributes="value bt/id" tal:content="bt/title" i18n:translate="">BlokcType</option>
-      </select> 
-      <input type="submit" name="addBlock:method" value="Add" i18n:attributes="value" />
-      <input type="hidden" name="noAjax" value="1" tal:condition="request/SESSION/editBoxes|nothing" />
-      </form>
-    </div>
-    
-<br/>
-<pre>move_table</pre>
-    <br/>
-    <table cellspacing="2" cellpadding="0" metal:define-macro="move_table" class="move_table">
-      <tr>
-        <td tal:condition="blockInfo/moves/left"><a href="." tal:attributes="href string:${baseBlock/absolute_url}/moveLeft?blockId=${block/getId}" title="Move right" i18n:attributes="title"><img src="../skins/img_box_moveleft.png" alt="Move left" name="moveLeft:method" height="12" width="12" border="0" tal:attributes="src string:img_box_moveleft.png" i18n:attributes="alt"/></a></td>
-        <td tal:condition="blockInfo/moves/up"><a href="." tal:attributes="href string:${baseBlock/absolute_url}/moveUp?blockId=${block/getId}" title="Move up" i18n:attributes="title"><img src="../skins/img_box_moveup.png" alt="Move up" name="moveUp:method" height="12" width="12" border="0" tal:attributes="src string:img_box_moveup.png" i18n:attributes="alt"/></a></td>
-        <td tal:condition="blockInfo/moves/down"><a href="." tal:attributes="href string:${baseBlock/absolute_url}/moveDown?blockId=${block/getId}" title="Move down" i18n:attributes="title"><img src="../skins/img_box_movedown.png" alt="Move down" name="moveDown:method" height="12" width="12" border="0" tal:attributes="src string:img_box_movedown.png" i18n:attributes="alt"/></a></td>
-        <td tal:condition="blockInfo/moves/right"><a href="." tal:attributes="href string:${baseBlock/absolute_url}/moveRight?blockId=${block/getId}" title="Move right" i18n:attributes="title"><img src="../skins/img_box_moveright.png" alt="Move right" name="moveRight:method" height="12" width="12" border="0" tal:attributes="src string:img_box_moveright.png" i18n:attributes="alt"/></a></td>
-        <td width="20px"> </td>
-        <td><a href="." tal:attributes="href string:${baseBlock/absolute_url}/pushCp?blockId=${block/getId}" title="Copy" i18n:attributes="title"><img src="../skins/copy.png" alt="Copy" height="13" width="15" border="0" tal:attributes="src string:copy.png" i18n:attributes="alt"/></a></td>
-        <td tal:condition="python:here.cb_dataValid() and block.haveRules()"><a href="." tal:attributes="href string:${block/absolute_url}/pasteBlocks" title="Paste" i18n:attributes="title"><img src="../skins/paste.png" alt="Paste" height="14" width="16" border="0" tal:attributes="src string:paste.png" i18n:attributes="alt"/></a></td>
-        <td width="67" tal:condition="python:'d' in blockInfo['mode']"> </td>
-        <td tal:condition="python:'d' in blockInfo['mode']"><a href="." tal:attributes="href string:${baseBlock/absolute_url}/deleteBlock?blockId=${block/getId}" title="Delete" i18n:attributes="title"><img src="../skins/img_box_delete.png" alt="" height="12" width="12" border="0" tal:attributes="src string:img_box_delete.png"/></a></td>
-      </tr>
-    </table>
-  </body>
-
-</html>
\ No newline at end of file