mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
Firewall/live log, replace color styles with classes, for https://github.com/opnsense/plugins/issues/912
This commit is contained in:
parent
f2b30558ac
commit
fe21186e05
@ -89,9 +89,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
});
|
||||
|
||||
if (record['action'] == 'pass') {
|
||||
log_tr.css('background', 'rgba(5, 142, 73, 0.3)');
|
||||
log_tr.addClass('fw_pass');
|
||||
} else if (record['action'] == 'block') {
|
||||
log_tr.css('background', 'rgba(235, 9, 9, 0.3)');
|
||||
log_tr.addClass('fw_block');
|
||||
}
|
||||
$("#grid-log > tbody > tr:first").before(log_tr);
|
||||
}
|
||||
@ -238,6 +238,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
.act_info {
|
||||
cursor: pointer;
|
||||
}
|
||||
.fw_pass {
|
||||
background: rgba(5, 142, 73, 0.3);
|
||||
}
|
||||
.fw_block {
|
||||
background: rgba(235, 9, 9, 0.3);
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="content-box">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user