aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVojtěch Pejša <vojtechpejsa7@gmail.com>2019-04-05 11:14:18 +0000
committerVojtěch Pejša <vojtechpejsa7@gmail.com>2019-04-05 11:14:18 +0000
commit0b6437d60bb71538698072d281570166962c6a93 (patch)
treec4ab92517a64c8057021f8b04c0eb9af38b1b64a /src
parentMention file uploading in README (diff)
downloadminiserve-0b6437d60bb71538698072d281570166962c6a93.tar.gz
miniserve-0b6437d60bb71538698072d281570166962c6a93.zip
Improve file upload text.
Diffstat (limited to 'src')
-rw-r--r--src/renderer.rs2
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" {}
}