From 3e3cc3cf95d6ebac41ad9e1e2b89d343465b506d Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:02:36 -0500 Subject: [PATCH] admin: remove html template --- plugins/admin/apppass.html | 160 ------------------------------------- plugins/admin/web.go | 4 - 2 files changed, 164 deletions(-) delete mode 100644 plugins/admin/apppass.html diff --git a/plugins/admin/apppass.html b/plugins/admin/apppass.html deleted file mode 100644 index 27bfff3..0000000 --- a/plugins/admin/apppass.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - - - - - - Vars - - - -
- - App Pass - - {{ item.name }} - - - - - - - - Password: - - - - - - Secret: - - - - - - - List - - - New - - - - - - - ID: - {{ entry.id }} - - - Password: - {{ entry.secret }}:{{ showPassword }} - - - Note: this password will only be displayed once. For - single-field entry passwords, use the secret:password format. - - - - - - -
    -
  • - X {{entry.id}} -
  • -
-
-
-
-
- - - - diff --git a/plugins/admin/web.go b/plugins/admin/web.go index 6caa8cb..3b7c23c 100644 --- a/plugins/admin/web.go +++ b/plugins/admin/web.go @@ -4,7 +4,6 @@ import ( "context" "crypto/md5" "crypto/rand" - "embed" "encoding/json" "fmt" "github.com/go-chi/chi/v5" @@ -17,9 +16,6 @@ import ( "strconv" ) -//go:embed *.html -var embeddedFS embed.FS - func (p *AdminPlugin) registerWeb() { r := chi.NewRouter() r.HandleFunc("/", p.handleVars)