summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-msd.pug
diff options
context:
space:
mode:
Diffstat (limited to 'web/kvm/navbar-msd.pug')
-rw-r--r--web/kvm/navbar-msd.pug76
1 files changed, 76 insertions, 0 deletions
diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug
new file mode 100644
index 00000000..fddcf198
--- /dev/null
+++ b/web/kvm/navbar-msd.pug
@@ -0,0 +1,76 @@
+li(id="msd-dropdown" class="right feature-disabled")
+ a(class="menu-button" href="#")
+ +navbar_led("msd-led", "led-msd")
+ | Mass Storage ↴
+ div(data-dont-hide-menu id="msd-menu" class="menu")
+ div(id="msd-message-offline" class="hidden")
+ +menu_message("warning", "Mass Storage Device is offline")
+ hr
+ div(id="msd-message-image-broken" class="hidden")
+ +menu_message("warning", "Current image is broken!")
+ | Perhaps uploading was interrupted#[br]
+ hr
+ div(id="msd-message-too-big-for-cdrom" class="hidden")
+ +menu_message("warning", "Current image is too big for CD-ROM!")
+ | The device filesystem will be truncated to 2.2GiB
+ hr
+ div(id="msd-message-out-of-storage" class="hidden")
+ +menu_message("warning", "Current image is out of storag")
+ | This image was connected manually using #[b kvmd-otgmsd]
+ hr
+ div(id="msd-message-another-user-uploads" class="hidden")
+ +menu_message("info", "Another user uploads an image")
+ hr
+ table(class="kv")
+ tr
+ td Status:
+ td(id="msd-status" class="value")
+ hr
+ table(class="kv msd-single-storage feature-disabled")
+ tr
+ td Current image:
+ td(id="msd-image-name" class="value")
+ tr
+ td Image size:
+ td(id="msd-image-size" class="value")
+ tr
+ td Storage size:
+ td(id="msd-storage-size" class="value")
+ table(class="kv msd-multi-storage feature-disabled")
+ tr
+ td Image:
+ td(width="100%") #[select(disabled id="msd-image-selector")]
+ td #[button(disabled id="msd-remove-image") Remove]
+ table(class="kv msd-multi-storage feature-disabled")
+ tr(class="msd-cdrom-emulation feature-disabled")
+ td Emulate CD-ROM drive:
+ td
+ +switch("msd-emulate-cdrom-checkbox")
+ div(class="msd-multi-storage feature-disabled")
+ hr
+ div(class="text")
+ div(id="msd-storage-progress" class="progress")
+ span(id="msd-storage-progress-value" class="progress-value")
+ hr
+ input(type="file" id="msd-select-new-image-file" class="hidden")
+ div(class="buttons buttons-row")
+ button(disabled id="msd-select-new-image-button" class="row50") Upload new image
+ button(disabled id="msd-upload-new-image-button" class="row25") Start
+ button(disabled id="msd-abort-uploading-button" class="row25") Abort
+ hr
+ div(id="msd-submenu-new-image" class="hidden")
+ table(class="kv")
+ tr
+ td New image:
+ td(id="msd-new-image-name" class="value")
+ tr
+ td Upload size:
+ td(id="msd-new-image-size" class="value")
+ hr
+ div(class="text")
+ div(id="msd-uploading-progress" class="progress")
+ span(id="msd-uploading-progress-value" class="progress-value")
+ hr
+ div(class="buttons buttons-row")
+ button(disabled data-force-hide-menu id="msd-connect-button" class="row50") • Connect drive to Server
+ button(disabled data-force-hide-menu id="msd-disconnect-button" class="row50") • Disconnect drive