Commit Graph

22 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
RD WebDesign
2ad9b8af77 Fix the global settings level selector style
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-03-16 19:19:40 -03: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
fff54aef3f Remove further obsolete PHP code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-03 19:12:13 +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
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
d92df4af4c If no unit is set on setupVars, try to use localstorage value, if exists
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-28 17:16:29 -03: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
e3b4cd9238 Fix LCARS visual and allow user selected checkbox theme
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign
d3c59d42a7 Show "Logout" link only when a password is required
Re-introducing the test, removed when the menu was updated

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-29 14:53:38 -03:00
RD WebDesign
87334d579e Add missing parenthesis
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-24 14:53:58 -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
621f9c0b02 Add link to releases on discourse
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 11:24:08 +02:00
Christian König
17857841ab Change left hamburger menu icon to arrows
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 11:14:51 +02:00
RD WebDesign
836b7ab7be Fix logout link
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-13 02:07:14 -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