add svc alert icon (#461)

This commit is contained in:
Steve AB7PA 2022-07-31 12:12:17 -07:00 committed by GitHub
parent 665fa4924f
commit 7b768e6ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -1209,7 +1209,7 @@ function print_services()
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)
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
html.print("</nobr></td></tr>")