summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-03-18 04:13:08 +0200
committerMaxim Devaev <[email protected]>2023-03-18 04:16:50 +0200
commitfd6f738a074c9a5fe80e94bc486228367deb59a0 (patch)
treef72dd3be28d7785442d13390f266a94238498b4b /web/kvm
parent03ce7bfd2c5823d623cae0f6d9dc2b712869583a (diff)
msd parts selector
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html12
-rw-r--r--web/kvm/navbar-msd.pug9
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>&bull; To speed up the upload, close the stream window.</td>
</tr>
- <tr>
- <td></td>
- <td>&bull; 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 &bull; To speed up the upload, close the stream window.
- tr
- td
- td &bull; A non-empty upload prefix will be created when uploading.
div(id="msd-uploading-sub" class="hidden")
hr
table(class="kv")