diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-24 09:14:02 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-24 09:14:02 +0100 |
commit | e72873f49969ccd73fbd9408321a598079cbd049 (patch) | |
tree | 411543dbc6afd16e26ffce6d24e03bec88b6c3fc /server | |
parent | daba95cad0d58cf9fbf460d582729857f46b5390 (diff) | |
download | jellything-e72873f49969ccd73fbd9408321a598079cbd049.tar jellything-e72873f49969ccd73fbd9408321a598079cbd049.tar.bz2 jellything-e72873f49969ccd73fbd9408321a598079cbd049.tar.zst |
style the search
Diffstat (limited to 'server')
-rw-r--r-- | server/src/routes/ui/search.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/routes/ui/search.rs b/server/src/routes/ui/search.rs index dc90df1..eb222c9 100644 --- a/server/src/routes/ui/search.rs +++ b/server/src/routes/ui/search.rs @@ -56,12 +56,12 @@ pub async fn r_search<'a>( Ok(LayoutPage { title: "Search".to_string(), - class: None, + class: Some("search"), content: markup::new! { h1 { "Search" } form[action="", method="GET"] { - input[type="text", name="query"]; - input[type="submit"]; + input[type="text", name="query", placeholder="Search Term"]; + input[type="submit", value="Search"]; } @if let Some(results) = &results { h2 { "Results" } |