blob: 6350c3d0d553676fcc4f2a24c8954476e0c0ae30 (
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
45
|
{{define "title"}}Jobs{{end}}
{{define "content"}}
{{if .Error}}
<div class="error">{{.Error}}</div>
{{end}}
{{if not .Fatal}}
{{if .Success}}
<div class="success">{{.Success}}</div>
{{end}}
<form action="/jobs" method="post">
<table class="fullwidth">
<thead>
<tr>
<th> </th>
<th>Subject</th>
<th>Excerpt</th>
<th>Next</th>
</tr>
</thead>
<tbody>
{{range .Jobs}}<tr>
<td><input type="checkbox" name="Jobs" value="{{.ID}}" /></td>
<td><a href="/jobedit/{{.ID}}">{{.Subject}}</a></td>
<td>{{.Excerpt}}</td>
<td>{{.Next}}</td>
</tr>
{{else}}<tr>
<td colspan="4" class="emptytab">No jobs found</td>
</tr>{{end}}
</tbody>
</table>
<p>
Delete selected:
<select name="Delconfirm" size="0">
<option value="no" selected="selected">No</option>
<option value="yes">Yes</option>
</select>
<input type="submit" />
</p>
</form>
{{end}}
{{end}}
|