mirror of https://github.com/aredn/aredn.git
add svc alert icon (#461)
This commit is contained in:
parent
665fa4924f
commit
7b768e6ce1
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
|
@ -1209,7 +1209,7 @@ function print_services()
|
||||||
end
|
end
|
||||||
local svc = string.format([[PlParam "service" "%s://%s:%s/%s|tcp|%s"]], (_link == "1" and _proto or "http"), _host, (_link == "1" and _port or "0"), _suffix, _name)
|
local svc = string.format([[PlParam "service" "%s://%s:%s/%s|tcp|%s"]], (_link == "1" and _proto or "http"), _host, (_link == "1" and _port or "0"), _suffix, _name)
|
||||||
if val ~= "_add" and activesvc and not activesvc[svc] then
|
if val ~= "_add" and activesvc and not activesvc[svc] then
|
||||||
html.print("<img style='vertical-align:middle' src='/dot.png' title='Service is not being advertised'>")
|
html.print("<img style='vertical-align:middle' src='/alert-circle-outline.png' title='Service is not being advertised'>")
|
||||||
end
|
end
|
||||||
html.print("</nobr></td></tr>")
|
html.print("</nobr></td></tr>")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue