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 <metal:block metal:fill-slot="javascript_head_slot">
7 <script tal:attributes="src string:$portal_url/fileupload.js" type="text/javascript" charset="utf-8"></script>
8 <script tal:attributes="src string:$portal_url/folder_contents_script.js" type="text/javascript" charset="utf-8"></script>
13 <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
14 <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
16 <div metal:fill-slot="main" i18n:domain="plinn" tal:omit-tag=""
17 tal:define="form options/form">
18 <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
19 <div id="FolderListing">
20 <div metal:use-macro="here/folder_contents_macros/macros/FolderListing">FolderListing macro</div>
23 <div metal:use-macro="context/form_widgets/macros/buttons">
28 <div class="FormButtons" tal:condition="form/listDeltas|nothing" i18n:domain="plinn">
29 <input type="submit" name="items_up" value="Up"
30 i18n:attributes="value" />
32 <input type="submit" name="items_down" value="Down"
33 i18n:attributes="value" />
34 <span i18n:translate="move_by" tal:omit-tag="">by</span>
35 <select name="delta:int">
37 tal:repeat="delta form/listDeltas"
38 tal:attributes="value delta"
42 <input type="submit" name="items_top" value="Top"
43 i18n:attributes="value" />
44 <input type="submit" name="items_bottom" value="Bottom"
45 i18n:attributes="value" />