source: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogspage.pt @ 7464

Last change on this file since 7464 was 7464, checked in by Henrik Bettermann, 13 years ago

Move form label to site layout pagetemplates. This saves even more code.

File size: 1.0 KB
Line 
1<div tal:define="files view/files">
2  <p tal:condition="not: files">Currently no log files are available.
3  </p>
4  <table tal:condition="files" class="condensed-table">
5    <thead>
6      <tr>
7        <th>
8        </th>
9        <th>File
10        </th>
11        <th>Date
12        </th>
13        <th>Size
14        </th>
15      </tr>
16    </thead>
17    <tbody>
18      <tr tal:repeat="file files" tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
19        <td class="text-center">
20          <form method="POST">
21            <input type="submit" class="btn primary" name="show" value="Show" />
22            <input type="hidden" name="logname" tal:attributes="value file/name" />
23          </form></td>
24        <td tal:content="file/name">file.name</td>
25        <td tal:content="file/uploaddate">Fri Jan 15 17:44:25 2010</td>
26        <td tal:content="file/getSize">12 bytes</td>
27      </tr>
28    </tbody>
29  </table>
30  <form method="POST">
31    <input type="submit" class="btn" name="back" value="Back to Data Center" />
32  </form>
33</div>
Note: See TracBrowser for help on using the repository browser.