about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-20 02:18:36 +0200
committerEmile <hanemile@protonmail.com>2019-10-20 02:18:36 +0200
commitc195edd9a7d6bd78da5086ecc3774a112fbb3c93 (patch)
tree5144565b9cc0acbc701688ce7dc00d6fe38e0998
parent9bd8dcd0c878885864f5fdc29be284d76906b45b (diff)
edit / delete button
-rw-r--r--hosted/edit.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/hosted/edit.html b/hosted/edit.html
index 4e49b20..701dd0f 100644
--- a/hosted/edit.html
+++ b/hosted/edit.html
@@ -60,7 +60,16 @@
                       <td>{{.Category}}</td>
                       <td>{{.Points}}</td>
                       <td>{{.Static}}</td>
-                      <td><a href="/edit?uuid={{.UUID}}" class="btn btn-primary" role="button">Edit</a></td>
+                      <td>
+
+						<button type="button" class="btn btn-primary btn-sm btn-block">
+							<a href="/edit?uuid={{.UUID}}" style="color:inherit"> Edit </a>
+						</button>
+						<button type="button" class="btn btn-danger btn-sm btn-block">
+							<a href="/delete?uuid={{.UUID}}" style="color:inherit"> Delete </a>
+						</button>
+
+                      </td>
                     </tr>
                     {{end}}
                   </tbody>