summaryrefslogtreecommitdiff
path: root/templates/lorry.tpl
blob: fad85cdd11383e9f93992a2cfbc224a3dc4fed56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML>
<html>
    <head>
        <title>Lorry {{lorry['path']}}</title>
        <link rel="stylesheet" href="/lc-static/style.css" type="text/css" />
    </head>
    <body>
        % import json

        <h1>Lorry {{lorry['path']}}</h1>

<table>

<tr> <th>Path</th> 
  <td><a href="{{http_server_root}}/cgi-bin/cgit.cgi/{{lorry['path']}}.git/">{{lorry['path']}}</a></td> </tr>
<tr> <th>URL</th> <td>{{lorry['url']}}</td> </tr>
<tr> <th>Interval</th> <td>{{lorry['interval_nice']}} ({{lorry['interval']}} s)</td> </tr>
<tr> <th>Last run</th> <td>{{lorry['last_run_nice']}}</td> </tr>
<tr> <th>Due</th> <td>{{lorry['due_nice']}}</td> </tr>
<tr> <th>From Trove</th> <td>{{lorry['from_trovehost']}}</td> </tr>
<tr> <th>Disk usage</th> <td>{{lorry['disk_usage_nice']}}</td> </tr>

<tr> <th>Job?</th>
%   if lorry['running_job']:
<td><a href="/1.0/job/{{lorry['running_job']}}">{{lorry['running_job']}}</a></td>
%   else:
<td></td>
%   end
</tr>

</table>

<h2>Full Lorry text</h2>

<blockquote>
<pre>{{lorry['text']}}</pre>
</blockquote>

        <hr />

        <p>Updated: {{timestamp}}</p>

    </body>
</html>