feat: Style updates, renames some files.
This commit is contained in:
@@ -18,22 +18,21 @@ struct MoldRiskForm: HTML {
|
||||
"Indoor Temperature"
|
||||
}
|
||||
input(
|
||||
.type(.number), .id("temperature"), .placeholder("Dry bulb temperature"),
|
||||
.init(name: "step", value: "0.1"),
|
||||
.type(.number), .id("temperature"), .placeholder("Dry bulb temperature"), .required,
|
||||
.step("0.1"), .min("0.1"),
|
||||
.class("""
|
||||
w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-yellow-800
|
||||
focus:border-yellow-800 text-gray-700 dark:text-white
|
||||
""")
|
||||
)
|
||||
}
|
||||
|
||||
div {
|
||||
label(.for("humidity"), .class("block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2")) {
|
||||
"Indoor Humidity (%)"
|
||||
}
|
||||
input(
|
||||
.type(.number), .id("humidity"), .placeholder("Relative humidity"),
|
||||
.init(name: "step", value: "0.1"),
|
||||
.type(.number), .id("humidity"), .name("humidity"), .placeholder("Relative humidity"), .required,
|
||||
.step("0.1"), .min("0.1"),
|
||||
.class("""
|
||||
w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-yellow-800
|
||||
focus:border-yellow-800 text-gray-700 dark:text-white
|
||||
|
||||
Reference in New Issue
Block a user