<% var page = 'alert'; var configTemp = alertT; if ("service" in alert) { if ("active" in alert.service) {configTemp.service.active = alert.service.active}; if ("pushover" in alert.service) { if ("active" in alert.service.pushover) {configTemp.service.pushover.active = alert.service.pushover.active}; if ("token" in alert.service.pushover) {configTemp.service.pushover.token = alert.service.pushover.token}; if ("user" in alert.service.pushover) {configTemp.service.pushover.user = alert.service.pushover.user}; if ("sound" in alert.service.pushover) {configTemp.service.pushover.sound = alert.service.pushover.sound}; } if ("prowl" in alert.service) { if ("active" in alert.service.prowl) {configTemp.service.prowl.active = alert.service.prowl.active}; if ("apikey" in alert.service.prowl) {configTemp.service.prowl.apikey = alert.service.prowl.apikey}; } } if ("humi" in alert) { if ("low" in alert.humi) { if ("on" in alert.humi.low) {configTemp.humi.low.on = alert.humi.low.on}; if ("value" in alert.humi.low) {configTemp.humi.low.value = alert.humi.low.value}; } if ("high" in alert.humi) { if ("on" in alert.humi.high) {configTemp.humi.high.on = alert.humi.high.on}; if ("value" in alert.humi.high) {configTemp.humi.high.value = alert.humi.high.value}; } } if ("pres" in alert) { if ("low" in alert.pres) { if ("on" in alert.pres.low) {configTemp.pres.low.on = alert.pres.low.on}; if ("value" in alert.pres.low) {configTemp.pres.low.value = alert.pres.low.value}; } if ("high" in alert.pres) { if ("on" in alert.pres.high) {configTemp.pres.high.on = alert.pres.high.on}; if ("value" in alert.pres.high) {configTemp.pres.high.value = alert.pres.high.value}; } } if ("temp" in alert) { if ("low" in alert.temp) { if ("on" in alert.temp.low) {configTemp.temp.low.on = alert.temp.low.on}; if ("value" in alert.temp.low) {configTemp.temp.low.value = alert.temp.low.value}; } if ("high" in alert.temp) { if ("on" in alert.temp.high) {configTemp.temp.high.on = alert.temp.high.on}; if ("value" in alert.temp.high) {configTemp.temp.high.value = alert.temp.high.value}; } } if ("wind" in alert) { if ("low" in alert.wind) { if ("on" in alert.wind.low) {configTemp.wind.low.on = alert.wind.low.on}; if ("value" in alert.wind.low) {configTemp.wind.low.value = alert.wind.low.value}; } if ("high" in alert.wind) { if ("on" in alert.wind.high) {configTemp.wind.high.on = alert.wind.high.on}; if ("value" in alert.wind.high) {configTemp.wind.high.value = alert.wind.high.value}; } } if ("precip" in alert) { if ("on" in alert.precip) {configTemp.precip.on = alert.precip.on}; } if ("strike" in alert) { if ("on" in alert.strike) {configTemp.strike.on = alert.strike.on}; } var selected = 'selected'; %> <% include head%>
<% include header%>
Alert
checked<%}%> />
Pushover
checked<%}%> />
Prowl
checked<%}%> />
Humidity
checked<%}%> />
checked<%}%> />