diff --git a/go.mod b/go.mod index 4badb35..48c6790 100644 --- a/go.mod +++ b/go.mod @@ -5,5 +5,5 @@ go 1.24.1 require ( github.com/mattn/go-sqlite3 v1.14.27 go.n16f.net/uuid v0.0.0-20240707135755-e4fd26b968ad - golang.org/x/crypto v0.36.0 + golang.org/x/crypto v0.37.0 ) diff --git a/go.sum b/go.sum index d9dab6e..5c9f757 100644 --- a/go.sum +++ b/go.sum @@ -2,5 +2,5 @@ github.com/mattn/go-sqlite3 v1.14.27 h1:drZCnuvf37yPfs95E5jd9s3XhdVWLal+6BOK6qrv github.com/mattn/go-sqlite3 v1.14.27/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= go.n16f.net/uuid v0.0.0-20240707135755-e4fd26b968ad h1:QYbHaaFqx6hMor1L6iMSmyhMFvXQXhKaNk9nefug07M= go.n16f.net/uuid v0.0.0-20240707135755-e4fd26b968ad/go.mod h1:hvPEWZmyP50in1DH72o5vUvoXFFyfRU6oL+p2tAcbgU= -golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34= -golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc= +golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE= +golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= diff --git a/pkg/webui/html/statesId.html b/pkg/webui/html/statesId.html index b6561bb..f309a98 100644 --- a/pkg/webui/html/statesId.html +++ b/pkg/webui/html/statesId.html @@ -1,28 +1,43 @@ {{ define "main" }} +

State

- Locked: - {{ if eq .State.Lock nil }}no{{ else }} - yes -

- Lock -

{{ .State.Lock }}

-
- {{ end }} -

- - - - - - - - - {{ range .Versions }} - - - - + The state at path + {{ .State.Path }} + has + {{ len .Versions }} + versions and is currently + + {{ if eq .State.Lock nil }} + unlocked + {{ else }} + + locked + + {{ .State.Lock }} + + {{ end }} - -
ByCreated
{{ index $.Usernames .AccountId.String }}{{ .Created }}
+ + . +

+

Use this page to inspect the existing versions.

+
+ + + + + + + + + {{ range .Versions }} + + + + + {{ end }} + +
CreatedBy
{{ .Created }}{{ index $.Usernames .AccountId.String }}
+
+Go back to the states list {{ end }}