Commit Graph

255 Commits

Author SHA1 Message Date
RD WebDesign
2324bf5078 Removing the triangle icon
The message count was moved to the "hamburger" menu icon.
Using more discreet color for the circle.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-06 18:49:22 -03:00
RD WebDesign
f90ae05bd0 Sidebar warning count
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-25 19:25:42 -03:00
RD WebDesign
b7a5bfc8bc Fixing typo
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-22 14:21:49 -03:00
RD WebDesign
44ab80c65f Minor visual changes to the menu
- changed some icons;
- 2 new custom icons;
- Rename "Query List" to "Search Adlists"

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-22 00:23:02 -03:00
Christian König
acd70b378f I was blind but now I see!
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 18:35:01 +01:00
Christian König
6ab9ef0ef3 Source utils.js in header.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 11:11:11 +01:00
RD WebDesign
c0fcd7d565 New icon for Donate menu item
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-03 19:35:22 -03:00
yubiuser
a329c4f58e Merge pull request #2133 from pi-hole/deleteAll_warnings
Adds the ability to delete multiple warnings at once
2022-03-02 06:46:26 +01:00
Christian König
4969131b4c Change wording of status when blocking is disabled
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-01 13:18:21 +01:00
RD WebDesign
6288112044 Allow bulk deletion of warnings
- 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>
2022-02-26 19:59:13 -03:00
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
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
rdwebdesign
b4539f1c24 Adjusting status panel
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-31 13:01:33 -03: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
DL6ER
605af66d02 Improve look of the main menu
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-24 14:19:52 +01: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
rdwebdesign
75251c173c Added new theme LCARS.
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-10-24 01:46:44 -03:00
a1346054
26f0203137 Trim excess whitespace
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-15 21:23:01 +00:00
Kenneth Chew
2f3f4e6056 Adapt theme-color and background-color for different themes
Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
2021-06-19 01:02:53 -04:00
Michael Howell
5624834175 Switch from fontawesome webfonts to SVG + JS
https://discourse.pi-hole.net/t/use-svg-for-icons-instead-of-font/40166

Signed-off-by: Michael Howell <michael@notriddle.com>
2020-11-05 16:49:22 -07:00
Dan Schaper
aa42450ea9 Merge pull request #1489 from pi-hole/XhmikosR-patch-1
Fix HTML validation errors in header.php
2020-10-14 04:13:59 -07:00
XhmikosR
dbff9360f2 Update scripts/pi-hole/php/header.php
Co-authored-by: cleroux <leroux.cedric@gmail.com>
2020-10-14 13:22:58 +03:00
Tony Jeffree
b7244ad56a Merge branch 'devel' of https://github.com/pi-hole/AdminLTE into devel
Signed-off-by: Tony Jeffree <tjeffree@gmail.com>
2020-09-14 11:11:27 +01:00
DL6ER
0c102fc1d3 Merge branch 'devel' into new/mac_clients 2020-08-19 22:11:43 +02:00
Tony Jeffree
d47dee7937 Use last modified time
Signed-off-by: Tony Jeffree <tjeffree@gmail.com>
2020-08-17 08:30:00 +01:00
Tony
0a4ebe14e3 Add cache busting to all custom scripts and common css
Signed-off-by: Tony Jeffree <tjeffree@gmail.com>
2020-08-17 08:30:00 +01:00
Tony
2495ffc313 Add cache busting variable to Pi-hole js/css
Signed-off-by: Tony <tjeffree@gmail.com>
2020-08-17 08:28:28 +01:00
DL6ER
1b129bcad0 Merge branch 'release/v5.2' into new/mac_clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-07-30 21:56:21 +02:00
yubiuser
1fce1f6fa0 Fix sidebar animation angle for Local DNS Records (#1507)
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-07-18 06:51:49 +03:00
yubiuser
018d047de7 Remove duplicated sidebar entry for Local DNS Records
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-07-16 23:39:53 +02:00
XhmikosR
085a0e2e99 Fix HTML validation errors in header.php
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-07-16 08:11:53 +03:00
marank
b597a0fcbb Merge branch 'devel' into devel 2020-06-21 12:20:33 +02:00
XhmikosR
1bef0bb17b Tweak CSP (#1445)
Switch to `default-src` `'none'` and specify the directives we were missing that were being inherited.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-07 14:20:45 +03:00
DL6ER
a901489a96 Merge branch 'devel' into new/mac_clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-05 22:24:17 +02:00
XhmikosR
9aa11ec6aa Fix typo "Long term" -> "Long-term"
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-04 19:01:10 +03:00
XhmikosR
a9cee0039a Improve CSP config (#1377)
* Remove `'unsafe-eval'`; this was needed in the past for Chart.js.
* Remove `https://api.github.com` since we don't make any requests to this domain client-side
* Specify more directives which are not inherited by `default-src`

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-06-04 17:40:39 +03:00
DL6ER
c6abbac3e1 Unlike the standard PHP engine, others might actually be case-sensitive. (#1428)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-04 15:13:15 +03:00
DL6ER
a4a678b584 Revert "Add per-browser boxed layout setting"
This reverts commit c2683fb87bc50369753b279e179e7b5d0d1e60a9.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:20:51 +01:00
DL6ER
51dc473278 Remove saving backend for settings moved into local storage.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:20:51 +01:00
DL6ER
2e0a261c47 No not use per-browser settings for the theme to avoid flashing pages on navigation.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:20:51 +01:00
DL6ER
3c793581b7 Add per-browser temp unit selection
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:19:00 +01:00
DL6ER
6e52ee4307 Add per-browser theme selection
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:18:36 +01:00
DL6ER
7ff5764f95 Add per-browser boxed layout setting
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:17:28 +01:00
DL6ER
0e4d1e4e7f Implement per-browser checkbox and radio button styling using icheck-material.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:17:28 +01:00
Chris Coffin
4cca206810 Change "Permanently" toggle to "Indefinitely" (#1416)
* Changing "Permanently" toggle to "Indefinitely"

Signed-off-by: Chris Coffin <me@chriscoffin.org>

* Updating ID name in footer.js

Signed-off-by: Chris Coffin <me@chriscoffin.org>

Co-authored-by: Adam Warner <me@adamwarner.co.uk>
2020-06-01 21:47:33 +03:00
XhmikosR
e9fc5a20ca Revert "header: Move license header at the top"
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-31 15:56:10 +03:00
Adam Warner
89ce5d139b Merge pull request #1405 from pi-hole/fix-sidebar
Fix sidebar docs link
2020-05-30 15:36:18 +01:00
Adam Warner
be54d1563d Merge pull request #1402 from pi-hole/XhmikosR-patch-3
Move animate.min.css style in the pages that use it
2020-05-30 15:35:09 +01:00
XhmikosR
ee40ea3d36 Fix sidebar docs link
Also work around us using Font Awesome 5.x with AdminLTE 2.x.

We should fix the FA classes later.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-30 10:16:09 +03:00