summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-09 11:35:07 +0300
committerDevaev Maxim <[email protected]>2020-09-09 11:35:07 +0300
commit04284584fecb279c5a1872d64697a3b26d04318c (patch)
tree9e68aa2959618e1e92bf59b2cb0b857a27ba087e /web
parent669fc608ed6a1851f799c99c4998143b8dcfc126 (diff)
rename
Diffstat (limited to 'web')
-rw-r--r--web/kvm/index.html2
-rw-r--r--web/kvm/navbar-msd.pug2
-rw-r--r--web/share/js/kvm/msd.js6
3 files changed, 5 insertions, 5 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index d2879af8..45a4c333 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -187,7 +187,7 @@
<table>
<tr>
<td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
- <td style="line-height:1.5"><b>Mass Storage Device is offline</b></td>
+ <td style="line-height:1.5"><b>Mass Storage Drive is offline</b></td>
</tr>
</table>
</div>
diff --git a/web/kvm/navbar-msd.pug b/web/kvm/navbar-msd.pug
index 82e0c8f6..d67b8f44 100644
--- a/web/kvm/navbar-msd.pug
+++ b/web/kvm/navbar-msd.pug
@@ -4,7 +4,7 @@ li(id="msd-dropdown" class="right feature-disabled")
| Mass Storage &#8628;
div(data-dont-hide-menu id="msd-menu" class="menu")
div(id="msd-message-offline" class="hidden")
- +menu_message("warning", "Mass Storage Device is offline")
+ +menu_message("warning", "Mass Storage Drive is offline")
hr
div(id="msd-message-image-broken" class="hidden")
+menu_message("warning", "Current image is broken!")
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js
index c3e5c8ae..28227b2d 100644
--- a/web/share/js/kvm/msd.js
+++ b/web/share/js/kvm/msd.js
@@ -114,7 +114,7 @@ export function Msd() {
var __uploadStateChange = function() {
if (__upload_http.readyState === 4) {
if (__upload_http.status !== 200) {
- wm.error("Can't upload image to the Mass Storage Device:<br>", __upload_http.responseText);
+ wm.error("Can't upload image to the Mass Storage Drive:<br>", __upload_http.responseText);
}
$("msd-select-new-image-file").value = "";
__image_file = null;
@@ -156,7 +156,7 @@ export function Msd() {
let el_input = $("msd-select-new-image-file");
let image_file = (el_input.files.length ? el_input.files[0] : null);
if (image_file && image_file.size > __state.storage.size) {
- wm.error("New image is too big for your Mass Storage Device.<br>Maximum:", tools.formatSize(__state.storage.size));
+ wm.error("New image is too big for your Mass Storage Drive.<br>Maximum:", tools.formatSize(__state.storage.size));
el_input.value = "";
image_file = null;
}
@@ -165,7 +165,7 @@ export function Msd() {
};
var __clickResetButton = function() {
- wm.confirm("Are you sure you want to reset Mass Storage Device?").then(function(ok) {
+ wm.confirm("Are you sure you want to reset Mass Storage Drive?").then(function(ok) {
if (ok) {
let http = tools.makeRequest("POST", "/api/msd/reset", function() {
if (http.readyState === 4) {