Commit Graph

74 Commits

Author SHA1 Message Date
DL6ER
c90fbc28cc Reduce agressiveness of highlight color.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-04 10:14:23 +02:00
DL6ER
68e03df011 Simplify button by removing the description of what we are filtering.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-04 09:44:22 +02:00
DL6ER
55ab4f179f Minor style changes for the dark theme.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-03 15:51:39 +02:00
DL6ER
9b8946ee9f Merge branch 'devel' into tweak/exact_searching
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-03 15:21:12 +02: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
c108f7eef0 Remove duplicate token div
This is already added in header.php

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:54:58 +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
XhmikosR
821b283cf2 Fix queries Clear Filters button
Now it should look like the rest of the buttons

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-23 11:23:11 +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
bfd944e41c Switch to the plain chart.js build and moment.js to v2.24
This avoids including moment.js twice since chart.js bundle included moment.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 23:05:59 +03: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
DL6ER
c463e15ba6 Fix wording
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-28 17:55:41 +00:00
DL6ER
6c26852295 Use classes for highlighting to ensure the alternate row colors are not lost when removing a column from the selection.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-26 21:51:38 +00:00
DL6ER
4d9409e708 Apply filtering events only on Ctrl/Command/Shift + Click.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-25 15:20:58 +02:00
DL6ER
f8ca9d4173 Replace / by "or".
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 16:21:04 +02:00
DL6ER
b74816d8f6 Improve wording
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 08:41:37 +02:00
DL6ER
2439c3c76a Add comment that holding down [Ctrl] can do something magical
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 15:38:46 +02:00
DL6ER
8c1503cac5 Show filtering details on clear button.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 11:20:17 +02:00
DL6ER
e328f51e17 Remember last state of the "Apply filtering" checkbox on the Query Log page. Store this browser- not server-wise so individual users can use their own prefered settings.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-31 20:20:17 +00:00
Mcat12
3b635e0245 Move script tags inside html tag
Fixes #863

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-11-10 13:51:14 -05:00
Adam Warner
342a53ed99 Remove duplicate of the word "queries" on the query log page
Signed-off-by: Adam Warner <adamw@rner.email>
2018-07-01 13:10:38 +01:00
DL6ER
2df0c21753 Remove extra DNSSEC column. Instead, we integrate the DNSSEC result into the STATUS column if available.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-03 11:32:33 +02:00
DL6ER
5e8f4b2584 Merge branch 'devel' into FTLDNS 2018-04-01 16:46:35 +02:00
DL6ER
c278428b28 Change header texts, move "show all" hyperlink out of the parentheses
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-03-08 09:56:28 +01:00
DL6ER
5d38af4332 Add reply type column
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-16 20:51:14 +01:00
DL6ER
1db322b963 Show most recent 100 queries instead of queries within most recent 10 minutes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-10 14:10:55 +01:00
Mark Drobnak
63061fa826 Merge pull request #616 from Th3M3/AddToList_Modal
replace Alerts with Modal on queries.php page
2018-01-20 11:12:33 -05:00
Mark Drobnak
1e96f5d6dd Merge branch 'devel' into mobile-query-log2 2018-01-12 11:03:48 -05:00
DL6ER
b5adf6d28a Show DNSSEC result in Query Log (if available)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-31 16:41:27 +01:00
Mark Drobnak
224bb79dbf Merge branch 'devel' into mobile-query-log2 2017-12-22 12:44:30 -05:00
TheME
ca868ca4b3 optimize query-log for small screens
Signed-off-by: Th3M3 <the_me@outlook.de>
2017-12-10 15:15:38 +01:00
DL6ER
848f59787a Add checkbox on Query Log to be able to disable filtering on click
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-10 12:31:54 +01:00
TheME
c0518aea4b remove inline stylesheet *
* to move it to pi-hole.css
2017-11-20 20:50:43 +01:00
TheME
18757e704d small fixes
- changed </list> to </span>
- fixed word-wrapping (it didn't worked on MS Edge)
2017-11-19 19:12:10 +01:00
TheME
ccda9a2630 replace Alerts with Modal *
* and add specific css style-sheet for it
2017-11-15 00:09:47 +01:00
DL6ER
a39bcca322 Move style properties to common CSS file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-24 23:27:24 +02:00
DL6ER
9b12f5f6d1 Make "Clear Filters" button stand out more
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-24 11:59:01 +02:00
DL6ER
b0e16975e4 Show reset button only if one-click filtering is actually used
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-23 13:55:09 +02:00
DL6ER
f1a5ec8953 Add "clear" button
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-23 13:46:28 +02:00
DL6ER
7e68fdecff Make sure license comment is only outputted after header.php has prepared all the stuff that need to be done beforehand. Fixes #450 2017-04-03 10:17:05 +02:00
DL6ER
d58439e0d9 Some cosmetics for fresh installed systems 2017-02-22 11:41:25 +01:00
DL6ER
aabff35bef Squashed commit of the following:
- Dynamically fall back to PHP API functions to ensure API does always repond even if FTL is not runnung for some reason
- Update PHP API from current devel branch
- Increase flexibility in getQueryTypes API call
- Hide top ads list if nothing to display
- Proper display of activated privacy mode
- Remove spinner (would otherwise not be removed for zero results)
- Update tables every 10 seconds
- Update query types and forward destinations plots every 10 seconds
- More verbose output in top lists (total number next to percentage in tooltip)
- Implemented "recentBlocked" keyword for API
- Ensure compatibility with PHP5 version < 5.4
- Adjust output format of overTimeData10mins to comply with PHP API
- Further speedup of Query Log page by showing only the recent 10 minutes by default
- Hide temperature if FTL is not running and show FTL status
- Add information to Settings page
- Adjust error message when loading of query log failed
- Move processing of domainname, clientIP, clientname and time interval filters for the Query Log page to FTL for speed enhancement
- Generate link if pi.hole comes up in the Top Domains list
- Remove resolve DNS names option - this is now enabled by default (daemon will only do it once per day instead of PHP-API which did it on every reloading of the web interface)
- Add socket timeout of 10 seconds + modification to Settings page since FTL backend supports API_EXCLUDE_CLIENTS filtering with both IP addresses and host names (also mixed)
- Improved Query Log page
2017-02-16 08:52:30 +01:00
DL6ER
9b799819bf Added header to main PHP files 2017-02-14 14:57:58 +01:00
DL6ER
9eadc26d30 Add more detailed error output recently added to the lists page to the query log action buttons 2017-01-09 14:40:40 +01:00