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

Last change on this file since 11559 was 11460, checked in by Henrik Bettermann, 11 years ago

Use absolute urls on datacenter pages. Relative links are working in testbrowser but not Firefox. I don't know why.

File size: 1.5 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="kofa-data-table 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">
24          <td>
25            <input type="checkbox" name="val_id"
26                         tal:attributes="value file/name" />
27          </td>
28          <td><a tal:attributes="href python: view.url(context) +
29                                 '/download?filename=' + file.name"
30                 tal:content="file/name">FILENAME</a></td>
31          <td tal:content="python: file.lines - 1">100</td>
32          <td tal:content="file/uploaddate">Mar 12, 2008</td>
33        </tr>
34      </tbody>
35    </table>
36    <div tal:condition="view/availableActions">
37      <span tal:repeat="action view/actions" tal:omit-tag="">
38        <input tal:replace="structure action/render"/>
39      </span>
40    </div>
41</form>
Note: See TracBrowser for help on using the repository browser.