summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-24 05:49:14 +0300
committerMaxim Devaev <[email protected]>2022-07-24 05:49:14 +0300
commit88b2e90438c861ead6f131b5987eb4348f004ec6 (patch)
tree4a032ba09803dc2ebaa2d96f0aa142f3db5c80a8 /web/kvm
parent0e3ebac3627fe5039957d2d48d68d8620ff9384f (diff)
rw warning
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html14
-rw-r--r--web/kvm/navbar-msd.pug4
2 files changed, 18 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index ebcc824a..230ed946 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -399,6 +399,20 @@
</div>
<hr>
</div>
+ <div class="hidden" id="msd-message-rw-enabled">
+ <div class="text">
+ <table>
+ <tr>
+ <td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
+ <td style="line-height:1.5"><b>Read-write mode is enabled</b></td>
+ </tr>
+ <tr>
+ <td><sup style="line-height:1">Do not turn off PiKVM during this to prevent filesystem corruption</sup></td>
+ </tr>
+ </table>
+ </div>
+ <hr>
+ </div>
<table class="kv msd-single-storage feature-disabled">
<tr>
<td>Current image:</td>
diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug
index ae2e063e..2ba68520 100644
--- a/web/kvm/navbar-msd.pug
+++ b/web/kvm/navbar-msd.pug
@@ -23,6 +23,10 @@ li(id="msd-dropdown" class="right feature-disabled")
+menu_message("warning", "Current image is out of storage")
| This image was connected manually using #[b kvmd-otgmsd]
hr
+ div(id="msd-message-rw-enabled" class="hidden")
+ +menu_message("warning", "Read-write mode is enabled")
+ | Do not turn off PiKVM during this to prevent filesystem corruption
+ hr
table(class="kv msd-single-storage feature-disabled")
tr
td Current image: