Fixing html
This commit is contained in:
15
src/httpd.rs
15
src/httpd.rs
@@ -97,7 +97,7 @@ fn page(heading: &str, content: Markup) -> Markup {
|
||||
html {
|
||||
head {
|
||||
link rel="stylesheet" type="text/css" href=(STYLES_CSS_FILENAME);
|
||||
link rel="icon" type="image/png" href="/images/facicon.png"
|
||||
link rel="icon" type="image/png" href="/images/favicon.png";
|
||||
script src=(APP_JS_FILENAME) {};
|
||||
title { (heading) }
|
||||
}
|
||||
@@ -117,6 +117,19 @@ fn page(heading: &str, content: Markup) -> Markup {
|
||||
br;
|
||||
"RISC-V is a registered trademark of RISC-V International · Wallas is a registered trademark of Wallas-Marin Oy · Espressif is a registered trademark of Espressif Systems"
|
||||
}
|
||||
dialog #message .dialog-center;
|
||||
dialog #"set-target" .dialog-center {
|
||||
span ."cancel-x" { "🗙" };
|
||||
form {
|
||||
div #"temperature-form" {
|
||||
input #target type="tage" min="5" max="25" name="target";
|
||||
br;
|
||||
label #"target-label" for="target" { "Target temperature in °C" };
|
||||
br;
|
||||
button #"set-target" { "Set" };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user