summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mod.rs16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/render/mod.rs b/src/render/mod.rs
index 75fd9b5..3b63a68 100644
--- a/src/render/mod.rs
+++ b/src/render/mod.rs
@@ -12,7 +12,21 @@ fn render_in_page<'a>(content: Box<RenderBox + 'a>) -> String {
link(rel="stylesheet", type="text/css", href="/static/main.css");
}
body {
- : content
+ nav {
+ ul {
+ li {
+ p { : "SystemHttpd" }
+ }
+ }
+ ul(class="right") {
+ li {
+ p { : "Login" }
+ }
+ }
+ }
+ main {
+ : content
+ }
}
}
}).into_string().unwrap()