Commit Graph

1790 Commits

Author SHA1 Message Date
yubiuser
9a5f62aba7 Use piholeStatus() in header.php (#2062)
* 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>
2022-01-08 21:01:57 +01:00
RD WebDesign
ab6b7ae326 Change pihole status in api_FTL.php (#2059)
Using "pihole status web" info

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-08 20:21:43 +01:00
yubiuser
33755f1775 Rework the temp info in the status panel (#2054)
* 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>
2022-01-08 06:39:52 +01:00
RD WebDesign
031f83980e Fix CPU info on status panel (#2049)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-05 22:45:40 +01:00
DL6ER
eadd6c5c20 Merge pull request #2042 from Moonlight63/tweak/DHCP-datatables
Tweak DHCP datatables
2022-01-05 19:03:45 +01:00
DL6ER
8f287941ae Merge pull request #2039 from Iksas/query-log-rename
Prevent ad blockers from blocking query log UI elements
2022-01-02 12:23:16 +01:00
Dalen
f850264ab4 Fixed a typo and split DHCP page into different boxes.
Signed-off-by: Dalen <dalencattmlsp@gmail.com>
2022-01-01 14:54:06 -08:00
Dalen
9979b73371 Update DataTables on DHCP page to be consistent with the rest of Pi-Hole.
Signed-off-by: Dalen <dalencattmlsp@gmail.com>
2021-12-31 19:52:18 -08:00
rdwebdesign
b4539f1c24 Adjusting status panel
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-31 13:01:33 -03:00
Iksas
1c23b78744 rename IDs of query summary elements
Signed-off-by: Iksas <Iksas@users.noreply.github.com>
2021-12-29 21:49:02 +01:00
yubiuser
64a3675326 Include FTL's DNS port in web status and give the temperature its own line (#2031)
* 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>
2021-12-29 20:52:32 +01:00
rdwebdesign
4c8f869e7b Fixing PHP warnings in qrcode.php
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-28 02:13:50 -03:00
DL6ER
96be130325 Also use Intl.NumberFormat.format() for long-term pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-26 18:25:18 +01:00
DL6ER
b7c0fcb131 Ensure number formatting is taking place in browser-scope to use client- instead of browser-based number localization
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-26 11:32:13 +01:00
DL6ER
605af66d02 Improve look of the main menu
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-24 14:19:52 +01:00
RD WebDesign
d060a3b5c9 Update qrcode.php and use SVG to generate the code (#2022)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-24 11:38:58 +01:00
DL6ER
5eb2e2392e Add link to Pi-hole docs when showing dnsmasq warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-23 11:36:09 +01:00
DL6ER
fc1b2c56ab Merge branch 'devel' into feat/avoid-window-open 2021-12-21 21:33:44 +01:00
DL6ER
d7e750bda0 Improve interface settings (#2011)
* Change wording in the "Interface Listening Behavior" box (renamed to simply "Interface settings") to address issue #2009

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Clarify interface listening behavior. Add fourth (new) option it actually bind to an interface.

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Improve .no-danger-area and .danger-area CSS

Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-20 21:38:00 +01:00
RD WebDesign
7927ac1815 Improving code readability for lists (index.js and db_lists.js) (#1994)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-18 13:15:24 +01:00
RD WebDesign
b94884ae17 Show ignored items when adding new adlists (#1997)
* 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>
2021-12-17 19:56:49 +01:00
Christian König
a1904e2dc8 Change default theme to auto light/dark theme
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-12-16 12:19:22 +01:00
Paul Mannarino
1c12e9719c Ignore theme color for qr code
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-13 19:08:29 -05:00
Paul Mannarino
2a776f9dca Create modal for API token
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-09 12:10:57 -05:00
Paul Mannarino
bae84d953d Replace mousedown with click event
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 19:31:06 -05:00
Paul Mannarino
59ca7971c2 Resolve code quality issues
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 19:20:43 -05:00
Paul Mannarino
63b27dc9d1 Run prettier
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 18:47:03 -05:00
Paul Mannarino
a8743115fd Merge remote-tracking branch 'upstream/devel' into feat/avoid-window-open
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 18:31:43 -05:00
Paul Mannarino
f67780bb07 Remove backticks
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 18:26:34 -05:00
Paul Mannarino
fc30e45ccd Re-add comment
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 18:20:08 -05:00
Paul Mannarino
aa3c8aef5f reduce functions
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 18:08:24 -05:00
Christian König
4ee02c73e3 Number of domains on adlist is total number not valid number
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-12-02 23:16:31 +01:00
Paul Mannarino
35396a6cb5 Clean up
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 13:31:14 -05:00
Paul Mannarino
05d56d12d5 Update pie chart slice toggle
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 13:12:08 -05:00
rdwebdesign
3d2a6f8fa9 Applying the same CSS colors used on the dashboard to db_grahps.php
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-02 04:22:49 -03:00
Paul Mannarino
cb6b3480a5 Avoid window.open
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-11-30 23:13:53 -05:00
DL6ER
00acbff2de Add bounce animation to Pi-hole diagnosis warning triangle (#1990)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-11-30 12:58:32 +01:00
DL6ER
4a470ce47e Add message types LOAD, SHMEM and DISK to Pi-hole diagnosis system (#1989)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-11-30 12:13:04 +01:00
Christian König
0c852a6880 Fix prettier
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-21 13:23:54 +01:00
Christian König
cc58104538 Fix DHCP tables button column
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-21 13:16:26 +01:00
DL6ER
21cba361e0 Skip DNS server processing if the requested type is not available for this server (#1970)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-11-21 09:25:45 +01:00
RD WebDesign
c3e879a9ce Swap colors for top lists bars. (#1981)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-21 08:47:18 +01:00
DL6ER
686a0f40b0 Merge pull request #1977 from pi-hole/tweak/db_graph
Use theme gridColor and ticksColor in long time graph
2021-11-21 07:15:40 +01:00
DL6ER
18d15881ea Merge pull request #1943 from pi-hole/remove/API_Privacy_leftover
Remove traces of leftover API_PRIVACY_MODE
2021-11-20 21:13:59 +01:00
Christian König
e3709571c3 Fix zeroLineColor in all graphs
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-19 19:44:17 +01:00
Christian König
23828df3db Use theme gridColor and ticksColor in long time graph
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-19 19:35:01 +01:00
RD WebDesign
753d1c9c86 Improving the display of some graphics (#1976)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-17 20:54:41 +01:00
Christian König
78aace3403 Revert "Remove duplicated code as it is already part of utils.stateLoadCallback"
This reverts commit 395b1b6c1f.

Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-14 22:38:18 +01:00
DL6ER
ecbaaca000 Add pretty-printing for message type DNSMASQ_WARN (#1973)
* Add pretty-printing for message type DNSMASQ_WARN

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Fix prettier

Signed-off-by: Christian König <ckoenig@posteo.de>

Co-authored-by: Christian König <ckoenig@posteo.de>
2021-11-13 13:16:46 +01:00
rdwebdesign
1cc80940bc Parentheses removed
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-12 03:17:14 -03:00