File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,12 @@ socket.on("data", function(data) {
2525 var table = document . getElementById ( "myTableTemp" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
2626 } else if ( data . topic . beginsWith ( "rate/sensors/snmp/router/" ) ) {
2727 var table = document . getElementById ( "myRouterRate" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
28- } else if ( data . topic . beginsWith ( "sensors/iosbattery/" ) ) {
29- var table = document . getElementById ( "myBattery" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
3028 } else if ( data . topic . beginsWith ( "sensors/temperature/" ) ) {
3129 var table = document . getElementById ( "myTableTemp" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
3230 } else if ( data . topic . beginsWith ( "sensors/humidity/" ) ) {
3331 var table = document . getElementById ( "myTableHumidity" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
34- } else if ( data . topic . beginsWith ( "sensors/co/" ) ) {
35- var table = document . getElementById ( "myTableCO" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
3632 } else if ( data . topic . beginsWith ( "sensors/co2/" ) ) {
3733 var table = document . getElementById ( "myTableCO2" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
38- } else if ( data . topic . beginsWith ( "sensors/no2/" ) ) {
39- var table = document . getElementById ( "myTableNO2" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
4034 } else if ( data . topic . beginsWith ( "sensors/pressure/" ) ) {
4135 var table = document . getElementById ( "myTablePressure" ) . getElementsByTagName ( "tbody" ) [ 0 ] ;
4236 } else {
Original file line number Diff line number Diff line change @@ -43,18 +43,6 @@ block content
4343 | </table >
4444
4545 div.col-md-3
46- h4.text-center NO2
47- | <table id =" myTableNO2" class =" table table-striped table-condensed table-bordered sortable-theme-bootstrap" data-sortable >
48- | <thead ><tr ><th >Topic</th ><th style =" text-align : right " >Value</th ></tr ></thead >
49- | <tbody ></tbody >
50- | </table >
51-
52- h4.text-center CO
53- | <table id =" myTableCO" class =" table table-striped table-condensed table-bordered sortable-theme-bootstrap" data-sortable >
54- | <thead ><tr ><th >Topic</th ><th style =" text-align : right " >Value</th ></tr ></thead >
55- | <tbody ></tbody >
56- | </table >
57-
5846 h4.text-center CO2
5947 | <table id =" myTableCO2" class =" table table-striped table-condensed table-bordered sortable-theme-bootstrap" data-sortable >
6048 | <thead ><tr ><th >Topic</th ><th style =" text-align : right " >Value</th ></tr ></thead >
You can’t perform that action at this time.
0 commit comments