This commit is contained in:
Luca Deri 2016-12-21 17:26:54 +01:00
parent 482c2ca834
commit dd04313f3f
11 changed files with 90 additions and 23 deletions

View file

@ -437,9 +437,11 @@ for _key, _value in pairsByKeys(vals, funct) do
else
print("0")
end
-- io.write("-------------------------\n")
-- tprint(value)
if(value["localhost"] ~= nil or value["systemhost"] ~= nil) then
print ("\", \"column_location\" : \"")
if value["localhost"] == true or value["systemhost"] == true then
if value["localhost"] == true --[[or value["systemhost"] == true --]] then
print("<span class='label label-success'>Local</span>") else print("<span class='label label-default'>Remote</span>")
end
if value["is_blacklisted"] == true then