aboutsummaryrefslogtreecommitdiff
path: root/templates/index.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.tmpl')
-rw-r--r--templates/index.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/index.tmpl b/templates/index.tmpl
index 0b965f5..9bb7512 100644
--- a/templates/index.tmpl
+++ b/templates/index.tmpl
@@ -1,10 +1,12 @@
{{ define "index" }}
{{ template "_head" }}
-<table role="grid">
+<div class="container">
+<table class="table">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Title</th>
+ <th scope="col">Link</th>
<th scope="col">Output</th>
<th scope="col"></th>
</tr>
@@ -13,17 +15,19 @@
{{ range . }}
<tr>
<td>{{ .ID }}</td>
+ <td>{{ .Title }}</td>
<td>{{ .Link }}</td>
<td>{{ .OutputFolder }}</td>
<td>
<a href="entries/{{ .ID }}" >Edit</a>
</span>
- <a href="#" onclick="deleteEntry({{ .ID }})">Delete</a>
+ <a onclick="deleteEntry({{ .ID }})">Delete</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
-<a href="/entries" role="button">Create</a>
+</div>
+<a href="/entries/createEntry" class="button">Create</a>
{{ template "_footer" }}
{{ end }}