summaryrefslogtreecommitdiff
path: root/templates/list-jobs.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list-jobs.tpl')
-rw-r--r--templates/list-jobs.tpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/list-jobs.tpl b/templates/list-jobs.tpl
new file mode 100644
index 0000000..1d530aa
--- /dev/null
+++ b/templates/list-jobs.tpl
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <title>Lorry Controller: ALL the jobs</title>
+ <link rel="stylesheet" href="/lc-static/style.css" type="text/css" />
+ </head>
+ <body>
+ % import json
+
+ <h1>ALL the jobs</h2>
+
+<table>
+<tr>
+<th>Job ID</th>
+<th>path</th>
+<th>exit?</th>
+</tr>
+% for job in job_infos:
+<tr>
+<td><a href="/1.0/job-html/{{job['job_id']}}">{{job['job_id']}}</a></td>
+<td><a href="/1.0/lorry-html/{{job['path']}}">{{job['path']}}</a></td>
+<td>{{job['exit']}}</td>
+</tr>
+% end
+</table>
+
+ <hr />
+
+ <p>Updated: {{timestamp}}</p>
+
+ </body>
+</html>