feat-WIP: Style updates, new form inputs.

This commit is contained in:
2026-01-12 22:49:58 -05:00
parent fa9e8cffb0
commit 432533c940
13 changed files with 249 additions and 134 deletions

View File

@@ -8,12 +8,12 @@ struct EquipmentInfoView: HTML, Sendable {
var body: some HTML {
div(
.class("space-y-4 p-4"),
.class("space-y-4"),
.id("equipmentInfo")
) {
Row {
h1(.class("text-2xl font-bold")) { "Equipment Info" }
PageTitle { "Equipment Info" }
Tooltip("Edit equipment info") {
EditButton()
@@ -29,16 +29,28 @@ struct EquipmentInfoView: HTML, Sendable {
table(.class("table table-zebra")) {
tbody(.class("text-lg")) {
tr {
td { Label("Static Pressure") }
td { Number(equipmentInfo.staticPressure) }
td { span { "Static Pressure" } }
td {
div(.class("flex justify-end")) {
Number(equipmentInfo.staticPressure)
}
}
}
tr {
td { Label("Heating CFM") }
td { Number(equipmentInfo.heatingCFM) }
td { span { "Heating CFM" } }
td {
div(.class("flex justify-end")) {
Number(equipmentInfo.heatingCFM)
}
}
}
tr {
td { Label("Cooling CFM") }
td { Number(equipmentInfo.coolingCFM) }
td { span { "Cooling CFM" } }
td {
div(.class("flex justify-end")) {
Number(equipmentInfo.coolingCFM)
}
}
}
}
}