feat: Refactoring climate zone.
This commit is contained in:
@@ -11,6 +11,14 @@ struct MainPage<Inner: HTML>: SendableHTMLDocument where Inner: Sendable {
|
||||
var head: some HTML {
|
||||
meta(.charset(.utf8))
|
||||
meta(.name("viewport"), .content("width=device-width, initial-scale=1.0"))
|
||||
meta(.name("author"), .content("Michael Housh and Dustin Cole"))
|
||||
meta(.name("og:site-name"), .content("HVAC-Toolbox"))
|
||||
meta(.name("apple-mobile-web-app-title"), .content("HVAC-Toolbox"))
|
||||
meta(.name("format-detection"), .content("telephone=no"))
|
||||
meta(.name("HandheldFriendly"), .content("True"))
|
||||
meta(.name("MobileOptimized"), .content("320"))
|
||||
meta(.name("keywords"), .content("hvac, HVAC, design, system-design, calculators"))
|
||||
Elementary.title { self.title }
|
||||
link(.rel(.stylesheet), .href("/output.css"))
|
||||
link(
|
||||
.rel(.icon),
|
||||
|
||||
@@ -62,7 +62,7 @@ struct FilterPressureDropForm: HTML, Sendable {
|
||||
}
|
||||
div {
|
||||
InputLabel(for: "climateZone") { "Climate Zone" }
|
||||
Select(for: ClimateZone.self, id: "climateZone") {
|
||||
Select(for: ClimateZone.ZoneType.self, id: "climateZone") {
|
||||
$0.label
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user