removed some msd api legacy

This commit is contained in:
Maxim Devaev
2023-03-18 03:40:57 +02:00
parent 18a8e5c9ef
commit 03ce7bfd2c
5 changed files with 19 additions and 32 deletions

View File

@@ -476,7 +476,7 @@
</td>
</tr>
</table>
<table class="kv msd-cdrom-emulation feature-disabled">
<table class="kv">
<tr>
<td>Drive <a target="_blank" href="https://docs.pikvm.org/msd">mode</a>:</td>
<td>
@@ -488,8 +488,8 @@
</div>
</td>
<td>&nbsp;</td>
<td class="msd-rw feature-disabled">Writable:</td>
<td class="msd-rw feature-disabled" align="right">
<td>Writable:</td>
<td align="right">
<div class="switch-box">
<input disabled type="checkbox" id="msd-rw-switch">
<label for="msd-rw-switch"><span class="switch-inner"></span><span class="switch"></span></label>

View File

@@ -39,7 +39,7 @@ li(id="msd-dropdown" class="right feature-disabled")
td(width="100%") #[select(disabled id="msd-image-selector")]
td #[button(disabled id="msd-download-button" title="Download image") &nbsp;&nbsp;&#128426;&nbsp;&nbsp;]
td #[button(disabled id="msd-remove-button" title="Remove image") #[b &nbsp;&nbsp;&times;&nbsp;&nbsp;]]
table(class="kv msd-cdrom-emulation feature-disabled")
table(class="kv")
tr
td Drive #[a(target="_blank" href="https://docs.pikvm.org/msd") mode]:
td
@@ -49,7 +49,7 @@ li(id="msd-dropdown" class="right feature-disabled")
input(type="radio" id="msd-mode-radio-flash" name="msd-mode-radio" value="0")
label(for="msd-mode-radio-flash") Flash
td &nbsp;
+menu_switch_notable("msd-rw-switch", "Writable", false, false, "msd-rw feature-disabled")
+menu_switch_notable("msd-rw-switch", "Writable", false, false)
hr
div(class="text")
div(id="msd-storage-progress" class="progress")