all users front end

This commit is contained in:
2024-08-23 14:26:12 +02:00
parent f39c000e5d
commit 05db85eca1
2 changed files with 40 additions and 1 deletions

View File

@ -21,5 +21,8 @@ All Users
</table>
{{ end }}
{{ define "js" }}
<script>let tbody = document.getElementById("user-table").getElementByTagName("tbody")[0]</script>
<script type="module">
import {showUsers} from "/static/js/all-users.js"
showUsers({{.API}});
</script>
{{ end }}