blob: a3927614e9f5d1fe1960a7c94d42fcb71b2e02ab (
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
|
{{ 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>{{ .Output_folder }}</td>
<td>
<a href="entries/{{ .ID }}" role="button">Edit</a>
<a href="#" onclick="deleteEntry({{ .ID }})" role="button" class="secondary">Delete</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
<a href="/entries" role="button">Create</a>
{{ template "_footer" }}
{{ end }}
|