mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
minor ui fixes
This commit is contained in:
parent
3bdcdd580e
commit
aa437673dd
@ -119,7 +119,7 @@
|
||||
<hr>
|
||||
|
||||
<input type="file" id="msd-select-new-image-file" style="display:none;" onchange="msd.selectNewImageFile(this)" />
|
||||
<button disabled id="msd-select-new-image-button" class="first" onclick="document.getElementById('msd-select-new-image-file').click();">• Upload new image <b>⇨</button><button disabled id="msd-upload-new-image-button" class="second-half-first" onclick="msd.clickButton(this);">• Start</button><button disabled id="msd-abort-uploading-button" class="second-half-second" onclick="msd.clickButton(this);">• Abort</button>
|
||||
<button disabled id="msd-select-new-image-button" class="first" onclick="document.getElementById('msd-select-new-image-file').click();">• Upload new image ⇨</button><button disabled id="msd-upload-new-image-button" class="second-half-first" onclick="msd.clickButton(this);">• Start</button><button disabled id="msd-abort-uploading-button" class="second-half-second" onclick="msd.clickButton(this);">• Abort</button>
|
||||
<hr>
|
||||
|
||||
<div id="msd-new-image" style="display:none">
|
||||
|
||||
@ -124,10 +124,8 @@ var msd = new function() {
|
||||
if (__upload_http.readyState === 4) {
|
||||
if (__upload_http.status !== 200) {
|
||||
alert("Can't upload image to the Mass Storage Device:", __upload_http.responseText);
|
||||
} else {
|
||||
$("msd-progress").setAttribute("data-label", "Done");
|
||||
$("msd-progress-value").style.width = "100%";
|
||||
}
|
||||
el_input.value = "";
|
||||
__upload_http = null;
|
||||
__applyState();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user