[9592] | 1 | <p class="alert-message warning" i18n:translate="" |
---|
| 2 | tal:condition="view/max_exceeded"> |
---|
| 3 | <strong>NOTICE:</strong> |
---|
| 4 | There are more than |
---|
| 5 | <span tal:content="view/max_files" i18n:name="count">50</span> |
---|
| 6 | pending files in the data center. Please repair them first before uploading |
---|
| 7 | new files. Download and edit their records according to the error |
---|
| 8 | messages in the last column. |
---|
| 9 | Do not change file names when re-uploading files. |
---|
| 10 | If a file contains no more data for import just remove it. |
---|
| 11 | </p> |
---|
| 12 | |
---|
[7811] | 13 | <p i18n:domain="waeup.kofa" i18n:translate=""> |
---|
[4147] | 14 | The data center helps you to manage portal data. You can upload CSV |
---|
| 15 | files here, which will be available for import afterwards. |
---|
[4672] | 16 | </p> |
---|
[4147] | 17 | |
---|
[7811] | 18 | <p i18n:domain="waeup.kofa"> |
---|
[7705] | 19 | <b i18n:translate="">Storage path:</b> |
---|
| 20 | <span tal:content="context/storage">/foo/bar</span> |
---|
[4672] | 21 | </p> |
---|
[4147] | 22 | |
---|
[8366] | 23 | <form action="." tal:attributes="action request/URL" method="post" |
---|
| 24 | i18n:domain="waeup.kofa" enctype="multipart/form-data"> |
---|
[9074] | 25 | <table i18n:domain="waeup.kofa" class="display dataTableManageFiles"> |
---|
[8366] | 26 | <thead> |
---|
| 27 | <tr> |
---|
| 28 | <th></th> |
---|
| 29 | <th i18n:translate="">File</th> |
---|
[9195] | 30 | <th i18n:translate="">Datasets</th> |
---|
[8366] | 31 | <th i18n:translate="">Upload Date</th> |
---|
| 32 | </tr> |
---|
| 33 | </thead> |
---|
| 34 | <tbody> |
---|
[9023] | 35 | <tr tal:repeat="file context/getPendingFiles" class="gradeC"> |
---|
[8366] | 36 | <td> |
---|
| 37 | <input type="checkbox" name="val_id" |
---|
| 38 | tal:attributes="value file/name" /> |
---|
| 39 | </td> |
---|
| 40 | <td><a tal:attributes="href python: 'download?filename=' + file.name" |
---|
| 41 | tal:content="file/name">FILENAME</a></td> |
---|
[9195] | 42 | <td tal:content="python: file.lines - 1">100</td> |
---|
[8366] | 43 | <td tal:content="file/uploaddate">Mar 12, 2008</td> |
---|
| 44 | </tr> |
---|
| 45 | </tbody> |
---|
| 46 | </table> |
---|
| 47 | <div tal:condition="view/availableActions"> |
---|
| 48 | <span tal:repeat="action view/actions" tal:omit-tag=""> |
---|
| 49 | <input tal:replace="structure action/render"/> |
---|
| 50 | </span> |
---|
| 51 | </div> |
---|
| 52 | </form> |
---|