Commit Graph

68 Commits

Author SHA1 Message Date
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
0fac8a5a0b Merge pull request #1380 from pi-hole/update-daterangepicker
Update daterangepicker and add minified build
2020-05-30 15:34:35 +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
11f621d574 Make daterangepicker use the same font as everywhere else.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-30 08:26:44 +03:00
XhmikosR
a25cb8a838 Reduce CSS duplication a bit
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:39:50 +03:00
XhmikosR
d48a57a2cd Update pi-hole.css
* format code
* use `background-color` instead of the `background` shorthand
* use the `animation` shorthand
* remove unneeded CSS prefixes

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 13:14:45 +03:00
DL6ER
8cc24a9158 Merge pull request #1379 from pi-hole/XhmikosR-patch-3
pi-hole.css: fix glow to use the current color
2020-05-25 20:41:17 +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
XhmikosR
7b084b87d4 pi-hole.css: fix glow to use the current color
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-25 16:12:29 +03: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
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
XhmikosR
442201d613 Improve user info markup
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-22 11:21:43 +03:00
XhmikosR
90055f8cd1 Add missing d-none class.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 16:10:41 +03:00
DL6ER
f591280d58 Review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-17 16:07:22 +03:00
DL6ER
b0f54f5451 Add new Pi-hole diagnostics page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-17 16:07:21 +03:00
XhmikosR
13335f7ae8 Settings: fix IPv6 overflowing on mobile
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 11:03:18 +03:00
DL6ER
b7d74ff772 Reinstall loading overlay on long-term graphs page (shown only if data has been requested).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER
064a0aae9c Use the iCheck library for input box styling.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER
8468f129eb Dark mode optimizations for Query Log and Long-term graphics
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:55 +02:00
DL6ER
a08a85994e Initial (incomplete) support for themes. Currently, the default is the new Pi-hole dark theme.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:52 +02:00
XhmikosR
bf5e60bae3 Fix bg image 2020-05-12 18:37:05 +03:00
XhmikosR
8db0957a28 Minor tweaks
* use the background-color property instead of the background shorthand
* add multiple classes with one `addClass` call
* rename `underline` to `text-underline`
* use the CSS class `pointer` instead of adding CSS via JS
* change `border-color: transparent` to `border: 0` in the navbar right dropdown image
* add image dimensions in the dropdown donate image
* remove the obsolete and unneeded `center` element from network.php
* remove commented out PHP code from header.php
* fix wrong `form-control` class used in buttons

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-11 21:49:48 +03:00
DL6ER
73ee91a024 Merge branch 'master' into master-to-development-v5.0
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-10 22:00:07 +02:00
DL6ER
2ead771a86 Allow too long legend lines to break
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-28 18:41:14 +00:00
Th3M3
fadc6073db tweak chartjs customtooltips...
...and disable 'maintainAspectRatio' for the clients chart to avoid a squeezed display on small screens.

Signed-off-by: Th3M3 <the_me@outlook.de>
2020-04-12 15:25:29 +02:00
DL6ER
a64810e00e Merge branch 'release/v5.0' into devel
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-08 12:25:18 +02:00
Th3M3
fd983a2b68 improve multiselect
Signed-off-by: Th3M3 <the_me@outlook.de>
2020-04-05 14:56:28 +02:00
XhmikosR
b2bc0cb211 Streamline button classes and display.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 17:44:28 +02:00
Adam Warner
596f5af7fa Merge branch 'release/v5.0' into fix/group_assignment_allow_overflow 2020-02-16 18:51:29 +00:00
Adam Warner
211bcc999f Whejn dropdown is shown, move it outside of the datatable container (at the same absolute position)
When it is closed, put it back where it came from

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-02-16 17:33:52 +00:00
Adam Warner
b5e77648ad drop up instead of down if there are less than 200 px to the bottom of the screen Signed-off-by: Adam Warner <me@adamwarner.co.uk> 2020-02-16 15:59:33 +00:00
Adam Warner
9248b1eaad Make dropdown selection boxes scrollable
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-02-16 13:31:34 +00:00
DL6ER
32815cb7f0 Merge branch 'release/v5.0' into new/unify_domain_pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-16 09:13:45 +01:00
DL6ER
ed24f5c41a Enable visibility of overflow to table-responsive to ensure the group assignment dropdown doesn't get hidden when opened.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-16 09:07:22 +01:00
DL6ER
ef57abdbdd Enhance wrapping for long regex lines on the domains list pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-16 07:59:07 +01:00
DL6ER
09c7ba99fa Underline clickable regex links on Query Log page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-15 12:25:20 +01:00
DL6ER
a97f52ad76 Add possibility to highlight line on the Groups Domain Management page with specifying the domainid as GET parameter.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-01-30 21:03:25 +00:00
XhmikosR
d017c57f84 Fix buttons appearance
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-17 17:50:50 +02:00
XhmikosR
7a2510ae28 pi-hole.css: add missing CSS prefixes
Since the original theme supports older browsers, better be consistent here

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-10 09:08:44 +02:00
XhmikosR
d65b5be5e2 A few CSS tweaks.
Add utilities classes and fix a few CSS issues.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-09 21:36:58 +02:00
XhmikosR
ee8cbe03fb Use .pull-left instead of the custom .float-left
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-09 16:51:40 +02:00
Mcat12
7b796f2ad8 Fix the sidebar toggle from overflowing when hovered over
Thanks to @Th3M3 for finding the issue and solution.

Fixes #945

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-26 12:27:00 -07:00
DL6ER
506644b671 Rewrite web interface to allow interaction with database-based lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-04-25 15:02:39 +02:00
DL6ER
e44c635807 Properly align Paypal icon. Unfortunately, fas and fab use different alignments so we need to install a special CSS rule here.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-01-07 18:59:29 +01:00
DL6ER
d07eafc964 Review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-01-07 18:56:56 +01:00
DL6ER
78b4397a66 Update FontAwesome from version 4.5.0 to 5.6.3 to have a network icon for the new network details page. Added a navigation bar item for the new page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-12-28 19:43:27 +01:00
Mark Drobnak
523b4c390d Merge pull request #522 from Th3M3/clean_up_style-rules
Clean up style rules
2018-05-29 18:16:31 -04:00
Adam Warner
b09de8e615 Fix merge conflict
Signed-off-by: Adam Warner <adamw@rner.email>
2018-04-14 00:43:27 +01:00
DL6ER
8b2e7b89ac Add separate legends for pie charts on the dashboard. Fixes #635
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-04-02 14:36:21 +02:00