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,19 @@
<script>
let Rows = new GetJson("/api/admin/table/")
console.log("Rows", Rows)
</script>
<blockstart>
<h1>Admin Rows</h1>
<block x-data="Rows">
<ul>
<template x-for="item in theData">
<li><a x-bind:href="'/admin/table/' + item + '/'">
<span x-text="item"></span>
</a></li>
</template>
</ul>
</block>
</blockstart>