source: main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterpage.pt @ 9610

Last change on this file since 9610 was 9610, checked in by Henrik Bettermann, 12 years ago

Limit number of files in data center.

File size: 1.4 KB
Line 
1<p  i18n:domain="waeup.kofa" i18n:translate="">
2The data center helps you to manage portal data. You can upload CSV
3files here, which will be available for import afterwards.
4</p>
5
6<p i18n:domain="waeup.kofa">
7  <b i18n:translate="">Storage path:</b>
8  <span tal:content="context/storage">/foo/bar</span>
9</p>
10
11<form action="." tal:attributes="action request/URL" method="post"
12      i18n:domain="waeup.kofa" enctype="multipart/form-data">
13    <table i18n:domain="waeup.kofa" class="display dataTableManageFiles">
14      <thead>
15        <tr>
16          <th></th>
17          <th i18n:translate="">File</th>
18          <th i18n:translate="">Datasets</th>
19          <th i18n:translate="">Upload Date</th>
20        </tr>
21      </thead>
22      <tbody>
23        <tr tal:repeat="file context/getPendingFiles" class="gradeC">
24          <td>
25            <input type="checkbox" name="val_id"
26                         tal:attributes="value file/name" />
27          </td>
28          <td><a tal:attributes="href python: 'download?filename=' + file.name"
29                 tal:content="file/name">FILENAME</a></td>
30          <td tal:content="python: file.lines - 1">100</td>
31          <td tal:content="file/uploaddate">Mar 12, 2008</td>
32        </tr>
33      </tbody>
34    </table>
35      <div tal:condition="view/availableActions">
36        <span tal:repeat="action view/actions" tal:omit-tag="">
37          <input tal:replace="structure action/render"/>
38        </span>
39      </div>
40</form>
Note: See TracBrowser for help on using the repository browser.