diff options
Diffstat (limited to 'cfe/cfe/arch/mips/board/bcm63xx_ram/src/html/ulinfo.html')
-rwxr-xr-x | cfe/cfe/arch/mips/board/bcm63xx_ram/src/html/ulinfo.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/cfe/cfe/arch/mips/board/bcm63xx_ram/src/html/ulinfo.html b/cfe/cfe/arch/mips/board/bcm63xx_ram/src/html/ulinfo.html new file mode 100755 index 0000000..1edb2ae --- /dev/null +++ b/cfe/cfe/arch/mips/board/bcm63xx_ram/src/html/ulinfo.html @@ -0,0 +1,60 @@ +<html> + <head> + <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'> + <script language="javascript"> +<!-- hide +var msg = new Array(); +msg[0] = 'New software is being programmed to the flash memory. The DSL Router will reboot upon completion. This process will take about 2 minutes.'; +msg[1] = 'Image uploading failed. The system is out of memory. The DSL Router is rebooting.'; +msg[2] = 'Image uploading failed. No image file was selected.'; +msg[3] = 'Image uploading failed. The selected file contains an illegal image.'; +msg[4] = 'Image uploading failed. The selected file contains an illegal image.'; +msg[5] = 'Image uploading failed. The selected file contains an illegal image.'; +msg[6] = ' '; +msg[7] = 'Image uploading failed. The selected file contains an illegal image.'; + +var idxStr = '<%%>'; + +function getMsgIndex() { + var idxNum = parseInt(idxStr); + if ( isNaN(idxNum) || idxNum < 0 || idxNum > 7 ) + idxNum = 7; + + return idxNum; +} + +function reboot() { + var loc = 'upload.html'; + + var code = 'location.assign("' + loc + '")'; + eval(code); +} + +function frmLoad() { + setTimeout('reboot()', 40000); +} + +function btnBack() { + var code = 'location.assign("' + 'upload.html' + '")'; + eval(code); +} + +// done hiding --> +</script> + </head> + <body onLoad='frmLoad()'> + <blockquote> <b>DSL Router Software Upgrade</b><br> + <br> + <script language="javascript"> +<!-- hide +document.write(msg[getMsgIndex()]); +// done hiding --> +</script> + <br> + <br> + <center> + <input type='button' onClick='btnBack()' value='Back'> + </center> + </blockquote> + </body> +</html> |