diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-03-22 22:31:22 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-03-22 22:31:22 +1000 |
| commit | ce82e9b1471123e188d2c6137b587dd035b709e4 (patch) | |
| tree | 9f8587fedc12e61865a3c8ce3a6c5efe9647eef9 /templates | |
| parent | aa15a591187fed35cf94b866adbca6f2ca8759c3 (diff) | |
Try to improve the style of the input type=file
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/upload.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/upload.html b/templates/upload.html index bd9e814..a6e09df 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -2,8 +2,10 @@ <div id="upload"> <form id="upload_form" enctype="multipart/form-data" method="POST" action="/upload"> <div> - <div><label for="video_file">Please select video file</label></div> - <div><input type="file" name="video_file" id="video_file" accept="video/*" onchange="fileSelected();" /></div> + <label class="filebutton"> + Select a video to upload... + <span><input type="file" name="video_file" id="video_file" accept="video/*" onchange="fileSelected();" /></span> + </label> </div> <div> |
