diff options
author | Vojtěch Pejša <vojtechpejsa7@gmail.com> | 2019-04-05 11:14:18 +0000 |
---|---|---|
committer | Vojtěch Pejša <vojtechpejsa7@gmail.com> | 2019-04-05 11:14:18 +0000 |
commit | 0b6437d60bb71538698072d281570166962c6a93 (patch) | |
tree | c4ab92517a64c8057021f8b04c0eb9af38b1b64a | |
parent | Mention file uploading in README (diff) | |
download | miniserve-0b6437d60bb71538698072d281570166962c6a93.tar.gz miniserve-0b6437d60bb71538698072d281570166962c6a93.zip |
Improve file upload text.
Diffstat (limited to '')
-rw-r--r-- | src/renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 5446205..c166bc6 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -25,7 +25,7 @@ pub fn page( h1 { (page_title) } @if file_upload { form id="file_submit" action={(upload_route) "?path=" (current_dir)} method="POST" enctype="multipart/form-data" { - p { "Select file to upload" } + p { "Select file to upload or drag it into the window" } input type="file" name="file_to_upload" id="fileInput" {} input type="submit" value="Upload file" {} } |