diff options
author | Maxim Devaev <[email protected]> | 2023-03-17 00:10:51 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-17 00:10:51 +0200 |
commit | 921d7da513c663eaaa690472beccb0d8d0c5a310 (patch) | |
tree | d7553276780da9f1c65622b38387cce7b186ea2b /web/kvm | |
parent | 74a19e40dae259d530ef5420663ccfaf7ba38f51 (diff) |
optional upload prefix
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 10 | ||||
-rw-r--r-- | web/kvm/navbar-msd.pug | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 9029fc36..568da0ec 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -533,6 +533,12 @@ <input type="text" id="msd-new-url" style="width: 100%"> </td> </tr> + <tr> + <td>Optional upload prefix:</td> + <td> + <input type="text" id="msd-new-prefix" style="width: 100%" placeholder="... like /foo/bar"> + </td> + </tr> </table> <hr> <table class="kv"> @@ -544,6 +550,10 @@ <td></td> <td>• To speed up the upload, close the stream window.</td> </tr> + <tr> + <td></td> + <td>• A non-empty upload prefix will be created when uploading.</td> + </tr> </table> </div> <div class="hidden" id="msd-uploading-sub"> diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug index 1ffd763e..f668ae32 100644 --- a/web/kvm/navbar-msd.pug +++ b/web/kvm/navbar-msd.pug @@ -71,6 +71,9 @@ li(id="msd-dropdown" class="right feature-disabled") tr td #[b Or] paste a URL: td #[input(type="text" id="msd-new-url" style="width: 100%")] + tr + td Optional upload prefix: + td #[input(type="text" id="msd-new-prefix" style="width: 100%" placeholder="... like /foo/bar")] hr table(class="kv") tr @@ -79,6 +82,9 @@ li(id="msd-dropdown" class="right feature-disabled") tr td td • To speed up the upload, close the stream window. + tr + td + td • A non-empty upload prefix will be created when uploading. div(id="msd-uploading-sub" class="hidden") hr table(class="kv") |