moved Dashboard.html in speparate folder to refresh zones.
This commit is contained in:
@@ -5,11 +5,16 @@
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='Styles/main.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='Styles/switch.css') }}">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="refresh" content="5" >
|
||||
<!-- <meta http-equiv="refresh" content="5" > -->
|
||||
<script>
|
||||
function executeAction(command, index, value) {
|
||||
send_web_request('{{url_for("executeAction")}}', 'no', 'command=' + command + '&index=' + index + '&value=' + value);
|
||||
|
||||
function executeAction(command, index, value, elementId) {
|
||||
var url = '{{url_for("executeAction")}}';
|
||||
var messageString = 'no';
|
||||
var varString = 'command=' + command + '&index=' + index + '&value=' + value;
|
||||
send_web_request(url, messageString, varString, elementId);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user