feat: Begins vendor views

This commit is contained in:
2025-01-15 16:37:18 -05:00
parent 24570e7191
commit 6f2e87e886
13 changed files with 199 additions and 301 deletions

View File

@@ -44,15 +44,12 @@ struct UserTable: HTML {
td { user.username }
td { user.email }
td {
button(
Button.detail().attributes(
.hx.get("/users/\(user.id.uuidString)"),
.hx.target("#float"),
.hx.swap(.outerHTML),
.hx.pushURL(true),
.class("btn-detail")
) {
""
}
.hx.pushURL(true)
)
}
}
}