midr @ 68b27b6b0376458eaa19b25e0058d8a5249cd65c

 1{{ define "index" }}
 2{{ template "_head" }}
 3<table>
 4  <thead>
 5    <tr>
 6      <th scope="col">ID</th>
 7      <th scope="col">Title</th>
 8      <th scope="col">Link</th>
 9      <th scope="col">Output</th>
10      <th class="fixed" scope="col">Status</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 class="fixed">
22          <span id="status_{{ .ID }}" class="tag is-primary is-light"></span>
23      </td>
24      <td>
25        <a href="entries/{{ .ID }}" >Edit</a>
26        </span>
27        <a href="#delete/{{ .ID }}" onclick="deleteEntry({{ .ID }})">Delete</a>
28      </td>
29    </tr>
30    {{ end }}
31  </tbody>
32</table>
33<a href="/entries/createEntry" class="button">Create</a>
34{{ template "_footer" }}
35{{ end }}