- Using constants for default values
- Remove unnecessary variable
- Replace `piholeStatusAPI()` with a call to FTL API
- Transfer `api.php?status` code from `api.php` to `api_FTL.php`
- Change `piholeStatus()` to use FTL info (no need to use `pihole`).
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
- add Datatables extension Select (CSS and js);
- add Datatables extension Buttons (CSS and js);
- allow selection of multiple warnings;
- new button to select all;
- new button to delete all selected warnings;
- add icons for the buttons;
- hide buttons if all messages were deleted;
- update CSS themes to format the new items;
- Fix: update icon count after warning deletion;
- Fix: remove triangle icon after delete last warning;
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
Running `pihole -up` in the Docker image release is not allowed, and
will receive this prompt msg: `Function not supported in Docker images`,
should display a different prompt message for Docker image release.
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
* Use piholeStatus() in header.php
Signed-off-by: Christian König <ckoenig@posteo.de>
* Remove check for null
Signed-off-by: Christian König <ckoenig@posteo.de>
* Explicit set templimit if no tempsensor output was found
Signed-off-by: Christian König <ckoenig@posteo.de>
* Only show Temp info if tempsensor data is available
Signed-off-by: Christian König <ckoenig@posteo.de>
* Move block to the right place
Signed-off-by: Christian König <ckoenig@posteo.de>
* Inlcude port in web status
Signed-off-by: Christian König <ckoenig@posteo.de>
* Single line for DNS status
Signed-off-by: Christian König <ckoenig@posteo.de>
* Fix enable/disable status
Signed-off-by: Christian König <ckoenig@posteo.de>
* Give the user-panel a bit more space
Signed-off-by: Christian König <ckoenig@posteo.de>
* Address reviewer's comment
Signed-off-by: Christian König <ckoenig@posteo.de>
* Fix temp sensor
Signed-off-by: Christian König <ckoenig@posteo.de>
* Add again
Signed-off-by: Christian König <ckoenig@posteo.de>
* Simplify CPU temp code
Signed-off-by: Christian König <ckoenig@posteo.de>
* Use intval() and resize the logo
Signed-off-by: Christian König <ckoenig@posteo.de>
* Do not substitute temperature if FTL is offline
Signed-off-by: Christian König <ckoenig@posteo.de>
* Apply suggestions from code review
Signed-off-by: DL6ER <dl6er@dl6er.de>
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com>
* Show ignored itens when adding new adlists
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
* Show ignored itens when adding new adlists (new messages)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>