diff options
author | Maxim Devaev <[email protected]> | 2021-07-29 06:33:25 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-07-29 06:33:25 +0300 |
commit | 82e4e7e2cbd60b80b8d6e101cc36c277604c8889 (patch) | |
tree | 72b17d39ec6bfe6a79417c76428813ae2811c3d6 /web | |
parent | 02335734ceafa25c660110e1f8059ff60bcb6d84 (diff) |
more compact msd menu
Diffstat (limited to 'web')
-rw-r--r-- | web/kvm/index.html | 10 | ||||
-rw-r--r-- | web/kvm/navbar-msd.pug | 10 |
2 files changed, 4 insertions, 16 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 2d8efe8d..a228f833 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -248,7 +248,7 @@ </li> <li class="right feature-disabled" id="msd-dropdown"><a class="menu-button" href="#"><img class="led-gray" data-dont-hide-menu id="msd-led" src="/share/svg/led-msd.svg">Drive</a> <div class="menu" data-dont-hide-menu id="msd-menu"> - <div class="text"><b>Mass Storage Device emulator<br></b></div> + <div class="text"><b>Mass Storage Drive: </b><span id="msd-status"></span><br></div> <hr> <div class="hidden" id="msd-message-offline"> <div class="text"> @@ -303,13 +303,6 @@ </div> <hr> </div> - <table class="kv"> - <tr> - <td>Status:</td> - <td class="value" id="msd-status"></td> - </tr> - </table> - <hr> <table class="kv msd-single-storage feature-disabled"> <tr> <td>Current image:</td> @@ -384,7 +377,6 @@ <td class="value" id="msd-new-image-size"></td> </tr> </table> - <hr> <div class="text"> <div class="progress" id="msd-uploading-progress"><span class="progress-value" id="msd-uploading-progress-value"></span></div> </div> diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug index ceb8152a..33a56845 100644 --- a/web/kvm/navbar-msd.pug +++ b/web/kvm/navbar-msd.pug @@ -4,7 +4,9 @@ li(id="msd-dropdown" class="right feature-disabled") | Drive div(data-dont-hide-menu id="msd-menu" class="menu") div(class="text") - b Mass Storage Device emulator#[br] + b Mass Storage Drive: + span(id="msd-status") + br hr div(id="msd-message-offline" class="hidden") +menu_message("warning", "Mass Storage Drive is offline") @@ -21,11 +23,6 @@ li(id="msd-dropdown" class="right feature-disabled") +menu_message("warning", "Current image is out of storag") | This image was connected manually using #[b kvmd-otgmsd] 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: @@ -73,7 +70,6 @@ li(id="msd-dropdown" class="right feature-disabled") 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") |