Add ability to remove devices
This commit is contained in:
9
templates/delete.gohtml
Normal file
9
templates/delete.gohtml
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- /*gotype: pcinv.DeleteVM*/ -}}
|
||||
{{define "delete"}}
|
||||
{{template "header" "Delete Device"}}
|
||||
<h2>Are you sure you want to delete this device?</h2>
|
||||
<form id="confirmForm" method="post" action="/delete?id={{.Qr}}"></form>
|
||||
<a href="/device?id={{.Qr}}"><button><b>No</b></button></a>
|
||||
<button form="confirmForm">Yes</button>
|
||||
{{template "footer"}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user