1 <html metal:use-macro="here/main_template/macros/master">
4 <title>folder_contents</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6 <script metal:fill-slot="javascript_head_slot" tal:attributes="src here/folder_contents_script.js/absolute_url" type="text/javascript"></script>
10 <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
11 <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
13 <div metal:fill-slot="main" i18n:domain="cmf_default" tal:omit-tag=""
14 tal:define="form options/form">
15 <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
16 <div id="FolderListing">
17 <div metal:use-macro="here/folder_contents_macros/macros/FolderListing">FolderListing macro</div>
20 <div metal:use-macro="context/form_widgets/macros/buttons">
25 <div class="FormButtons" tal:condition="form/listDeltas|nothing" i18n:domain="plinn">
26 <input type="submit" name="items_up" value="Up"
27 i18n:attributes="value" />
29 <input type="submit" name="items_down" value="Down"
30 i18n:attributes="value" />
31 <span i18n:translate="move_by" tal:omit-tag="">by</span>
32 <select name="delta:int">
34 tal:repeat="delta form/listDeltas"
35 tal:attributes="value delta"
39 <input type="submit" name="items_top" value="Top"
40 i18n:attributes="value" />
41 <input type="submit" name="items_bottom" value="Bottom"
42 i18n:attributes="value" />
47 <script type="text/javascript">
49 initForms(document.getElementById("main_body"));