feat: Style updates.

This commit is contained in:
2026-01-11 20:57:06 -05:00
parent f7c6373255
commit 0a68177aa8
19 changed files with 410 additions and 141 deletions

View File

@@ -8,7 +8,7 @@ struct EquipmentInfoView: HTML, Sendable {
var body: some HTML {
div(
.class("space-y-4 border border-gray-200 rounded-lg shadow-lg p-4"),
.class("space-y-4 p-4"),
.id("equipmentInfo")
) {
@@ -27,23 +27,17 @@ struct EquipmentInfoView: HTML, Sendable {
if let equipmentInfo {
table(.class("table table-zebra")) {
thead {
tr {
th { Label("Name") }
th { Label("Value") }
}
}
tbody(.class("text-lg")) {
tr {
td { "Static Pressure" }
td { Label("Static Pressure") }
td { Number(equipmentInfo.staticPressure) }
}
tr {
td { "Heating CFM" }
td { Label("Heating CFM") }
td { Number(equipmentInfo.heatingCFM) }
}
tr {
td { "Cooling CFM" }
td { Label("Cooling CFM") }
td { Number(equipmentInfo.coolingCFM) }
}
}