summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/kvm/index.html8
-rw-r--r--web/kvm/navbar-msd.pug8
-rw-r--r--web/share/js/kvm/msd.js2
3 files changed, 9 insertions, 9 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 9427e3f8..da762585 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -525,15 +525,15 @@
</div>
<hr>
</div>
- <div class="hidden" id="msd-message-too-big-for-cdrom">
+ <div class="hidden" id="msd-message-too-big-for-dvd">
<div class="text">
<table>
<tr>
<td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
- <td style="line-height:1.5"><b>Current image is too big for CD-ROM!</b></td>
+ <td style="line-height:1.5"><b>Current image is too big for DVD!</b></td>
</tr>
<tr>
- <td><sup style="line-height:1">The device filesystem will be truncated to 2.2GiB</sup></td>
+ <td><sup style="line-height:1">The maximum is 31.6GiB. Please switch to the Flash mode.</sup></td>
</tr>
</table>
</div>
@@ -603,7 +603,7 @@
<td>
<div class="radio-box">
<input checked type="radio" id="msd-mode-radio-cdrom" name="msd-mode-radio" value="1">
- <label for="msd-mode-radio-cdrom">CD-ROM</label>
+ <label for="msd-mode-radio-cdrom">CD/DVD</label>
<input type="radio" id="msd-mode-radio-flash" name="msd-mode-radio" value="0">
<label for="msd-mode-radio-flash">Flash</label>
</div>
diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug
index 6f5110fa..6ca4323e 100644
--- a/web/kvm/navbar-msd.pug
+++ b/web/kvm/navbar-msd.pug
@@ -15,9 +15,9 @@ li(id="msd-dropdown" class="right feature-disabled")
+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
+ div(id="msd-message-too-big-for-dvd" class="hidden")
+ +menu_message("warning", "Current image is too big for DVD!")
+ | The maximum is 31.6GiB. Please switch to the Flash mode.
hr
div(id="msd-message-out-of-storage" class="hidden")
+menu_message("warning", "Current image is out of storage")
@@ -45,7 +45,7 @@ li(id="msd-dropdown" class="right feature-disabled")
td
div(class="radio-box")
input(checked type="radio" id="msd-mode-radio-cdrom" name="msd-mode-radio" value="1")
- label(for="msd-mode-radio-cdrom") CD-ROM
+ label(for="msd-mode-radio-cdrom") CD/DVD
input(type="radio" id="msd-mode-radio-flash" name="msd-mode-radio" value="0")
label(for="msd-mode-radio-flash") Flash
td &nbsp;
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js
index c20bd70a..f0192745 100644
--- a/web/share/js/kvm/msd.js
+++ b/web/share/js/kvm/msd.js
@@ -120,7 +120,7 @@ export function Msd() {
tools.hidden.setVisible($("msd-message-offline"), (state && !state.online));
tools.hidden.setVisible($("msd-message-image-broken"), (o && d.image && !d.image.complete && !s.uploading));
- tools.hidden.setVisible($("msd-message-too-big-for-cdrom"), (o && d.cdrom && d.image && d.image.size >= 2359296000));
+ tools.hidden.setVisible($("msd-message-too-big-for-dvd"), (o && d.cdrom && d.image && d.image.size >= 33957083136));
tools.hidden.setVisible($("msd-message-out-of-storage"), (o && d.image && !d.image.in_storage));
tools.hidden.setVisible($("msd-message-rw-enabled"), (o && d.rw));
tools.hidden.setVisible($("msd-message-another-user-uploads"), (o && s.uploading && !__http));