security/q-feeds-connector: style sweep

This commit is contained in:
Franco Fichtner 2025-11-24 09:07:56 +01:00
parent 3897c7316c
commit 6f123ed553
3 changed files with 8 additions and 7 deletions

View file

@ -4,9 +4,10 @@ Plugin Changelog
================
1.3
* Events: added source and destination port
* Events: added quick Threat Lookup button to dest-ip and source-ip fields
* Widget: Added license info
* Widget: Added license info
1.2

View file

@ -63,8 +63,8 @@ POSSIBILITY OF SUCH DAMAGE.
if (!row.source) return '';
return `<div style="display: flex; justify-content: space-between; align-items: center;">
<span>${row.source}</span>
<button type="button" class="btn btn-xs btn-default threat-lookup-btn bootgrid-tooltip"
data-ip="${row.source}"
<button type="button" class="btn btn-xs btn-default threat-lookup-btn bootgrid-tooltip"
data-ip="${row.source}"
title="Lookup Source IP in Threat Intelligence Portal">
<span class="fa fa-fw fa-search"></span>
</button>
@ -74,8 +74,8 @@ POSSIBILITY OF SUCH DAMAGE.
if (!row.destination) return '';
return `<div style="display: flex; justify-content: space-between; align-items: center;">
<span>${row.destination}</span>
<button type="button" class="btn btn-xs btn-default threat-lookup-btn bootgrid-tooltip"
data-ip="${row.destination}"
<button type="button" class="btn btn-xs btn-default threat-lookup-btn bootgrid-tooltip"
data-ip="${row.destination}"
title="Lookup Destination IP in Threat Intelligence Portal">
<span class="fa fa-fw fa-search"></span>
</button>
@ -84,7 +84,7 @@ POSSIBILITY OF SUCH DAMAGE.
}
}
});
// Add click handler for threat lookup button
$(document).on('click', '.threat-lookup-btn', function() {
const ip = $(this).data('ip');

View file

@ -72,7 +72,7 @@ export default class QFeeds extends BaseTableWidget {
let rows = [];
let feeds = [];
let licenseInfoShown = false;
for (let feed of data.feeds) {
feeds.push(
`<b><i class="fa fa-fw fa-angle-right" aria-hidden="true"></i> ${feed.name}</b>`,