all users front end
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user