mirror of
https://github.com/ntop/ntopng.git
synced 2026-08-12 18:03:25 +00:00
Added confirm modal when try to open all external links (Issue #5618)
This commit is contained in:
parent
8e22dd451e
commit
0b0107ab34
26 changed files with 142 additions and 93 deletions
|
|
@ -360,7 +360,7 @@ end
|
|||
function printASN(asn, asname)
|
||||
asname = asname:gsub('"','')
|
||||
if(asn > 0) then
|
||||
return("<A HREF='http://as.robtex.com/as"..asn..".html' title='"..asname.."'>"..asname.."</A> <i class='fas fa-external-link-alt fa-lg'></i>")
|
||||
return("<A title='http://as.robtex.com/as"..asn..".html'>"..asname.." <i class='fas fa-external-link-alt fa-lg'></i></A>")
|
||||
else
|
||||
return(asname)
|
||||
end
|
||||
|
|
@ -2999,7 +2999,7 @@ end
|
|||
-- ###############################################
|
||||
|
||||
function formatWebSite(site)
|
||||
return("<A target=\"_blank\" HREF=\"http://"..site.."\">"..site.."</A> <i class=\"fas fa-external-link-alt\"></i></th>")
|
||||
return("<A target=\"_blank\" title=\"http://"..site.."\">"..site.." <i class=\"fas fa-external-link-alt\"></i></A></th>")
|
||||
end
|
||||
|
||||
-- ###############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue