diff options
author | Maxim Devaev <[email protected]> | 2023-03-18 04:13:08 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-18 04:16:50 +0200 |
commit | fd6f738a074c9a5fe80e94bc486228367deb59a0 (patch) | |
tree | f72dd3be28d7785442d13390f266a94238498b4b /web/kvm | |
parent | 03ce7bfd2c5823d623cae0f6d9dc2b712869583a (diff) |
msd parts selector
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 12 | ||||
-rw-r--r-- | web/kvm/navbar-msd.pug | 9 |
2 files changed, 7 insertions, 14 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index b4dbb70b..3b1880a5 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -533,10 +533,10 @@ <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"> + <tr class="hidden" id="msd-new-part"> + <td>Upload partition:</td> + <td width="100%"> + <select id="msd-new-part-selector"></select> </td> </tr> </table> @@ -550,10 +550,6 @@ <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 47ebcccb..298746e8 100644 --- a/web/kvm/navbar-msd.pug +++ b/web/kvm/navbar-msd.pug @@ -71,9 +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")] + tr(id="msd-new-part" class="hidden") + td Upload partition: + td(width="100%") #[select(id="msd-new-part-selector")] hr table(class="kv") tr @@ -82,9 +82,6 @@ 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") |