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, 4 insertions, 6 deletions
diff --git a/templates/index.tmpl b/templates/index.tmpl
index ae7f674..14cb420 100644
--- a/templates/index.tmpl
+++ b/templates/index.tmpl
@@ -1,14 +1,13 @@
{{ define "index" }}
{{ template "_head" }}
-<div class="container">
-<table class="table">
+<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">Status</th>
+ <th class="fixed" scope="col">Status</th>
<th scope="col"></th>
</tr>
</thead>
@@ -19,19 +18,18 @@
<td>{{ .Title }}</td>
<td>{{ .Link }}</td>
<td>{{ .OutputFolder }}</td>
- <td>
+ <td class="fixed">
<span id="status_{{ .ID }}" class="tag is-primary is-light"></span>
</td>
<td>
<a href="entries/{{ .ID }}" >Edit</a>
</span>
- <a onclick="deleteEntry({{ .ID }})">Delete</a>
+ <a href="#delete/{{ .ID }}" onclick="deleteEntry({{ .ID }})">Delete</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
-</div>
<a href="/entries/createEntry" class="button">Create</a>
{{ template "_footer" }}
{{ end }}