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 | |
---|
13 | <p i18n:domain="waeup.kofa" i18n:translate=""> |
---|
14 | The data center helps you to manage portal data. You can upload CSV |
---|
15 | files here, which will be available for import afterwards. |
---|
16 | </p> |
---|
17 | |
---|
18 | <p i18n:domain="waeup.kofa"> |
---|
19 | <b i18n:translate="">Storage path:</b> |
---|
20 | <span tal:content="context/storage">/foo/bar</span> |
---|
21 | </p> |
---|
22 | |
---|
23 | <form action="." tal:attributes="action request/URL" method="post" |
---|
24 | i18n:domain="waeup.kofa" enctype="multipart/form-data"> |
---|
25 | <table i18n:domain="waeup.kofa" class="display dataTableManageFiles"> |
---|
26 | <thead> |
---|
27 | <tr> |
---|
28 | <th></th> |
---|
29 | <th i18n:translate="">File</th> |
---|
30 | <th i18n:translate="">Datasets</th> |
---|
31 | <th i18n:translate="">Upload Date</th> |
---|
32 | </tr> |
---|
33 | </thead> |
---|
34 | <tbody> |
---|
35 | <tr tal:repeat="file context/getPendingFiles" class="gradeC"> |
---|
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> |
---|
42 | <td tal:content="python: file.lines - 1">100</td> |
---|
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> |
---|