## Bulk editor

To access the bulk editor, you need to navigate to the devices.php page and click on the button with the pencil next to the table heading

![Open bulkeditor][open_bulkeditor]

A new page will now open showing all detected hosts in alphabetical order with a checkbox. The respective checkbox can be set via the host name as well as via the checkbox itself. Only selected hosts will apply the changes made.

![Bulkeditor list][bulkeditor_list]

The background color of the checkbox informs whether it is an archived or new device (gray or yellow). The color of the frame indicates the online or offline (green or gray) status. Whether notifications are made on all event, on down or on both is indicated by the font color (blue, red, gradient).

![Show on Presence Page][show_PresencePage]

In the case shown here, the hostname is underlined in red. This means that this host is not displayed on the presence page. All hosts are displayed by default.

To be able to edit a value, the input field must be activated via the respective checkbox (red circle) at the beginning of the line. If the checkbox is deactivated again, the input field is cleared.

![Bulkeditor enable field][Enable_field]

If, on the other hand, you want to disable notifications for the selected hosts, you need to check the left checkbox of the notifications you want disabled, and leave the right checkbox empty.

<img width="395" height="418" alt="image" src="https://github.com/user-attachments/assets/bdd1f062-b0dc-4805-a694-9330c6b647da" />

With the Save button, the changes are saved in the database without further questions. A summary of the changed devices with the changed values is displayed. With the "DELETE DEVICES" button all selected devices are deleted from the database.

To simplify selection when there are a large number of hosts, various filter buttons and a search field are available. Devices that were selected before using a filter or search remain selected.

![Filter Buttons][Filter_Buttons]

[Back](https://github.com/leiweibau/Pi.Alert#front)

[open_bulkeditor]:    https://raw.githubusercontent.com/leiweibau/Pi.Alert/assets/bulkeditor_open.png           "Open bulkeditor"
[bulkeditor_list]:    https://raw.githubusercontent.com/leiweibau/Pi.Alert/assets/bulkeditor_list.png           "Bulkeditor list"
[Enable_field]:       https://raw.githubusercontent.com/leiweibau/Pi.Alert/assets/bulkeditor_enable_field.png   "Bulkeditor enable field"
[show_PresencePage]:  https://raw.githubusercontent.com/leiweibau/Pi.Alert/assets/bulkeditor_001.png            "Show on Presence Page"
[Filter_Buttons]:  https://raw.githubusercontent.com/leiweibau/Pi.Alert/assets/bulkeditor_002.png               "Filter Buttons"
