chore(deps): update dependencies

This commit is contained in:
Julien Dessaux 2025-04-10 19:59:39 +02:00
parent f604bb98ab
commit bd28f459c9
Signed by: adyxax
GPG key ID: F92E51B86E07177E
3 changed files with 42 additions and 27 deletions

2
go.mod
View file

@ -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
)

4
go.sum
View file

@ -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=

View file

@ -1,28 +1,43 @@
{{ define "main" }}
<h1>State</h1>
<p>
Locked:
{{ if eq .State.Lock nil }}no{{ else }}
<span>yes</span>
<div class="tooltip left max">
<b>Lock</b>
<p>{{ .State.Lock }}</p>
</div>
The state at path
<span class="button">{{ .State.Path }}</span>
has
<span class="button">{{ len .Versions }}</span>
versions and is currently
<span class="button">
{{ if eq .State.Lock nil }}
unlocked
{{ else }}
<span class="tooltip">
locked
<span class="tooltip-text">
{{ .State.Lock }}
</span>
</span>
{{ end }}
</span>
.
</p>
<table class="clickable-rows no-space">
<p>Use this page to inspect the existing versions.</p>
<article>
<table style="width:100%;">
<thead>
<tr>
<th>By</th>
<th>Created</th>
<th>By</th>
</tr>
</thead>
<tbody>
{{ range .Versions }}
<tr>
<td><a href="/versions/{{ .Id }}">{{ index $.Usernames .AccountId.String }}</a></td>
<td><a href="/versions/{{ .Id }}">{{ .Created }}</a></td>
<td><a href="/accounts/{{ .AccountId.String }}">{{ index $.Usernames .AccountId.String }}</a></td>
</tr>
{{ end }}
</tbody>
</table>
</table>
</article>
<a href="/states">Go back to the states list</a>
{{ end }}