Commit Graph

45 Commits

Author SHA1 Message Date
DL6ER
7156cc541f Port PHP to Lua Pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-04-26 21:57:11 +02:00
RD WebDesign
302a402277 Avoid caching issues using last modified time
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 23:10:15 -03:00
RD WebDesign
4d8b19f4c9 Address team decisions
- change checkboxes order;
- remove all lines if all checkboxes are unselected.

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
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
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
DL6ER
82d18b51a3 Further simplification of the code, removing empty code blocks and some always-true if-clauses
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-17 10:45:17 +02:00
Christian König
6a1e590a07 Remove black/whitelist from group pages
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-16 14:20:43 +02:00
Anthony de Jong
eaef6f8733 Show suggested domains in group domains page
Signed-off-by: Anthony de Jong <11158888+anthony-de-jong@users.noreply.github.com>
2022-06-02 08:04:27 +00:00
yubiuser
042b54675c Merge pull request #2177 from pi-hole/bulk_delete_groups
Allow delete multiple items - Group pages
2022-05-07 21:06:01 +02:00
martinbrose
fae9e4b0be Added information about group assignment of whitelisted/blacklisted d… (#2186)
* Added information about group assignment of whitelisted/blacklisted domains

Signed-off-by: martinbrose <13284268+martinbrose@users.noreply.github.com>

Co-authored-by: yubiuser <ckoenig@posteo.de>
Co-authored-by: Adam Warner <github@adamwarner.co.uk>
2022-04-28 06:19:43 +02: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
Christian König
6ab9ef0ef3 Source utils.js in header.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 11:11:11 +01:00
RD WebDesign
035d8f981d Fix layout on small screens (Group Mgmt tables) (#2078)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-14 22:41:41 +01:00
Tony Jeffree
4a53a8aa1c Add cache busting to all vendor scripts
Signed-off-by: Tony Jeffree <tjeffree@gmail.com>
2020-08-21 10:12:41 +01:00
Tony
0a4ebe14e3 Add cache busting to all custom scripts and common css
Signed-off-by: Tony Jeffree <tjeffree@gmail.com>
2020-08-17 08:30:00 +01:00
DL6ER
16d313582d Further tweaks and optimization
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:19:24 +01:00
DL6ER
0e4d1e4e7f Implement per-browser checkbox and radio button styling using icheck-material.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:17:28 +01:00
XhmikosR
469d491260 Move JS files where they are used.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:43:13 +03:00
DL6ER
621e65b9bb Merge pull request #1367 from pi-hole/clean-table-classes
Clean table classes
2020-05-25 20:33:48 +02:00
DL6ER
184c8e47e1 Merge pull request #1332 from pi-hole/tweak/dhcp_save_state
Remember last used sort column/direction on DHCP lease tables
2020-05-25 20:05:45 +02:00
XhmikosR
b7540de7d0 Revert "Remove the invalid width="100% attribute"
This reverts commit 59ea121e07.

Apparently, we are doing something weird in the settings tables and this doesn't work. We should revisit this later.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 17:14:04 +03:00
XhmikosR
59ea121e07 Remove the invalid width="100% attribute
Also, add the missing `table` class in a network table.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:13:43 +03:00
XhmikosR
d3cd52b992 Remove the obsolete cellspacing="0" attribute.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:07:46 +03:00
XhmikosR
de71dd0fb5 Clean up table classes.
These are DataTables classes which we don't use since we use Bootstrap.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:05:24 +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
Adam Warner
3957e9eef1 Move some duplicated code to utils.js
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-23 11:04:30 +03:00
XhmikosR
444e97b2b9 Rename groups-common.js to utils.js.
It's not used only in group pages, and we should try to move more common stuff here later.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-23 10:29:48 +03:00
XhmikosR
41ff3a244e Add fade class in groups-domains.php tabs
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-18 21:28:24 +03:00
XhmikosR
b33c7def10 Improve nav-tabs accessibility
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-18 21:28:24 +03:00
DL6ER
170e9d37a7 Add custom checkboxes.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:49:33 +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
DL6ER
43b45d3da7 Merge pull request #1100 from Ghalid/patch-1
Disable text correction features, change types to make input fields easier to type in (especially for mobile devices)
2020-04-07 13:59:44 +02:00
DL6ER
bc9c656e37 Improve domain pages (#1184)
* Split domain input into two separate fields.

* Codestyle changes

* Fix checkout layout on full/limited domain pages.

* Improve wildcard hint

Signed-off-by: DL6ER <dl6er@dl6er.de>


* tabs for new domain/regex input

Signed-off-by: Th3M3 <the_me@outlook.de>


Co-authored-by: TheME <andreas_fl@outlook.com>
2020-03-15 12:07:22 -07:00
XhmikosR
b2bc0cb211 Streamline button classes and display.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 17:44:28 +02:00
DL6ER
2d975b8bac Simplify domain management by using the same page for both locations where domains can be edited. This removes a large amount of duplicated code, each prone to its own bugs.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-14 20:31:54 +01:00
DL6ER
43a861a6a9 Disable form elements while database operation is pending.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-01-22 19:51:48 +01:00
Ghalid
112a5abf80 Merge branch 'devel' into patch-1
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com>
2019-12-29 14:22:12 -05:00
DL6ER
ede9d41341 Add "Reset Sorting" button to remaining pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-20 08:35:29 +00:00
DL6ER
d0d1174010 Use bootstrap notify for notifications.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-17 12:48:25 +00:00
DL6ER
50f05b9119 Add missing form-control classes for proper element styling.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-13 16:19:45 +00:00
DL6ER
70589fa844 Add Adlists group management
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-13 15:41:14 +00:00
DL6ER
912e2ddbd9 Add Domain Group Management
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-13 15:29:42 +00:00