chore(deps): update dependencies
This commit is contained in:
parent
f604bb98ab
commit
bd28f459c9
3 changed files with 42 additions and 27 deletions
2
go.mod
2
go.mod
|
@ -5,5 +5,5 @@ go 1.24.1
|
||||||
require (
|
require (
|
||||||
github.com/mattn/go-sqlite3 v1.14.27
|
github.com/mattn/go-sqlite3 v1.14.27
|
||||||
go.n16f.net/uuid v0.0.0-20240707135755-e4fd26b968ad
|
go.n16f.net/uuid v0.0.0-20240707135755-e4fd26b968ad
|
||||||
golang.org/x/crypto v0.36.0
|
golang.org/x/crypto v0.37.0
|
||||||
)
|
)
|
||||||
|
|
4
go.sum
4
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=
|
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 h1:QYbHaaFqx6hMor1L6iMSmyhMFvXQXhKaNk9nefug07M=
|
||||||
go.n16f.net/uuid v0.0.0-20240707135755-e4fd26b968ad/go.mod h1:hvPEWZmyP50in1DH72o5vUvoXFFyfRU6oL+p2tAcbgU=
|
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.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE=
|
||||||
golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc=
|
golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc=
|
||||||
|
|
|
@ -1,28 +1,43 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<h1>State</h1>
|
||||||
<p>
|
<p>
|
||||||
Locked:
|
The state at path
|
||||||
{{ if eq .State.Lock nil }}no{{ else }}
|
<span class="button">{{ .State.Path }}</span>
|
||||||
<span>yes</span>
|
has
|
||||||
<div class="tooltip left max">
|
<span class="button">{{ len .Versions }}</span>
|
||||||
<b>Lock</b>
|
versions and is currently
|
||||||
<p>{{ .State.Lock }}</p>
|
<span class="button">
|
||||||
</div>
|
{{ if eq .State.Lock nil }}
|
||||||
{{ end }}
|
unlocked
|
||||||
</p>
|
{{ else }}
|
||||||
<table class="clickable-rows no-space">
|
<span class="tooltip">
|
||||||
<thead>
|
locked
|
||||||
<tr>
|
<span class="tooltip-text">
|
||||||
<th>By</th>
|
{{ .State.Lock }}
|
||||||
<th>Created</th>
|
</span>
|
||||||
</tr>
|
</span>
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{ range .Versions }}
|
|
||||||
<tr>
|
|
||||||
<td><a href="/versions/{{ .Id }}">{{ index $.Usernames .AccountId.String }}</a></td>
|
|
||||||
<td><a href="/versions/{{ .Id }}">{{ .Created }}</a></td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</tbody>
|
</span>
|
||||||
</table>
|
.
|
||||||
|
</p>
|
||||||
|
<p>Use this page to inspect the existing versions.</p>
|
||||||
|
<article>
|
||||||
|
<table style="width:100%;">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Created</th>
|
||||||
|
<th>By</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{ range .Versions }}
|
||||||
|
<tr>
|
||||||
|
<td><a href="/versions/{{ .Id }}">{{ .Created }}</a></td>
|
||||||
|
<td><a href="/accounts/{{ .AccountId.String }}">{{ index $.Usernames .AccountId.String }}</a></td>
|
||||||
|
</tr>
|
||||||
|
{{ end }}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</article>
|
||||||
|
<a href="/states">Go back to the states list</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue