summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-21 07:19:35 +0300
committerMaxim Devaev <[email protected]>2022-11-21 07:19:35 +0300
commitbe25f5a0268910616c8089cc200b8be69a9ed9d6 (patch)
tree0e840d5916e0baa1786fc8fb7f1d01494c2ef07c /web/kvm
parent703cc2b9814793a974a50de222dbdaa0cf6ef3f3 (diff)
removed relay msd
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html24
-rw-r--r--web/kvm/navbar-msd.pug21
2 files changed, 9 insertions, 36 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index b3b7aa65..cabe166e 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -453,21 +453,7 @@
</div>
<hr>
</div>
- <table class="kv msd-single-storage feature-disabled">
- <tr>
- <td>Current image:</td>
- <td class="value" id="msd-image-name"></td>
- </tr>
- <tr>
- <td>Image size:</td>
- <td class="value" id="msd-image-size"></td>
- </tr>
- <tr>
- <td>Storage size:</td>
- <td class="value" id="msd-storage-size"></td>
- </tr>
- </table>
- <table class="kv msd-multi-storage feature-disabled">
+ <table class="kv">
<tr>
<td>Image:</td>
<td width="100%">
@@ -502,11 +488,9 @@
</td>
</tr>
</table>
- <div class="msd-multi-storage feature-disabled">
- <hr>
- <div class="text">
- <div class="progress" id="msd-storage-progress"><span class="progress-value" id="msd-storage-progress-value"></span></div>
- </div>
+ <hr>
+ <div class="text">
+ <div class="progress" id="msd-storage-progress"><span class="progress-value" id="msd-storage-progress-value"></span></div>
</div>
<hr>
<div class="buttons buttons-row">
diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug
index b7ba1a75..1ffd763e 100644
--- a/web/kvm/navbar-msd.pug
+++ b/web/kvm/navbar-msd.pug
@@ -33,17 +33,7 @@ li(id="msd-dropdown" class="right feature-disabled")
+menu_message("info", "The image is being downloaded from PiKVM")
| Please wait
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")
+ table(class="kv")
tr
td Image:
td(width="100%") #[select(disabled id="msd-image-selector")]
@@ -60,11 +50,10 @@ li(id="msd-dropdown" class="right feature-disabled")
label(for="msd-mode-radio-flash") Flash
td &nbsp;
+menu_switch_notable("msd-rw-switch", "Writable", false, false, "msd-rw feature-disabled")
- 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
+ div(class="text")
+ div(id="msd-storage-progress" class="progress")
+ span(id="msd-storage-progress-value" class="progress-value")
hr
div(class="buttons buttons-row")
button(disabled id="msd-select-new-button" class="row50") Select image to upload