mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
security/q-feeds-connector: style sweep
This commit is contained in:
parent
3897c7316c
commit
6f123ed553
3 changed files with 8 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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>`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue