| 1 | <tal:block define="rendered_main options/rendered; |
|---|
| 2 | portal_status_message options/psm; |
|---|
| 3 | data_storage options/ds; |
|---|
| 4 | formaction options/formaction|string:import; |
|---|
| 5 | button options/button|string:Import; |
|---|
| 6 | creation creation|nothing;" |
|---|
| 7 | > |
|---|
| 8 | <metal:block define-macro="edit_form"> |
|---|
| 9 | <metal:block use-macro="here/main_template/macros/master"> |
|---|
| 10 | <metal:block fill-slot="main"> |
|---|
| 11 | <h3>Import Data!</h3> |
|---|
| 12 | <br /> |
|---|
| 13 | <form action="" id="editForm" method="post" |
|---|
| 14 | enctype="multipart/form-data" class="workflow" |
|---|
| 15 | tal:attributes="action formaction" |
|---|
| 16 | > |
|---|
| 17 | <div tal:replace="structure rendered_main" /> |
|---|
| 18 | <br /> |
|---|
| 19 | <input type="submit" class="standalone" |
|---|
| 20 | name="import" value="import" |
|---|
| 21 | tal:attributes="value button" |
|---|
| 22 | tal:condition="not:creation" /> |
|---|
| 23 | <span tal:define="bypass here/portal_catalog/getBypassQueue|nothing"> |
|---|
| 24 | <input type="submit" class="standalone" |
|---|
| 25 | name="enable_bypass" value="Bypass QueueCatalog" |
|---|
| 26 | tal:condition="not:bypass" /> |
|---|
| 27 | <input type="submit" class="standalone" |
|---|
| 28 | name="disable_bypass" value="Use QueueCatalog" |
|---|
| 29 | tal:condition="bypass" /> |
|---|
| 30 | </span> |
|---|
| 31 | </form> |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | <form action="portal_cpsportlets/manage_clearCache" method="post"> |
|---|
| 35 | <p class="form-element"> |
|---|
| 36 | <input class="standalone" type="submit" value=" Purge the Cache " /> |
|---|
| 37 | </p> |
|---|
| 38 | </form> |
|---|
| 39 | |
|---|
| 40 | </metal:block> |
|---|
| 41 | <metal:block fill-slot="sub"> |
|---|
| 42 | </metal:block> |
|---|
| 43 | </metal:block> |
|---|
| 44 | </metal:block> |
|---|
| 45 | </tal:block> |
|---|