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:
@@ -17,47 +17,45 @@ struct ProjectDetail: HTML, Sendable {
|
||||
)
|
||||
}
|
||||
|
||||
div(.class("overflow-x-auto")) {
|
||||
table(.class("table table-zebra text-lg")) {
|
||||
tbody {
|
||||
tr {
|
||||
td(.class("label font-bold")) { "Name" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.name
|
||||
}
|
||||
table(.class("table table-zebra text-lg")) {
|
||||
tbody {
|
||||
tr {
|
||||
td(.class("label font-bold")) { "Name" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.name
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "Street Address" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.streetAddress
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "Street Address" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.streetAddress
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "City" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.city
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "City" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.city
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "State" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.state
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "State" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.state
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "Zip" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.zipCode
|
||||
}
|
||||
}
|
||||
tr {
|
||||
td(.class("label font-bold")) { "Zip" }
|
||||
td {
|
||||
div(.class("flex justify-end")) {
|
||||
project.zipCode
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,24 +31,22 @@ struct ProjectsTable: HTML, Sendable {
|
||||
}
|
||||
.attributes(.class("pb-6"))
|
||||
|
||||
div(.class("overflow-x-auto")) {
|
||||
table(.class("table table-zebra")) {
|
||||
thead {
|
||||
tr {
|
||||
th { Label("Date") }
|
||||
th { Label("Name") }
|
||||
th { Label("Address") }
|
||||
th {}
|
||||
}
|
||||
}
|
||||
tbody {
|
||||
Rows(projects: projects)
|
||||
table(.class("table table-zebra")) {
|
||||
thead {
|
||||
tr {
|
||||
th { Label("Date") }
|
||||
th { Label("Name") }
|
||||
th { Label("Address") }
|
||||
th {}
|
||||
}
|
||||
}
|
||||
tbody {
|
||||
Rows(projects: projects)
|
||||
}
|
||||
}
|
||||
|
||||
ProjectForm(dismiss: true)
|
||||
}
|
||||
|
||||
ProjectForm(dismiss: true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user