translation update
[tomato.git] / release / src / router / www / reboot-default.asp
blobfdef5c219595408975858d216b9aa0a004e34f2f
1 <!--
2 Tomato GUI
3 Copyright (C) 2006-2010 Jonathan Zarate
4 http://www.polarcloud.com/tomato/
6 For use with Tomato Firmware only.
7 No part of this file may be used without permission.
8 -->
9 <html>
10 <head>
11 <meta http-equiv='content-type' content='text/html;charset=utf-8'>
12 <meta name='robots' content='noindex,nofollow'>
13 <title>[<% ident(); %>] <% translate("Restoring Defaults"); %>...</title>
14 <script type='text/javascript'>
15 var n = 60;
16 function tick()
18 var e = document.getElementById('continue');
19 e.value = n--;
20 if (n < 0) {
21 e.value = '<% translate("Continue"); %>';
22 return;
24 if (n == 19) e.disabled = false;
25 setTimeout(tick, 1000);
27 function go()
29 window.location = 'http://192.168.1.1/';
31 function init()
33 tick()
35 </script></head>
36 <body style='background:#fff' onload='init()'><table style='width:100%;height:100%'>
37 <tr><td style='text-align:center;vertical-align:middle;font:12px sans-serif'><form>
38 <% translate("Please wait while the defaults are restored"); %>... &nbsp;
39 <input type='button' value='' style='font:12px sans-serif;width:80px;height:24px' id='continue' onclick='go()' disabled>
40 <div style='width:600px;border-top:1px dashed #888;margin:5px auto;padding:5px 0;font-size:14px;' id='msg'><% translate("The router will reset its address back to 192.168.1.1. You may need to renew your computer's DHCP or reboot your computer before continuing"); %>.</div>
41 </form></td></tr>
42 </table></body></html>