mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Fresh install fixes
This commit is contained in:
@@ -402,6 +402,8 @@ function filterDataByStatus(data, status) {
|
||||
return item.dev_NewDevice === 1;
|
||||
case 'down':
|
||||
return (item.dev_PresentLastScan === 0 && item.dev_AlertDeviceDown !== 0) || item.dev_PresentLastScan === 0;
|
||||
case 'down_only':
|
||||
return (item.dev_PresentLastScan === 0 && item.dev_AlertDeviceDown !== 0);
|
||||
case 'archived':
|
||||
return item.dev_Archived === 1;
|
||||
default:
|
||||
|
||||
@@ -255,6 +255,9 @@ if ($ENABLED_DARKMODE === True) {
|
||||
<li>
|
||||
<a href="devices.php#down" onclick="initializeDatatable('down')" > <?= lang("Device_Shortcut_DownAlerts");?> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="devices.php#down_only" onclick="initializeDatatable('down_only')" > <?= lang("Device_Shortcut_DownOnly");?> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="devices.php#archived" onclick="initializeDatatable('archived')" > <?= lang("Device_Shortcut_Archived");?> </a>
|
||||
</li>
|
||||
|
||||
@@ -189,6 +189,7 @@
|
||||
"Device_Shortcut_Connected": "Connected",
|
||||
"Device_Shortcut_Devices": "Devices",
|
||||
"Device_Shortcut_DownAlerts": "Down & Offline",
|
||||
"Device_Shortcut_DownOnly": "Down",
|
||||
"Device_Shortcut_Favorites": "Favorites",
|
||||
"Device_Shortcut_NewDevices": "New Devices",
|
||||
"Device_Shortcut_OnlineChart": "Device presence",
|
||||
|
||||
Reference in New Issue
Block a user