chore(webui): switch to a homegrown css

This commit is contained in:
Julien Dessaux 2025-03-30 23:53:17 +02:00
parent 26c5f9c5c7
commit 2da9d222b6
Signed by: adyxax
GPG key ID: F92E51B86E07177E
10 changed files with 566 additions and 276 deletions

View file

@ -1,30 +1,28 @@
{{ define "main" }}
<main class="responsive" id="main">
<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>
<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>
{{ end }}
</p>
<table class="clickable-rows no-space">
<thead>
<tr>
<th>By</th>
<th>Created</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>
</tr>
{{ end }}
</p>
<table class="clickable-rows no-space">
<thead>
<tr>
<th>By</th>
<th>Created</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>
</tr>
{{ end }}
</tbody>
</table>
</main>
</tbody>
</table>
{{ end }}