blob: 0b965f5cc095c9edcc98bf0ea70447aa2c092d0b (
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
|
{{ define "index" }}
{{ template "_head" }}
<table role="grid">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Title</th>
<th scope="col">Output</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
{{ range . }}
<tr>
<td>{{ .ID }}</td>
<td>{{ .Link }}</td>
<td>{{ .OutputFolder }}</td>
<td>
<a href="entries/{{ .ID }}" >Edit</a>
</span>
<a href="#" onclick="deleteEntry({{ .ID }})">Delete</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
<a href="/entries" role="button">Create</a>
{{ template "_footer" }}
{{ end }}
|