mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2024-11-29 01:30:29 +00:00
33 lines
946 B
HTML
33 lines
946 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<title>RTL871X</title>
|
|
<link rel="stylesheet" href="/style.css">
|
|
<script src="/site.js"></script>
|
|
</head>
|
|
<body onload="allowAJAX=true;" onunload="allowAJAX=false;">
|
|
~inc:menu.inc~
|
|
<div class="content">
|
|
<h2 class="title">Test DeepSleep</h2>
|
|
<table class="form">
|
|
</tr>
|
|
<td class="label">DeepSleep Time(ms):</td>
|
|
<td><input type="text" id="ds_time" size="12" maxlength="10" value="3000"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">DeepSleep Mode:</td>
|
|
<td class="left"><input type="button" onclick="DeepSleep()" value="Go" class="button"></td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
</div>
|
|
~inc:footer.inc~
|
|
<script type="text/javascript">
|
|
function DeepSleep(){
|
|
var dstim = parseInt(document.getElementById('ds_time').value,10);
|
|
newAJAXCommand('/web.cgi?sys_dsleep=0x' + dstim.toString(16), null, 0);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|