diff options
Diffstat (limited to 'src/renderer.rs')
-rw-r--r-- | src/renderer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 45cb145..c0a243e 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -153,8 +153,8 @@ pub fn page( } } } + /// Renders the file listing -#[allow(clippy::too_many_arguments)] pub fn raw(entries: Vec<Entry>, is_root: bool) -> Markup { html! { (DOCTYPE) @@ -212,7 +212,7 @@ fn wget_download(title_path: &str, current_user: Option<&CurrentUser>) -> Markup }; return html! { - div.downloadWget { + div.downloadDirectory { p { "Download folder:" } div.cmd { (format!("wget -r -c -nH -np --cut-dirs={} -R \"index.html*\"{} \"http://{}/?raw=true\"", count, user_params, title_path)) } } |