diff --git a/api/src/page.rs b/api/src/page.rs index dd4891e..6b17fde 100644 --- a/api/src/page.rs +++ b/api/src/page.rs @@ -19,7 +19,7 @@ lazy_static! { }; } -fn default_map() -> HashMap<&'static str, String> { +pub fn default_map() -> HashMap<&'static str, String> { let mut h: HashMap<&'static str, String> = HashMap::new(); h.insert("sitetitle", SITENAME.clone()); h.insert("sitedesc", SITEDESC.clone()); diff --git a/api/static/css/style.css b/api/static/css/style.css index cc06873..540b179 100644 --- a/api/static/css/style.css +++ b/api/static/css/style.css @@ -75,3 +75,9 @@ video { .pure-img { border-radius: 0.5em; } + +/* TODO: put this behind some conditional compilation */ +.login-form { + max-width: 500px; + margin: 0 auto; +}