mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2025-07-31 20:31:05 +00:00
update
This commit is contained in:
parent
163c8c1876
commit
5657871f02
23 changed files with 168 additions and 28 deletions
33
WEBFiles/protect2/dsleep.htm
Normal file
33
WEBFiles/protect2/dsleep.htm
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue