feat: Adds manual-d group pdf while working on better picker for groups, fixes issues with trunk table not always rendering properly with certain themes.

This commit is contained in:
2026-01-14 16:53:05 -05:00
parent 450791b37e
commit b5d1f87380
18 changed files with 441 additions and 275 deletions

View File

@@ -24,31 +24,28 @@ struct ComponentPressureLossesView: HTML, Sendable {
}
.attributes(.class("px-4"))
div(.class("overflow-x-auto")) {
table(.class("table table-zebra")) {
thead {
tr(.class("text-xl font-bold")) {
th { "Name" }
th { "Value" }
th {
div(.class("flex justify-end mx-auto")) {
Tooltip("Add Component Loss") {
PlusButton()
.attributes(
.class("btn-ghost text-2xl me-2"),
.showModal(id: ComponentLossForm.id())
)
}
table(.class("table table-zebra")) {
thead {
tr(.class("text-xl font-bold")) {
th { "Name" }
th { "Value" }
th {
div(.class("flex justify-end mx-auto")) {
Tooltip("Add Component Loss") {
PlusButton()
.attributes(
.class("btn-ghost text-2xl me-2"),
.showModal(id: ComponentLossForm.id())
)
}
}
}
}
tbody {
for row in componentPressureLosses {
TableRow(row: row)
}
}
tbody {
for row in componentPressureLosses {
TableRow(row: row)
}
}
}
}