From 1340b3167f19042be825dd91bf68768db79dc53d Mon Sep 17 00:00:00 2001 From: Finn Date: Mon, 25 Nov 2024 14:38:51 -0800 Subject: [PATCH] Add a button to generate codes --- frontend/lock-code-edit.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/lock-code-edit.html b/frontend/lock-code-edit.html index e996ff3..cf2298c 100644 --- a/frontend/lock-code-edit.html +++ b/frontend/lock-code-edit.html @@ -2,7 +2,7 @@
{{ if eq .Data.lock.Name "" }}Lock #{{ .Data.lock.ID }}{{ else }}{{ .Data.lock.Name }}{{ end }} Slot #{{ .Data.code.Slot }}

- Code:
+ Code: 🔄
Name:
Enabled:

@@ -15,4 +15,14 @@
  • {{ $entry.State }} ({{ $entry.Timestamp | time_since }} ago)
  • {{ end }} + + {{ template "footer.html" }}