source: trunk/src/allmydata/web/status.xhtml

Last change on this file was 81dc63b, checked in by Sajith Sasidharan <sajith@…>, at 2020-05-23T02:12:22Z

Use twisted template tags in status page template

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1">
2  <head>
3    <title>Tahoe-LAFS - Recent and Active Operations</title>
4    <link href="/tahoe.css" rel="stylesheet" type="text/css"/>
5    <link href="/icon.png" rel="shortcut icon" />
6    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7  </head>
8  <body>
9
10<h1>Recent and Active Operations</h1>
11
12
13<h2>Active Operations:</h2>
14<table align="left" class="table-headings-top" t:render="active_operations">
15  <tr t:render="header">
16    <th>Type</th>
17    <th>Storage Index</th>
18    <th>Helper?</th>
19    <th>Total Size</th>
20    <th>Progress</th>
21    <th>Status</th>
22  </tr>
23  <tr t:render="item">
24    <td><t:slot name="type"/></td>
25    <td><t:slot name="si"/></td>
26    <td><t:slot name="helper"/></td>
27    <td><t:slot name="total_size"/></td>
28    <td><t:slot name="progress"/></td>
29    <td><t:slot name="status"/></td>
30  </tr>
31  <tr t:render="empty"><td>No active operations!</td></tr>
32</table>
33<br clear="all" />
34
35<h2>Recent Operations:</h2>
36<table align="left" class="table-headings-top" t:render="recent_operations">
37  <tr t:render="header">
38    <th>Started</th>
39    <th>Type</th>
40    <th>Storage Index</th>
41    <th>Helper?</th>
42    <th>Total Size</th>
43    <th>Progress</th>
44    <th>Status</th>
45  </tr>
46  <tr t:render="item">
47    <td><t:slot name="started"/></td>
48    <td><t:slot name="type"/></td>
49    <td><t:slot name="si"/></td>
50    <td><t:slot name="helper"/></td>
51    <td><t:slot name="total_size"/></td>
52    <td><t:slot name="progress"/></td>
53    <td><t:slot name="status"/></td>
54  </tr>
55  <tr t:render="empty"><td>No recent operations!</td></tr>
56</table>
57<br clear="all" />
58
59<div>Return to the <a href="/">Welcome Page</a></div>
60
61  </body>
62</html>
Note: See TracBrowser for help on using the repository browser.