0
0

footer, subheader and github button #10

Merged
thetek42 merged 14 commits from dev into main 2021-05-07 17:41:30 +02:00
Showing only changes of commit 49fd26093c - Show all commits

View File

@ -61,6 +61,7 @@ function dnswatch_search() {
if (response['data']['found']) { // only if reference confirms
table += '<table><tr></tr>\n'; // spacer
//// search rows
let causes = [];
response['data']['search'].forEach(i => {
table += gen_tablerow({
@ -71,9 +72,11 @@ function dnswatch_search() {
dns_address: i['address'],
desc_color: i['cause'] !== null ? 'blocked': '',
desc_text: i['cause'] == 'cuii' ? 'reference' : '',
show_help: i['cause'] !== null
show_help: i['cause'] !== null && !causes.includes(i['cause'])
})
if (i['cause'] !== null) causes.push(i['cause'])
});
}
table += '</table>';