Have a few of the basic admin pages working after switching to the API+View pattern.
This commit is contained in:
parent
fa7f886a59
commit
2b40d6fdc3
9 changed files with 188 additions and 29 deletions
15
views/admin/table/view.html
Normal file
15
views/admin/table/view.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue