RD WebDesign
b94884ae17
Show ignored items when adding new adlists ( #1997 )
...
* Show ignored itens when adding new adlists
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br >
* Show ignored itens when adding new adlists (new messages)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br >
2021-12-17 19:56:49 +01:00
Christian König
4ee02c73e3
Number of domains on adlist is total number not valid number
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2021-12-02 23:16:31 +01:00
Christian König
78aace3403
Revert "Remove duplicated code as it is already part of utils.stateLoadCallback"
...
This reverts commit 395b1b6c1f .
Signed-off-by: Christian König <ckoenig@posteo.de >
2021-11-14 22:38:18 +01:00
yubiuser
5aeb52ee50
Merge pull request #1948 from pi-hole/tweak/datatables
...
Tweak to datatables column rendering
2021-10-28 20:21:01 +02:00
yubiuser
98ec9ee2fc
Set stateDuration to 0 for all saved datatables to store the state indefinitely ( #1944 )
...
* Set stateDuration to 0 for all saved datatables to store the state indefinite
Signed-off-by: Christian König <ckoenig@posteo.de >
* Move stateDuration to utils.js
Signed-off-by: Christian König <ckoenig@posteo.de >
* Remove duplicated code as it is already part of utils.stateLoadCallback
Signed-off-by: Christian König <ckoenig@posteo.de >
* Fix function
Signed-off-by: Christian König <ckoenig@posteo.de >
* Revert "Fix function"
This reverts commit 2f54f5f988 .
Signed-off-by: Christian König <ckoenig@posteo.de >
* Revert "Move stateDuration to utils.js"
This reverts commit 6a3e7786bc .
Signed-off-by: Christian König <ckoenig@posteo.de >
2021-10-27 20:06:02 +01:00
Adam Warner
0e483a8eea
Force all columns in any declared datatable to render using datatables render.text function to prevent possible (very low risk, requiring authenticated dashboard anyway) XSS.
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2021-10-27 19:49:46 +01:00
DL6ER
0d0a8dba67
Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas )
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-23 11:26:43 +02:00
DL6ER
78672fdbec
Avoid 1970 date if list was never updated.
2021-03-17 16:55:27 +01:00
DL6ER
bc108ea834
Add status icon tooltip
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:27:34 +01:00
DL6ER
ba3acbbade
Do not create links for file:// adlists
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:24:49 +01:00
DL6ER
894ea0a8fa
Open adlists in new tabs and allow sorting by status.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:24:42 +01:00
DL6ER
9be0c61050
Always inform about any invalid domains on a list using exclamation-triangle and bold-red text in the invalid domains column
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:24:38 +01:00
DL6ER
9b821dd481
Use distinct icons for getting more information on the first look
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:24:33 +01:00
DL6ER
5533b4fc9e
Improve formatting and make status texts more human-friendly
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:24:23 +01:00
DL6ER
a39010582c
Add additional information children to adlist table
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-02-07 11:24:00 +01:00
Adam Warner
638a7db036
Merge pull request #1603 from thislooksfun/devel
...
Fix html escaping showing up in input fields. (#1584 )
2020-11-08 15:40:04 +00:00
Adam Warner
dc5df4eefa
Merge pull request #1600 from rickbau5/fix/enable-ui-elements
...
Fix UI Remaining Disabled in Groups & Adlists Pages
2020-11-08 15:21:58 +00:00
Adam Warner
280d31c00f
Merge branch 'devel' into fix/group_sel_simple_pages
2020-11-08 13:57:52 +00:00
thislooksfun
8f55dfa03b
Fix html escaping showing up in input fields. ( #1584 )
...
Signed-off-by: thislooksfun <thislooksfun@repbot.org >
2020-10-12 12:26:49 -05:00
Rick Boss
197592a97c
Ensure UI is reenabled in missed error cases
...
Signed-off-by: Rick Boss <rickeboss@gmail.com >
2020-10-07 22:47:30 -07:00
DL6ER
f61d2705b1
Show last update time of an adlist.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-09-07 21:12:36 +02:00
XhmikosR
ea1fd6c323
Remove HTML from titles when not needed.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-06-22 08:53:48 +03:00
Adam Warner
c949516ee1
make use of utils.escapeHtml on the JS side of things, and html_entity_decode/htmlentities in PHP
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-06-13 18:50:36 +01:00
XhmikosR
cecb5aa88c
Use $(fn)
...
This is the recommended way in jQuery 3.x.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-30 10:24:55 +03:00
XhmikosR
f04647fc9e
Ignore the remaining console errors for now.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-29 10:42:21 +03:00
Adam Warner
39ac2026b0
Check data for null before trying to manipulate it. Closes #1391
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-28 21:38:14 +01:00
DL6ER
7214a0f025
Fix initial visibility of group selector on simplified black- and whitelist pages.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-26 23:18:08 +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
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
4247c973c9
Rename function.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 10:29:50 +03:00
XhmikosR
0fa7de82b0
JS: Enforce camelcase.
...
It's a common convention to use camelcase for variable names.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 10:29:44 +03:00
XhmikosR
f158e25d2e
Remove glyphicons again.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-21 09:55:36 +03:00
XhmikosR
f2b11caf58
Rename variable to camelcase.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-17 08:53:53 +03:00
DL6ER
6b8e12a0d1
Fix autocomplete bug on group pages.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-13 23:54:22 +02:00
XhmikosR
43151d3c43
Add type="button" to all buttons.
...
The default is `type="submit"`.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-11 21:40:26 +03:00
XhmikosR
e02df5467a
Fix lint errors.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-11 09:20:32 +03:00
DL6ER
73ee91a024
Merge branch 'master' into master-to-development-v5.0
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-10 22:00:07 +02:00
XhmikosR
bdde1e6667
Use text() when retrieving the token. ( #1237 )
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-04 10:52:00 +03:00
XhmikosR
ae13014565
Adapt to the new rules.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-04-10 18:34:47 +00: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
Th3M3
3ea59d5d36
shorter button textes & cleanup
...
Signed-off-by: Th3M3 <the_me@outlook.de >
2020-04-05 20:49:53 +02:00
Th3M3
fd983a2b68
improve multiselect
...
Signed-off-by: Th3M3 <the_me@outlook.de >
2020-04-05 14:56:28 +02:00
DL6ER
6e98c41a4f
Merge branch 'release/v5.0' into tweak/wrap_other_tables
2020-03-31 21:11:30 +00:00
TheME
9fde58d7e0
make id names unique, ...* ( #1170 )
...
* - remove unneeded code
- fix php notice in log if url parameter 'type' is not set
Signed-off-by: Th3M3 the_me@outlook.de
2020-02-21 12:04:51 -08:00
Adam Warner
211bcc999f
Whejn dropdown is shown, move it outside of the datatable container (at the same absolute position)
...
When it is closed, put it back where it came from
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-02-16 17:33:52 +00:00
Adam Warner
a7a99ea693
update multiselects on other group pages with the same logic
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-02-16 16:10:14 +00:00
DL6ER
a83626e99b
Add class "breakall" also to the code fields in the other tables.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-02-16 16:51:06 +01:00
Adam Warner
519e2771f1
Merge pull request #1124 from pi-hole/master-xmr-fa
...
Switch to using Font Awesome
2020-02-08 12:31:07 +00:00