Commit Graph

163 Commits

Author SHA1 Message Date
RD WebDesign
32535ebd04 Avoid breaking inline controls outside datatables
Inline form controls should use `width: auto`.
Using `width: 100%` for `.form-inline .form-control` selector makes every inline form element 100% wide.
This is not intended.
Using a more specific selector force 100% only for controls inside datatables.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-23 22:33:21 -03:00
RD WebDesign
1371ab9a6b Change .save-button z-index to 10
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-09 16:12:39 -03:00
RD WebDesign
466a192a73 Fix the size of the login "key icon"
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-06 00:56:26 -03:00
RD WebDesign
a43ea6ae5f Fix previous prettier error
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-30 21:36:13 -03:00
RD WebDesign
27ff8199ed Fix CodeFactor complaints about CSS
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-02 17:12:30 -03:00
DL6ER
e0fad7c020 Increase menu header padding in the sidebar
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-28 08:32:01 +02:00
DL6ER
8ba58eabcc Implement Settings -> System buttons
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-24 20:32:19 +02:00
DL6ER
77b893e188 Show error on login page and immediately redirect to message.lp after login if DNS server is NOT running
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-24 20:26:21 +02:00
DL6ER
9f383893bd Add advanced information in the dropdown menu (only visible with Expert Settings mode)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 20:15:11 +02:00
DL6ER
18f52bacbe Improve handling of settings levels
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 19:26:48 +02:00
DL6ER
63697d8c19 Ensure legend stays next (not below) cache content doughnut chart
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-12 14:15:55 +02:00
DL6ER
b30c1e0433 Finish settings-advanced.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-08 13:10:39 +02:00
DL6ER
7156cc541f Port PHP to Lua Pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-04-26 21:57:11 +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
RD WebDesign
ef1b8733f9 Use a single flex container instead of 2 fixed columns
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-03-16 18:10:37 -03:00
DL6ER
f0f26c13ed Add 2FA frontend handling
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-03-08 20:46:56 +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
abbee9f587 Hide box overflow
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-18 18:41:37 +01:00
DL6ER
69eb8bf3d0 Merge branch 'devel' into devel-v6
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-10 20:56:52 +01:00
DL6ER
7375dd0d91 Introduce settings levels Basic, Advanced and Expert
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-10 13:44:36 +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
RD WebDesign
0d55c511ff Improving settings for Web and API
- use separate tabs for Web and API
- change box titles and options distribution

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-02-01 19:02:49 -03:00
RD WebDesign
393302efbc Fix buttons position on small screens
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 14:15:01 -03:00
XhmikosR
90ba0a449d Increase small-box footer contrast ratio
Contrast ratio is still low, but this should improve things. Generally, it's advised to aim for a contrast ratio of 4.5.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2022-11-15 09:15:09 +02:00
RD WebDesign
3e729c5bee Visual adjustments
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-08 14:51:44 -03:00
RD WebDesign
d972a8c61b Add links to dashboard top boxes
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-08 14:51:44 -03:00
RD WebDesign
62297be1da Use custom legends for doughnut charts
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-05 21:19:02 +02:00
RD WebDesign
6cbd7ff8cf Fix position and size of the spinner
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-05 01:14:21 -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
3ef30992c5 Move filter selector to header-box
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -03:00
RD WebDesign
3235056d31 Add the ability to filter domains by type
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-09-09 14:26:54 -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
70dce5f500 Fix donate button on mobile
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 12:33:53 +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
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
RD WebDesign
1bafd79aa2 Fixing/ignoring CSS comments
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:50:29 -03:00
RD WebDesign
f8ab31f431 Allow delete multiple items - Group pages
- add checkboxes, buttons and functions to groups page;
- add checkboxes, buttons and functions to clients page;
- add checkboxes, buttons and functions to domains page;
- add checkboxes, buttons and functions to adlists page;
- move function to `utils.js`;
- fix CSS after insert a new table column;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-22 22:22:03 -03:00
Robin Tweedie
cb6d1cc8d3 replace background image jpgs with minimal pngs
Signed-off-by: Robin Tweedie <robin.tweedie@gmail.com>
2022-04-14 22:49:15 +01:00
RD WebDesign
521ecd75d5 Fix visual bugs
- fix top circle position;
- fix circle background colors for each theme;
- special CSS for LCARS theme;
- change CSS selector for top navbar `<li>`: after removing the first
  item, the "old" second item became the first one.
- use a better color for all themes;
- hide submenu counter during animation;
- hide the other counter when submenu is opened (mobile too)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-13 14:22:12 -03:00
RD WebDesign
2ee6afe070 Merge branch 'devel' into sidebar_warnings 2022-04-06 19:00:56 -03:00
RD WebDesign
2324bf5078 Removing the triangle icon
The message count was moved to the "hamburger" menu icon.
Using more discreet color for the circle.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-06 18:49:22 -03:00
RD WebDesign
1d9b40d245 Replace old image button with a simple button
- add fixes for mobile and medium screens
- new style selectors
- button background-color (tablets / medium screens)
- small adjustments
- remove unused image file

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-28 14:54:35 -03:00
RD WebDesign
f90ae05bd0 Sidebar warning count
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-25 19:25:42 -03:00
RD WebDesign
2d6a78d6cb Improving debug log
- add a message to show while loading content;
- add CSS to format the loading message;
- fix yellow log color (light theme);

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-14 20:25:55 -03:00
RD WebDesign
ea24655a7b Add colors to debug log
- Add function and CSS to show colorful debug log
- Adjusts to #output element

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-12 03:22:22 -03:00
RD WebDesign
1e47277d3c Font-size calc adjust
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-07 23:50:17 -03:00
RD WebDesign
2d5e97380a Fix prettier issues
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-04 12:33:58 -08:00
RD WebDesign
0b7e2e3ce4 New login form layout
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-04 12:33:58 -08:00