Commit Graph

96 Commits

Author SHA1 Message Date
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
6a39cc3b4a Disable Yoda style
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-12 18:55:27 +02: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
a3234d1306 Replacing tabs with 4 spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:28:30 -03: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
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
stuXORstu
cbed1e5aa4 add link to swap between blocked and all client queries
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: stuXORstu <stuxorstu@gmail.com>
2022-03-11 01:13:38 +00:00
Christian König
e256b76d8e Omit blocklist
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 13:26:42 +01:00
Christian König
b5d9908bb5 Remove traces of leftover API_PRIVACY_MODE
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-10-26 19:47:31 +02:00
yubiuser
8062eae6f1 Add note to query log that pi.hole queries are not logged (#1913)
* Add note to query log that pi.hole is never logged

Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-10-04 21:35:46 +01:00
DL6ER
fa2279d473 Add SVCB and HTTPS types and reduce code duplication
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-12-31 10:54:01 +01:00
Fabian Preuß
0b125b06c9 Added more query types to title of Query Log
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de>
2020-12-27 21:32:35 +01:00
DL6ER
632addf41e Add modal close button
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-09 22:55:16 +01:00
Adam Warner
e6e3be489b Add altKey to modifiers when clicking on query log
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-11-08 14:58:58 +00:00
Adam Warner
0db41baa23 Simplify query log filter.
Don't require modifier keys to interact (now works on mobile)
Hold modifier key to enable selection for copying domain (long press on mobile)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-10-12 17:41:38 +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
ebe6527ab7 Merge pull request #1541 from pi-hole/fix/wording_query_log_links
Fix a few UI issues
2020-08-15 13:07:37 +02:00
DL6ER
d914e09941 Be a bit more specific about the upstream destination if it is the blocklist or the cache.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-02 19:54:54 +02:00
DL6ER
64a2419fa9 Add ability to filter for blocked queries in conjunction the client filter in the Query Log. Request such filtered data when clicking on a client in the Top Clients (blocked only) table on the dashboard.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-02 19:54:54 +02:00
DL6ER
39a4532374 Add specific titles in Query Log when opened with special links for upstream server or query type filtering.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-02 19:54:54 +02:00
Adam Warner
e0cd37b781 Merge branch 'release/v5.1' into ip-sorting-query 2020-07-16 18:38:53 +01:00
Adam Warner
606568054a enable IP sorting on the query/long-term query pages. Appears to work with a mixture of hostnames/IP's
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-06-07 11:09:20 +01:00
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