Split flow status definitions in multiple files

This commit is contained in:
emanuele-f 2019-10-15 17:27:50 +02:00
parent b390fddcf2
commit b217909966
46 changed files with 741 additions and 386 deletions

View file

@ -13,14 +13,11 @@ local format_utils = require "format_utils"
local json = require "dkjson"
local alerts_api = require "alerts_api"
local alert_consts = require "alert_consts"
local user_scripts = require "user_scripts"
sendHTTPHeader('application/json')
local status = _GET["status"]
user_scripts.loadCustomPrefs()
local engaged = false
if status == "engaged" then
engaged = true