Commit Graph

25 Commits

Author SHA1 Message Date
DL6ER fb64759fdf Merge remote-tracking branch 'origin/devel' into devel-v6
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-04-26 09:18:39 +02:00
DL6ER fc2b5fd0c5 Add Settings->Web Interface/API page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-03-08 14:37:46 +01:00
DL6ER d53df52b49 Add colors to sidebar items indicating how the status of the individual pages are (green = fully functional, orange = mostly functions, yellow = partially functional, red = missing)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-23 17:27:54 +01:00
DL6ER 5f7ceda54f Add live-tail of all log files as well as local DNS and CNAME records handling (add new and delete existing records is still TODO at this point)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-20 15:41:12 +01:00
DL6ER f7eb7d29cb Update Font Awesome 5.15.1 -> 6.3.0 (latest)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-19 14:17:45 +01:00
DL6ER 3ea5a985cf Restructure settings page into individual smaller files. The massive file grew beyond all bounds and was rather unmaintainable. The new structure has a number of benefits, most importantly it's a lot more repsonsive as we do not have to fire a ton of individual AJAX queries to populate all tabs but only need to source what is actually displayed on the page we are showing here
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-18 14:46:45 +01:00
RD WebDesign c74162ee47 Preparing PHP and javascript files for the new themes
- change HTML header code
- add new class to Pi-hole logo
- add new classes to auditlog buttons
- add new classes to query log and long-term query log buttons

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-02-16 01:11:24 -03:00
DL6ER de004e51a6 First draft of the automatically generated settings page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-04 12:11:04 +01:00
DL6ER d7eada8156 Remove "Remember me for 7 days" checkbox. Each user gets their own independent session. By default, the session will expire after 5 minutes of no web interface being open (otherwise, it is continuously prolonged because of all the background API activity while refreshing the statistics). This timeout, however, can be set freely in pihole.toml and soon also in the web interface so this checkbox has stoped being useful.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-03 18:07:11 +01:00
DL6ER cb90e604e8 Add system information on first tab of the settings page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:59:12 +01:00
DL6ER 9464cf5d9b Remove db_queries.php. The Query Log has now builtin support for arbitrary time intervals
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:43:52 +01:00
DL6ER 4eb9a4cf29 Port dashboard landing page to v6.0 API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-31 20:41:12 +01:00
DL6ER 4cf7a82713 First steps into the v6.0 world. Login and logout is now possible and all pages load without PHP errors (even when they are mostly empty until we added all the new API methods)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-31 20:10:53 +01:00
RD WebDesign 4966f01dde Use and set the unit on setupVars.conf option TEMPERATUREUNIT
New behavior!!!
The temperature unit will be set GLOBALLY and not per browser.

- if a TEMPERATUREUNIT is set in setupVars.conf file, the value will be used.
- if there is no unit set in setupVars.conf, "C" will be used;
- changing the value on the web interface WILL CHANGE setupVars.conf.
- if the browser has an old value set on locastorage, this will be ingnored.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-27 16:45:38 -03:00
RD WebDesign 4e8cf83fcc Move inline svg symbol to external file
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-22 19:56:50 -03:00
RD WebDesign 5b4f8d87d6 Improve pi-hole SVG icon
- keep using inline SVG to allow color change via CSS;
- Reuse the SVG icon in all instances, using SVG symbol;
- Simplify/reduce inline SVG code;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-19 15:05:55 -03:00
RD WebDesign 944ce3aa64 Tweak topbar and sidebar
- fix broken visual after initial changes;
- remove donate button from topmenu;
- re-add donate button to the sidebar and add hover color;
- remove "Ph" when collapsed;
- add icon and background to topmenu button;
- hide main menu headers (using lines as separators);
- reorder the main menu;
- adjust each theme to the new visual (CSS and HTML tweaks).
- new menu colors for LCARS theme

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-18 23:53:18 -03:00
Christian König 4e76c43969 Remove unused $auth
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 14:20:50 +02:00
RD WebDesign 46874762d0 Different order
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-13 02:05:13 -03:00
RD WebDesign f528829c67 Testing a shorter main menu + top menu
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-13 02:00:24 -03:00
RD WebDesign 509113296c Move login form to a new page
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-12 18:04:57 -03:00
DL6ER 6a39cc3b4a Disable Yoda style
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-12 18:55:27 +02:00
DL6ER 6ec4b8a529 Run PHP-CS-Fixer on all files
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 12:04:03 +02:00
RD WebDesign 2bc918ad6e Use 4 spaces to indent PHP files.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:18:26 -03:00
RD WebDesign 79187b1258 Simplify header.php
- move some functions to `func.php`
- move sidebar to its own file `sidebar.php`
- fix indentation
- LCARS CSS: hide menu headers when logged off
- LCARS CSS: invert hover and active menu colors

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-20 18:59:36 -03:00