Have a few of the basic admin pages working after switching to the API+View pattern.

This commit is contained in:
Zed A. Shaw 2025-07-16 01:06:14 -04:00
parent fa7f886a59
commit 2b40d6fdc3
9 changed files with 188 additions and 29 deletions

View file

@ -0,0 +1,15 @@
<script>
let Data = new GetJson("/api/admin/table/{{ .Table }}/{{ .Id }}/")
console.log("Data", Data)
</script>
<blockstart>
<h1>Admin Tables</h1>
<block x-data="Data">
<ul>
<h1 x-text="item.id"></h1>
</ul>
</block>
</blockstart>