Commit Graph
22 Commits
Author SHA1 Message Date
RD WebDesignandAdam Warner 61f6c982b7 Use the new AdminLTE header structure
- remove old `.page-title` from all pages;
- add the the new header structure and place the title inside the new
  `.app-content-header` element;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2026-07-17 22:43:25 +01:00
89e65d8d08 Migrate layout shell to AdminLTE 4 / Bootstrap 5
Swap vendored AdminLTE 2.4.18 + Bootstrap 3.4.1 for AdminLTE 4.1.0 +
Bootstrap 5.3.8 (AdminLTE's dist CSS now bundles Bootstrap, so the
separate Bootstrap stylesheet is dropped; only its JS bundle remains).

Rewrite the page shell (header, header_authenticated, sidebar, footer)
to AdminLTE 4's app-wrapper/app-header/app-sidebar/app-main/app-content
structure and nav-sidebar/nav-treeview markup, and convert the dashboard
(index.lp) box/small-box markup to Bootstrap 5 cards as the first fully
migrated page.

Verified against a live container: fixed a chart.js tooltip lookup that
still targeted the old .box selector, restored the header logo mini/full
swap and sidebar user-panel collapse behavior that AdminLTE 2 used to
provide for free, and resolved a duplicate id="navigation" collision
with AdminLTE 4's own accessibility skip-link script.

Every other page still uses the old box/Bootstrap-3-grid/BS3-plugin
markup and will render incorrectly until the remaining migration phases
land.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2026-07-17 22:38:11 +01:00
XhmikosRandGitHub 62b5a861c4 index: use sentence case for queries for consistency
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-27 21:52:47 +03:00
DominikandGitHub ab61f8d9ba index: make tables stripped (#3438) 2025-05-14 19:35:04 +02:00
XhmikosRandGitHub 02a07d21ad index.lp: remove unused classes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-13 18:07:59 +03:00
XhmikosR e246d41055 index: make tables stripped
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-05 15:50:30 +03:00
XhmikosR 2dd128fbfb Revert the defer addition for now
There are still cases we are getting TypeErrors. We should try again after grouping our assets together in all pages.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-03 07:52:28 +03:00
XhmikosR d1cb55cfa9 index: remove useless empty title attributes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 15:35:25 +02:00
XhmikosR ac24b73312 Use pretty URLs when possible
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 09:54:05 +02:00
XhmikosR 1acb80536b Refactor assets loading
* move fonts first
* move CSS and JS along with the rest
* move default auto theme media checks to the HEAD instead of imports

Also, use `script defer`. This makes the JS files non-blocking.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 07:08:37 +02:00
yubiuser abd7e81780 Fix total query tooltip on dahboard
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-28 14:17:22 +01:00
RD WebDesign 374e624dc6 Remove the hard-coded time range from graphics titles
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-24 17:24:52 -03:00
yubiuser 1e922a8b29 Move all files from /scripts/pi-hole/ to /scripts/
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:22:09 +01:00
RD WebDesign b44a07446d Small desing adjustment and simplify selector
- use class to style buttons and info icons (move style to pi-hole.css)
- add negative margin to avoid small jump when the button is shown
- use the new classes to simplify jquery selectors
2023-11-08 16:52:21 -03:00
DL6ER e71557a60f Show Reset Zoom button when zoomed in
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-08 10:26:49 +01:00
DL6ER 6eb7440a21 Add tooltip explaining you can zoom and pan the graphs
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-07 21:48:49 +01:00
DL6ER be21f650f1 Merge branch 'development-v6' into fix/adlist_list 2023-10-28 21:27:39 +02:00
DL6ER 606a1de47a Show total clients in hover title instead
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-22 09:28:36 +02:00
DL6ER 7e879b29ae Finish the only partially done renaming adlists -> lists on the dashboard. This fixes a few broken links such as "Manage lists" on the dashboard as well as the generated links from the Search Lists page to the Groups -> Lists page with enabled list row highlighting
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-16 19:04:47 +02:00
Christian König 3f156180c2 Fix Dashboard link to blocked queries
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-07-28 23:28:04 +02:00
DL6ER f454617f9c Add cache content pie chart on settings->system page and move all chart-related code into a shared file pi-hole/js/chart.js
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-11 10:39:38 +02:00
DL6ER 7156cc541f Port PHP to Lua Pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-04-26 21:57:11 +02:00