diff options
author | Yan <yanxk.fnst@fujitsu.com> | 2024-02-19 18:47:10 +0800 |
---|---|---|
committer | Yan <yanxk.fnst@fujitsu.com> | 2024-02-19 18:47:10 +0800 |
commit | f92a01ae9502b09bd84c4c8b9bde585df533814a (patch) | |
tree | 39f29b956a1162a51dd3b8cb05ce5bb05e46eb11 | |
parent | 6944827ad2c1936cbf424014da72f680d415f4c1 (diff) |
bugfix: sigle select button
Change-Id: Ie4a75c5e66cda63496333161746b9cc89799b3c8
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
-rw-r--r-- | ui/www/monitor.html | 57 | ||||
-rw-r--r-- | ui/www/options.html | 18 |
2 files changed, 38 insertions, 37 deletions
diff --git a/ui/www/monitor.html b/ui/www/monitor.html index 013197a..1d9bd7e 100644 --- a/ui/www/monitor.html +++ b/ui/www/monitor.html @@ -1,28 +1,29 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <td width="480">
- <div align="left">
- <a href="homepage.html"><font face="Times New Roman" color="blue" size="+3">Back to homepage</font></a>
- </div>
- </td>
- <title>Monitor Page</title>
-</head>
-
-<body>
- <table width="480" height="80" background="" border="0" align="center">
- <tr><td width="480"><div align="center"><font face="Times New Roman" color="black" size="+3">Monitor Page</font></div></td></tr>
- </table>
-
- <table width="480" align="center" height="480" border="0">
- <tr>
- <td height="320" width="240"><img src="http://192.168.11.126:8080/?action=stream"/></td>
- </tr>
- <tr>
- <td width="480">
- <iframe src="cgi-bin/env.cgi" height="120" width="480" align="middle"></iframe>
- </td>
- </table>
-</body>
-</html>
\ No newline at end of file +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="refresh" content="5" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <td width="480"> + <div align="left"> + <a href="homepage.html"><font face="Times New Roman" color="blue" size="+3">Back to homepage</font></a> + </div> + </td> + <title>Monitor Page</title> +</head> + +<body> + <table width="480" height="80" background="" border="0" align="center"> + <tr><td width="480"><div align="center"><font face="Times New Roman" color="black" size="+3">Monitor Page</font></div></td></tr> + </table> + + <table width="480" align="center" height="480" border="0"> + <tr> + <td height="320" width="240"><img src="http://192.168.11.124:8080/?action=stream"/></td> + </tr> + <tr> + <td width="480"> + <iframe src="cgi-bin/iframe_env.cgi" height="120" width="480" align="middle"></iframe> + </td> + </table> +</body> +</html> diff --git a/ui/www/options.html b/ui/www/options.html index 72cd37a..a577d20 100644 --- a/ui/www/options.html +++ b/ui/www/options.html @@ -16,11 +16,11 @@ <table width="480" height="80" align="center" border="0">
<td height="80">
<div align="center">
- <form id="form_fan" name="form_fan" method="post" action="./cgi-bin/fan.cgi">
+ <form name="fan_form" id="fan_form_1" method="post" action="cgi-bin/trigger_fan.cgi">
<div>
- <label>FAN:<input type="radio" name="fan_on" value="1" id="FAN_CMD_1" />ON</label>
- <label><input type="radio" name="fan_off" value="0" id="FAN_CMD_2" />OFF</label>
- <input type="submit" name="FAN_CMD_BUF" id="BUTTON_FAN" value="SEND" />
+ <label>FAN:<input type="radio" name="fan_switch" id="fan_switch_1" value="1" />ON</label>
+ <label><input type="radio" name="fan_switch" id="fan_switch_2" value="0" />OFF</label>
+ <input type="submit" name="fan_submit" id="fan_submit_1" />
</div>
</form>
</div>
@@ -29,15 +29,15 @@ <table width="480" height="80" align="center" border="0">
<td height="80">
<div align="center">
- <form id="form_fan" name="form_fan" method="post" action="./cgi-bin/fan.cgi">
+ <form name="alarm_form" id="alarm_form_1" method="post" action="cgi-bin/trigger_alarm.cgi">
<div>
- <label>Alarm:<input type="radio" name="alarm_on" value="1" id="ALARM_CMD_1" />ON</label>
- <label><input type="radio" name="alarm_off" value="0" id="ALARM_CMD_2" />OFF</label>
- <input type="submit" name="ALARM_CMD_BUF" id="BUTTON_ALARM" value="SEND" />
+ <label>Alarm:<input type="radio" name="alarm_switch" id="alarm_switch_1" value="1" />ON</label>
+ <label><input type="radio" name="alarm_switch" id="alarm_switch_2" value="0" />OFF</label>
+ <input type="submit" name="alarm_submit" id="alarm_submit_1"/>
</div>
</form>
</div>
</td>
</table>
</body>
-</html>
\ No newline at end of file +</html>
|