mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
devMac in wf
This commit is contained in:
@@ -875,6 +875,11 @@ height: 50px;
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#notifications .notification-buttons{
|
||||||
|
margin: 10px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
#notificationData textarea{
|
#notificationData textarea{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -848,7 +848,7 @@ function initializeDatatable (status) {
|
|||||||
{targets: [mapIndx(26)],
|
{targets: [mapIndx(26)],
|
||||||
'createdCell': function (td, cellData, rowData, row, col) {
|
'createdCell': function (td, cellData, rowData, row, col) {
|
||||||
if (!emptyArr.includes(cellData)){
|
if (!emptyArr.includes(cellData)){
|
||||||
$(td).html (`<span>${renderCustomProps(cellData, rowData[mapIndx(11)])}<span>`);
|
$(td).html (`<span>${renderCustomProps(cellData, rowData[mapIndx(11)])}</span>`);
|
||||||
} else {
|
} else {
|
||||||
$(td).html ('');
|
$(td).html ('');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1534,7 +1534,7 @@ const handleFailure = (callName, callback) => {
|
|||||||
msg = `AJAX call ${callName} failed`
|
msg = `AJAX call ${callName} failed`
|
||||||
console.error(msg);
|
console.error(msg);
|
||||||
// Implement retry logic here if needed
|
// Implement retry logic here if needed
|
||||||
write_notification(msg, 'interrupt')
|
// write_notification(msg, 'interrupt')
|
||||||
};
|
};
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ require 'php/templates/header.php';
|
|||||||
|
|
||||||
<div id="notifications" class="content-wrapper">
|
<div id="notifications" class="content-wrapper">
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="box box-gray col-xs-12" >
|
<div class="notification-box box box-gray col-xs-12" >
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<h3 class="box-title text-aqua"><?= lang('Notifications_All');?></h3>
|
<h3 class="box-title text-aqua"><?= lang('Notifications_All');?></h3>
|
||||||
</div>
|
</div>
|
||||||
@@ -33,9 +33,10 @@ require 'php/templates/header.php';
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class="notification-buttons">
|
||||||
<button id="clearNotificationsBtn" class="btn btn-danger"><?= lang("Gen_DeleteAll");?></button>
|
<button id="clearNotificationsBtn" class="btn btn-danger"><?= lang("Gen_DeleteAll");?></button>
|
||||||
<button id="notificationsMarkAllRead" class="btn btn-default"><?= lang("Notifications_Mark_All_Read");?></button>
|
<button id="notificationsMarkAllRead" class="btn btn-default"><?= lang("Notifications_Mark_All_Read");?></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
let workflows = [];
|
let workflows = [];
|
||||||
|
|
||||||
let fieldOptions = [
|
let fieldOptions = [
|
||||||
"devName", "devOwner", "devType", "devVendor", "devFavorite",
|
"devName", "devMac", "devOwner", "devType", "devVendor", "devFavorite",
|
||||||
"devGroup", "devComments", "devFirstConnection", "devLastConnection",
|
"devGroup", "devComments", "devFirstConnection", "devLastConnection",
|
||||||
"devLastIP", "devStaticIP", "devScan", "devLogEvents", "devAlertEvents",
|
"devLastIP", "devStaticIP", "devScan", "devLogEvents", "devAlertEvents",
|
||||||
"devAlertDown", "devSkipRepeated", "devLastNotification", "devPresentLastScan",
|
"devAlertDown", "devSkipRepeated", "devLastNotification", "devPresentLastScan",
|
||||||
|
|||||||
Reference in New Issue
Block a user