1{{ define "index" }}
2{{ template "_head" }}
3<div class="container">
4<table class="table">
5 <thead>
6 <tr>
7 <th scope="col">ID</th>
8 <th scope="col">Title</th>
9 <th scope="col">Link</th>
10 <th scope="col">Output</th>
11 <th scope="col"></th>
12 </tr>
13 </thead>
14 <tbody>
15 {{ range . }}
16 <tr>
17 <td>{{ .ID }}</td>
18 <td>{{ .Title }}</td>
19 <td>{{ .Link }}</td>
20 <td>{{ .OutputFolder }}</td>
21 <td>
22 <a href="entries/{{ .ID }}" >Edit</a>
23 </span>
24 <a onclick="deleteEntry({{ .ID }})">Delete</a>
25 </td>
26 </tr>
27 {{ end }}
28 </tbody>
29</table>
30</div>
31<a href="/entries/createEntry" class="button">Create</a>
32{{ template "_footer" }}
33{{ end }}