webapp: minor apps list ui changes.

This commit is contained in:
Shreyas Zare
2021-09-26 17:37:51 +05:30
parent 8ad19666e5
commit 3638145cfb

View File

@@ -54,13 +54,16 @@ function refreshApps() {
}
if (apps[i].dnsApps[j].isRequestController)
labels += "<span class=\"label label-info\">Request Controller</span>";
labels += "<span class=\"label label-info\">Drop Request</span>";
if (apps[i].dnsApps[j].isAuthoritativeRequestHandler)
labels += "<span class=\"label label-info\">Authoritative</span>";
if (apps[i].dnsApps[j].isQueryLogger)
labels += "<span class=\"label label-info\">Query Logger</span>";
labels += "<span class=\"label label-info\">Query Logs</span>";
if (labels == "")
labels = "<span class=\"label label-info\">Generic</span>";
if (description == null)
description = htmlEncode(apps[i].dnsApps[j].description).replace(/\n/g, "<br />");