u-boot: translate Web UI to Chinese
Translate Web UI pages to Chinese for better usability.
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="refresh" content="2; URL=/" />
|
||||
<title>Page not found</title>
|
||||
<title>页面不存在</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1 class="red">PAGE NOT FOUND</h1>
|
||||
<div class="i e">The page you were looking for doesn't exist!</div>
|
||||
<h1 class="red">页面不存在</h1>
|
||||
<div class="i e">您要查找的页面不存在!</div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
</body>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>BL2 update</title>
|
||||
<title>BL2 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>BL2 UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>BL2 (preloader)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>BL2 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>BL2 引导加载程序</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="bl2">
|
||||
<input type="button" value="Upload" onclick="upload('bl2')">
|
||||
<input type="button" value="上传" onclick="upload('bl2')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>bl2 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper BL2 image for your device</li>
|
||||
<li>updating BL2 is a very dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新BL2是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Booting initramfs</title>
|
||||
<title>正在启动 initramfs</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
<script>
|
||||
@@ -17,8 +17,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'BOOT SUCCESS'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully booted into initramfs!'
|
||||
document.getElementById('title').innerHTML = '启动成功'
|
||||
document.getElementById('info').innerHTML = '您的设备已成功进入 initramfs'
|
||||
},
|
||||
timeout: 30000
|
||||
})
|
||||
@@ -29,18 +29,18 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'BOOT SUCCESS'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully booted into initramfs!'
|
||||
document.getElementById('title').innerHTML = '启动成功'
|
||||
document.getElementById('info').innerHTML = '您的设备已成功进入 initramfs!'
|
||||
}, 30000)
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="m">
|
||||
<h1 id="title">BOOTING INITRAMFS</h1>
|
||||
<h1 id="title">正在启动 initramfs</h1>
|
||||
<p id="info">
|
||||
Your file was successfully uploaded! Booting is in progress, please wait...<br>
|
||||
This page may be in not responding status for a short time.
|
||||
您的文件已成功上传!正在启动,请稍候...<br>
|
||||
此页面可能在短时间内无响应.
|
||||
</p>
|
||||
<div id="l"></div>
|
||||
</div>
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Update failed</title>
|
||||
<title>更新失败</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1 class="red">UPDATE FAILED</h1>
|
||||
<div class="i e"><strong>Something went wrong during update</strong>Probably you have chosen wrong file. Please, try again or contact with the author of this modification. You can also get more information during update in U-Boot console.</div>
|
||||
<h1 class="red">更新失败</h1>
|
||||
<div class="i e"><strong>更新过程中出现问题</strong>您可能选择了错误的文件。请重试或与此修改的作者联系。您还可以在U-Boot控制台的更新过程中获得更多信息。</div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
</body>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Update in progress</title>
|
||||
<title>正在更新ing</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
<script>
|
||||
@@ -17,8 +17,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'UPDATE COMPLETED'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully updated! Now rebooting...'
|
||||
document.getElementById('title').innerHTML = '更新成功!'
|
||||
document.getElementById('info').innerHTML = '你的设备更新成功!正在重启设备...'
|
||||
},
|
||||
timeout: 180000
|
||||
})
|
||||
@@ -27,11 +27,8 @@
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="m">
|
||||
<h1 id="title">UPDATE IN PROGRESS</h1>
|
||||
<p id="info">
|
||||
Your file was successfully uploaded! Update is in progress and you should wait for automatic reset of the device.<br>
|
||||
Update time depends on image size and may take up to a few minutes.
|
||||
</p>
|
||||
<h1 id="title">正在更新</h1>
|
||||
<p id="info">您的文件已成功上传!更新正在进行中,设备将自动重置<br>更新时间取决于更新文件大小,可能需要几分钟...</p>
|
||||
<div id="l"></div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>GPT update</title>
|
||||
<title>GPT 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>GPT UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>GPT (Partition Table)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>GPT 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>GPT</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="gpt">
|
||||
<input type="button" value="Upload" onclick="upload('gpt')">
|
||||
<input type="button" value="上传" onclick="upload('gpt')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<p>U-Boot 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper GPT for your device</li>
|
||||
<li>updating GPT is a dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新GPT是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,44 +2,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Firmware update</title>
|
||||
<title>固件更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="startup()">
|
||||
<div id="m">
|
||||
<h1>FIRMWARE UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>firmware</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>固件更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>固件</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<div id="mtd_layout" style="display: none;">
|
||||
<div id="current_mtd_layout"></div>
|
||||
<br>
|
||||
Choose mtd layout:
|
||||
选择mtd布局:
|
||||
<select id="mtd_layout_label" name="mtd_layout_label"></select>
|
||||
<br><br>
|
||||
</div>
|
||||
<input id="file" type="file" name="firmware">
|
||||
<input type="button" value="Upload" onclick="upload('firmware')">
|
||||
<input type="button" value="上传" onclick="upload('firmware')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="mtd" style="display: none;">MTD layout: xxxx</div>
|
||||
<div id="mtd" style="display: none;">MTD 布局: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>固件 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper firmware image for your device</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的固件映像</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,35 +2,35 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Load initramfs</title>
|
||||
<title>加载 initramfs</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="startup()">
|
||||
<div id="m">
|
||||
<h1>LOAD INITRAMFS</h1>
|
||||
<h1>加载 initramfs<</h1>
|
||||
<p id="hint">
|
||||
You are going to load <strong>initramfs</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
您将要在设备上加载 <strong>initramfs</strong> .<br>
|
||||
请选择本地硬盘中的文件,然后点击 <strong>上传</strong> 按钮。
|
||||
</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="initramfs">
|
||||
<input type="button" value="Upload" onclick="upload('initramfs')">
|
||||
<input type="button" value="上传" onclick="upload('initramfs')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Boot".</p>
|
||||
<p>如果以上信息均正确,请点击 "Boot".</p>
|
||||
<button class="button" onclick="location = '/booting.html'">Boot</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>if everything goes well, the device will boot into the initramfs</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper initramfs image for your device</li>
|
||||
<li>如果一切顺利,设备将启动进入 initramfs</li>
|
||||
<li>您可以上传任意文件,但请确保选择适合设备的 initramfs 镜像</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>U-Boot update</title>
|
||||
<title>U-Boot 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>U-BOOT UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>U-Boot (bootloader)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>U-BOOT 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>U-Boot 引导加载程序</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="fip">
|
||||
<input type="button" value="Upload" onclick="upload('fip')">
|
||||
<input type="button" value="上传" onclick="upload('fip')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>U-Boot 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper U-Boot image for your device</li>
|
||||
<li>updating U-Boot is a very dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新U-Boot是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="refresh" content="2; URL=/" />
|
||||
<title>Page not found</title>
|
||||
<title>页面不存在</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1 class="red">PAGE NOT FOUND</h1>
|
||||
<div class="i e">The page you were looking for doesn't exist!</div>
|
||||
<h1 class="red">页面不存在</h1>
|
||||
<div class="i e">您要查找的页面不存在!</div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
</body>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>BL2 update</title>
|
||||
<title>BL2 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>BL2 UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>BL2 (preloader)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>BL2 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>BL2 引导加载程序</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="bl2">
|
||||
<input type="button" value="Upload" onclick="upload('bl2')">
|
||||
<input type="button" value="上传" onclick="upload('bl2')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>bl2 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper BL2 image for your device</li>
|
||||
<li>updating BL2 is a very dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新BL2是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Booting initramfs</title>
|
||||
<title>正在启动 initramfs</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
<script>
|
||||
@@ -17,8 +17,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'BOOT SUCCESS'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully booted into initramfs!'
|
||||
document.getElementById('title').innerHTML = '启动成功'
|
||||
document.getElementById('info').innerHTML = '您的设备已成功启动并进入 initramfs!'
|
||||
},
|
||||
timeout: 30000
|
||||
})
|
||||
@@ -27,10 +27,10 @@
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="m">
|
||||
<h1 id="title">BOOTING INITRAMFS</h1>
|
||||
<h1 id="title">正在启动 INITRAMFS</h1>
|
||||
<p id="info">
|
||||
Your file was successfully uploaded! Booting is in progress, please wait...<br>
|
||||
This page may be in not responding status for a short time.
|
||||
您的文件已成功上传!启动正在进行中,请稍候...<br>
|
||||
本页面可能在短时间内无响应。
|
||||
</p>
|
||||
<div id="l"></div>
|
||||
</div>
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Update failed</title>
|
||||
<title>更新失败</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1 class="red">UPDATE FAILED</h1>
|
||||
<div class="i e"><strong>Something went wrong during update</strong>Probably you have chosen wrong file. Please, try again or contact with the author of this modification. You can also get more information during update in U-Boot console.</div>
|
||||
<h1 class="red">更新失败</h1>
|
||||
<div class="i e"><strong>更新过程中出现问题</strong>您可能选择了错误的文件。请重试或与此修改的作者联系。您还可以在U-Boot控制台的更新过程中获得更多信息。</div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
</body>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Update in progress</title>
|
||||
<title>正在更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
<script>
|
||||
@@ -17,8 +17,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'UPDATE COMPLETED'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully updated! Now rebooting...'
|
||||
document.getElementById('title').innerHTML = '更新成功!'
|
||||
document.getElementById('info').innerHTML = '你的设备更新成功!正在重启设备...'
|
||||
},
|
||||
timeout: 1800000
|
||||
})
|
||||
@@ -27,11 +27,8 @@
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="m">
|
||||
<h1 id="title">UPDATE IN PROGRESS</h1>
|
||||
<p id="info">
|
||||
Your file was successfully uploaded! Update is in progress and you should wait for automatic reset of the device.<br>
|
||||
Update time depends on image size and may take up to a few minutes.
|
||||
</p>
|
||||
<h1 id="title">正在更新</h1>
|
||||
<p id="info">您的文件已成功上传!更新正在进行中,设备将自动重置<br>更新时间取决于更新文件大小,可能需要几分钟...</p>
|
||||
<div id="l"></div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>GPT update</title>
|
||||
<title>GPT 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>GPT UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>GPT (Partition Table)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>GPT 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>GPT</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="gpt">
|
||||
<input type="button" value="Upload" onclick="upload('gpt')">
|
||||
<input type="button" value="上传" onclick="upload('gpt')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<p>如果以上信息均正确,请点击 "更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper GPT for your device</li>
|
||||
<li>updating GPT is a dangerous operation and may damage your device!</li>
|
||||
<li>更新期间请勿断电</li>
|
||||
<li>如果一切正常,设备将自动重启</li>
|
||||
<li>您可以上传任意文件,但请确保选择适合您设备的 GPT 镜像</li>
|
||||
<li>更新 GPT 是一项危险操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,44 +2,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Firmware update</title>
|
||||
<title>固件更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="startup()">
|
||||
<div id="m">
|
||||
<h1>FIRMWARE UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>firmware</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>固件更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>固件</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<div id="mtd_layout" style="display: none;">
|
||||
<div id="current_mtd_layout"></div>
|
||||
<br>
|
||||
Choose mtd layout:
|
||||
选择mtd布局:
|
||||
<select id="mtd_layout_label" name="mtd_layout_label"></select>
|
||||
<br><br>
|
||||
</div>
|
||||
<input id="file" type="file" name="firmware">
|
||||
<input type="button" value="Upload" onclick="upload('firmware')">
|
||||
<input type="button" value="上传" onclick="upload('firmware')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="mtd" style="display: none;">MTD layout: xxxx</div>
|
||||
<div id="mtd" style="display: none;">MTD 布局: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>固件 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper firmware image for your device</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的固件映像</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,35 +2,35 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Load initramfs</title>
|
||||
<title>加载 initramfs</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="startup()">
|
||||
<div id="m">
|
||||
<h1>LOAD INITRAMFS</h1>
|
||||
<h1>加载 INITRAMFS</h1>
|
||||
<p id="hint">
|
||||
You are going to load <strong>initramfs</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
您将要在设备上加载 <strong>initramfs</strong> 。<br>
|
||||
请选择本地硬盘中的文件,并点击 <strong>上传</strong> 按钮。
|
||||
</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="initramfs">
|
||||
<input type="button" value="Upload" onclick="upload('initramfs')">
|
||||
<input type="button" value="上传" onclick="upload('initramfs')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Boot".</p>
|
||||
<button class="button" onclick="location = '/booting.html'">Boot</button>
|
||||
<p>如果以上信息均正确,请点击“启动”。</p>
|
||||
<button class="button" onclick="location = '/booting.html'">启动</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>if everything goes well, the device will boot into the initramfs</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper initramfs image for your device</li>
|
||||
<li>如果一切正常,设备将进入 initramfs</li>
|
||||
<li>您可以上传任意文件,但请确保为您的设备选择了正确的 initramfs 镜像</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>U-Boot update</title>
|
||||
<title>U-Boot 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>U-BOOT UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>U-Boot (bootloader)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>U-BOOT 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>U-Boot 引导加载程序</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="fip">
|
||||
<input type="button" value="Upload" onclick="upload('fip')">
|
||||
<input type="button" value="上传" onclick="upload('fip')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>如果以上信息均正确,请点击“更新”。</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper U-Boot image for your device</li>
|
||||
<li>updating U-Boot is a very dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,但请确保一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新U-Boot是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="refresh" content="2; URL=/" />
|
||||
<title>Page not found</title>
|
||||
<title>页面不存在</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1 class="red">PAGE NOT FOUND</h1>
|
||||
<div class="i e">The page you were looking for doesn't exist!</div>
|
||||
<h1 class="red">页面不存在</h1>
|
||||
<div class="i e">您要查找的页面不存在!</div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
</body>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>BL2 update</title>
|
||||
<title>BL2 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>BL2 UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>BL2 (preloader)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>BL2 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>BL2 引导加载程序</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="bl2">
|
||||
<input type="button" value="Upload" onclick="upload('bl2')">
|
||||
<input type="button" value="上传" onclick="upload('bl2')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>bl2 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper BL2 image for your device</li>
|
||||
<li>updating BL2 is a very dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新BL2是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Booting initramfs</title>
|
||||
<title>正在启动 initramfs</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
<script>
|
||||
@@ -17,8 +17,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'BOOT SUCCESS'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully booted into initramfs!'
|
||||
document.getElementById('title').innerHTML = '启动成功'
|
||||
document.getElementById('info').innerHTML = '您的设备已成功启动并进入 initramfs!'
|
||||
},
|
||||
timeout: 30000
|
||||
})
|
||||
@@ -27,10 +27,10 @@
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="m">
|
||||
<h1 id="title">BOOTING INITRAMFS</h1>
|
||||
<h1 id="title">正在启动 INITRAMFS</h1>
|
||||
<p id="info">
|
||||
Your file was successfully uploaded! Booting is in progress, please wait...<br>
|
||||
This page may be in not responding status for a short time.
|
||||
您的文件已成功上传!启动正在进行中,请稍候...<br>
|
||||
本页面可能在短时间内无响应。
|
||||
</p>
|
||||
<div id="l"></div>
|
||||
</div>
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Update failed</title>
|
||||
<title>更新失败</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1 class="red">UPDATE FAILED</h1>
|
||||
<div class="i e"><strong>Something went wrong during update</strong>Probably you have chosen wrong file. Please, try again or contact with the author of this modification. You can also get more information during update in U-Boot console.</div>
|
||||
<h1 class="red">更新失败</h1>
|
||||
<div class="i e"><strong>更新过程中出现问题</strong>您可能选择了错误的文件。请重试或与此修改的作者联系。您还可以在U-Boot控制台的更新过程中获得更多信息。</div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
</body>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Update in progress</title>
|
||||
<title>正在更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
<script>
|
||||
@@ -17,8 +17,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
document.getElementById('title').innerHTML = 'UPDATE COMPLETED'
|
||||
document.getElementById('info').innerHTML = 'Your device was successfully updated! Now rebooting...'
|
||||
document.getElementById('title').innerHTML = '更新成功!'
|
||||
document.getElementById('info').innerHTML = '你的设备更新成功!正在重启设备...'
|
||||
},
|
||||
timeout: 1800000
|
||||
})
|
||||
@@ -27,11 +27,8 @@
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="m">
|
||||
<h1 id="title">UPDATE IN PROGRESS</h1>
|
||||
<p id="info">
|
||||
Your file was successfully uploaded! Update is in progress and you should wait for automatic reset of the device.<br>
|
||||
Update time depends on image size and may take up to a few minutes.
|
||||
</p>
|
||||
<h1 id="title">正在更新</h1>
|
||||
<p id="info">您的文件已成功上传!更新正在进行中,设备将自动重置<br>更新时间取决于更新文件大小,可能需要几分钟...</p>
|
||||
<div id="l"></div>
|
||||
</div>
|
||||
<div id="version"></div>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>GPT update</title>
|
||||
<title>GPT 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>GPT UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>GPT (Partition Table)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>GPT 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>GPT</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="gpt">
|
||||
<input type="button" value="Upload" onclick="upload('gpt')">
|
||||
<input type="button" value="上传" onclick="upload('gpt')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<p>如果以上信息均正确,请点击 "更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper GPT for your device</li>
|
||||
<li>updating GPT is a dangerous operation and may damage your device!</li>
|
||||
<li>更新期间请勿断电</li>
|
||||
<li>如果一切正常,设备将自动重启</li>
|
||||
<li>您可以上传任意文件,但请确保选择适合您设备的 GPT 镜像</li>
|
||||
<li>更新 GPT 是一项危险操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,44 +2,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Firmware update</title>
|
||||
<title>固件更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="startup()">
|
||||
<div id="m">
|
||||
<h1>FIRMWARE UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>firmware</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>固件更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>固件</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<div id="mtd_layout" style="display: none;">
|
||||
<div id="current_mtd_layout"></div>
|
||||
<br>
|
||||
Choose mtd layout:
|
||||
选择mtd布局:
|
||||
<select id="mtd_layout_label" name="mtd_layout_label"></select>
|
||||
<br><br>
|
||||
</div>
|
||||
<input id="file" type="file" name="firmware">
|
||||
<input type="button" value="Upload" onclick="upload('firmware')">
|
||||
<input type="button" value="上传" onclick="upload('firmware')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="mtd" style="display: none;">MTD layout: xxxx</div>
|
||||
<div id="mtd" style="display: none;">MTD 布局: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>固件 已上传,请点击"更新"</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper firmware image for your device</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,所以一定要为你的设备选择合适的固件映像</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,35 +2,35 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Load initramfs</title>
|
||||
<title>加载 initramfs</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="startup()">
|
||||
<div id="m">
|
||||
<h1>LOAD INITRAMFS</h1>
|
||||
<h1>加载 INITRAMFS</h1>
|
||||
<p id="hint">
|
||||
You are going to load <strong>initramfs</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
您将要在设备上加载 <strong>initramfs</strong> 。<br>
|
||||
请选择本地硬盘中的文件,并点击 <strong>上传</strong> 按钮。
|
||||
</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="initramfs">
|
||||
<input type="button" value="Upload" onclick="upload('initramfs')">
|
||||
<input type="button" value="上传" onclick="upload('initramfs')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Boot".</p>
|
||||
<button class="button" onclick="location = '/booting.html'">Boot</button>
|
||||
<p>如果以上信息均正确,请点击“启动”。</p>
|
||||
<button class="button" onclick="location = '/booting.html'">启动</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>if everything goes well, the device will boot into the initramfs</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper initramfs image for your device</li>
|
||||
<li>如果一切正常,设备将进入 initramfs</li>
|
||||
<li>您可以上传任意文件,但请确保为您的设备选择了正确的 initramfs 镜像</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,37 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>U-Boot update</title>
|
||||
<title>U-Boot 更新</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js"></script>
|
||||
</head>
|
||||
<body onload="getversion()">
|
||||
<div id="m">
|
||||
<h1>U-BOOT UPDATE</h1>
|
||||
<p id="hint">
|
||||
You are going to update <strong>U-Boot (bootloader)</strong> on the device.<br>
|
||||
Please, choose file from your local hard drive and click <strong>Upload</strong> button.
|
||||
</p>
|
||||
<h1>U-BOOT 更新</h1>
|
||||
<p id="hint">您将在这台设备上更新 <strong>U-Boot 引导加载程序</strong> <br>请从本地硬盘中选择文件,然后单击 <strong>更新</strong> 按钮.</p>
|
||||
<form id="form">
|
||||
<input id="file" type="file" name="fip">
|
||||
<input type="button" value="Upload" onclick="upload('fip')">
|
||||
<input type="button" value="上传" onclick="upload('fip')">
|
||||
</form>
|
||||
<div>
|
||||
<div class="bar" id="bar" style="display: none; --percent: 0;"></div>
|
||||
</div>
|
||||
<div id="size" style="display: none;">Size: xxxx</div>
|
||||
<div id="size" style="display: none;">镜像大小: xxxx</div>
|
||||
<div id="md5" style="display: none;">MD5: xxxx</div>
|
||||
<div id="upgrade" style="display: none;">
|
||||
<p>If all information above is correct, click "Update".</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">Update</button>
|
||||
<p>如果以上信息均正确,请点击“更新”。</p>
|
||||
<button class="button" onclick="location = '/flashing.html'">更新</button>
|
||||
</div>
|
||||
<div class="i w">
|
||||
<strong>WARNINGS</strong>
|
||||
<strong>警告</strong>
|
||||
<ul>
|
||||
<li>do not power off the device during update</li>
|
||||
<li>if everything goes well, the device will restart</li>
|
||||
<li>you can upload whatever you want, so be sure that you choose proper U-Boot image for your device</li>
|
||||
<li>updating U-Boot is a very dangerous operation and may damage your device!</li>
|
||||
<li>更新期间不要关闭设备电源</li>
|
||||
<li>如果一切顺利,设备将重新启动</li>
|
||||
<li>你可以上传任何你想要的东西,但请确保一定要为你的设备选择合适的 U-Boot</li>
|
||||
<li>更新U-Boot是一项非常危险的操作,可能会损坏您的设备!</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user