Commit Graph

725 Commits

Author SHA1 Message Date
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
3124e94d5a Fix login page check box
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:17:28 +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
DL6ER
580149e91f Merge pull request #1292 from pi-hole/tweak/group_name_separators
Allow spaces in groups when wrapping names in "..."
2020-06-02 13:43:49 +02:00
DL6ER
d518a1d43d Merge pull request #1417 from pi-hole/include-hostname-in-backup
Include hostname in backup filename
2020-06-02 13:40:13 +02:00
Adam Warner
ee89ab3131 Include hostname in backup filename. Will add nothing if no hostname detected.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-06-01 20:49:31 +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
XhmikosR
4e5cc31134 Move animate.min.css style in the pages that use it
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-30 08:28:45 +03:00
XhmikosR
876e7d8bd9 Use minified daterangepicker builds.
The official distribution doesn't include minified files, so just minify the files ourselves.

It's in maintenance mode anyway.

Commands for future reference:

* cleancss --compatibility ie9 -O1 specialComments:0 -o daterangepicker.min.css daterangepicker.css
* terser daterangepicker.js --compress typeofs=false --mangle --source-map url=daterangepicker.min.js.map -o daterangepicker.min.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-30 08:26:44 +03:00
Adam Warner
a284f71bd7 Merge pull request #1389 from pi-hole/js-move
Move JS files where they are used.
2020-05-29 23:39:51 +01:00
Adam Warner
7700d9b44a Merge pull request #1387 from pi-hole/new/api_add_sub_get_lists
(Re-)Add API endpoints for list manipulations
2020-05-29 23:30:40 +01:00
DL6ER
7abeb2b434 Merge pull request #1404 from pi-hole/been-a-while-since-we-touched-this
remove outdated local help page, link to docs instead
2020-05-29 23:15:58 +02:00
Adam Warner
0d7040921e Merge pull request #1361 from pi-hole:rm-jquery-ui
Remove the unused jQuery UI.
2020-05-29 21:42:16 +01:00
Adam Warner
1390a6dd5a remove outdated local help page, link to docs instead
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-29 21:41:11 +01:00
DL6ER
e213dce308 Merge pull request #1394 from pi-hole/ren-fa-folder
Remove version number from the Font Awesome folder.
2020-05-29 22:10:25 +02:00
XhmikosR
2b93d569dd Move the gethostname() call to a variable.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 09:49:51 +03:00
XhmikosR
f1eb744ff5 Guard gethostname() calls
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 09:24:07 +03:00
XhmikosR
95219703a1 Remove the unused jQuery UI.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 08:31:06 +03:00
XhmikosR
469d491260 Move JS files where they are used.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:43:13 +03:00
XhmikosR
f5d68ffd88 Remove version number from the Font Awesome folder.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-27 09:22:37 +03:00
DL6ER
cce92ccde4 Remove obsolete add.php script, use groups.php everywhere instead.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-26 23:07:20 +02:00
Adam Warner
c2a634f80f Allow for ; in adlist urls
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-26 20:58:18 +01:00
DL6ER
2fac217943 Re-implement api.php?list actions for add, sub and get.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-26 18:40:33 +02:00
DL6ER
a4f9068b32 Merge pull request #1368 from pi-hole/sidebar-toggle
Use `fa5` class on the sidebar toggle
2020-05-25 20:36:19 +02:00
XhmikosR
36eb877a31 Tweak footer.php
* add a new row for the version info
* add links to the current tags
* make the updates URLs go to the latest GitHub release
* color the heart icon red
* remove "Version" from links; the tags are prefixed with "v"

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-25 21:22:18 +03:00
DL6ER
3bfef7b8a8 Merge pull request #1326 from pi-hole/tweak/notAnError
Remove an error log output that was presumably leftover from debugging
2020-05-25 20:00:40 +02:00
XhmikosR
30776108ee Use fa5 class on the sidebar toggle
This was added in AdminLTE v2.4.13.

Also, remove unneeded related custom CSS while at it.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 21:12:15 +03:00
XhmikosR
b20b6797c1 HTML hidden attribute does not need a value.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-23 19:03:02 +03:00
XhmikosR
e70e108cce Use .hidden/.show for showing/hiding the reset buttons
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-23 13:04:13 +03:00
Adam Warner
34f6c753c7 Merge pull request #1350 from pi-hole/cookies-delete
Properly delete the `persistentlogin` cookie
2020-05-23 08:51:31 +01:00
Adam Warner
71547422ec Merge pull request #1347 from pi-hole/improve-user-info-markup
Improve user info markup
2020-05-23 08:49:36 +01:00
Adam Warner
8c3ad9a1b9 Merge pull request #1335 from pi-hole/datatables
Load the built DataTables bundle
2020-05-23 08:08:17 +01:00
Adam Warner
ef545a2f89 Merge pull request #1334 from pi-hole/mv-files
Move non-Bootstrap files outside of the bootstrap folder
2020-05-23 08:04:46 +01:00
XhmikosR
3dc8d9c5e3 Properly delete the persistentlogin cookie
The previous solution did not delete the cookie.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-22 16:23:46 +03:00
XhmikosR
442201d613 Improve user info markup
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-22 11:21:43 +03:00
Adam Warner
7b2d396295 require auth for the customDNS page
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-20 08:26:21 +01:00
XhmikosR
9d9cd8b7e6 Load the built DataTables bundle file.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 21:58:09 +03:00
XhmikosR
7ad275e1fd Move non-Bootstrap files outside of the bootstrap folder
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 16:31:25 +03:00
Adam Warner
dd599ad08d Merge pull request #1323 from pi-hole/XhmikosR-patch-7
header.php: minor cleanup
2020-05-18 19:12:50 +01:00
Adam Warner
89baa0b532 Merge pull request #1320 from pi-hole/XhmikosR-patch-2
header.php: group stylesheets and scripts
2020-05-18 19:10:18 +01:00
Adam Warner
84dd58e03e Merge pull request #1319 from pi-hole/XhmikosR-patch-4
Use `text-uppercase` in sidebar
2020-05-18 19:08:26 +01:00
Adam Warner
dd6b47e835 Merge pull request #1309 from pi-hole/XhmikosR-patch-3
Improve navbar's hostname markup
2020-05-18 19:07:38 +01:00
Adam Warner
e3cd70dcb3 While I'm in here.. prevent another error being constantly output to the error log
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-18 18:09:23 +01:00