feat-WIP: Style updates, new form inputs.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user