feat: Working on dehumidifier sizing, api and routes implemented, views are not complete.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Elementary
|
||||
import ElementaryHTMX
|
||||
import PsychrometricClient
|
||||
import Routes
|
||||
import Styleguide
|
||||
@@ -20,7 +21,7 @@ struct MoldRiskForm: HTML {
|
||||
.attributes(.type(.number), .step("0.1"), .min("0.1"), .autofocus)
|
||||
}
|
||||
|
||||
LabeledContent(label: "Indor Humdity (%)") {
|
||||
LabeledContent(label: "Indoor Humdity (%)") {
|
||||
Input(id: "humidity", placeholder: "Relative humidity")
|
||||
.attributes(.type(.number), .step("0.1"), .min("0.1"))
|
||||
}
|
||||
@@ -88,15 +89,12 @@ struct MoldRiskResponse: HTML {
|
||||
.attributes(.class("mx-6"))
|
||||
|
||||
// Disclaimer.
|
||||
div(.class("mt-8 p-4 bg-gray-100 dark:bg-gray-700 rounded-md shadow-md border border-blue-500")) {
|
||||
p(.class("text-sm text-blue-500")) {
|
||||
span(.class("font-extrabold pe-2")) { "Note:" }
|
||||
"""
|
||||
These calculations are based on typical indoor conditions and common mold species. Actual mold growth can
|
||||
vary based on surface materials, air movement, and other environmental factors. Always address moisture
|
||||
issues promptly and consult professionals for severe cases.
|
||||
"""
|
||||
}
|
||||
Note {
|
||||
"""
|
||||
These calculations are based on typical indoor conditions and common mold species. Actual mold growth can
|
||||
vary based on surface materials, air movement, and other environmental factors. Always address moisture
|
||||
issues promptly and consult professionals for severe cases.
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user