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
Adam Warner
0fac8a5a0b
Merge pull request #1380 from pi-hole/update-daterangepicker
...
Update daterangepicker and add minified build
2020-05-30 15:34:35 +01:00
XhmikosR
758bd21870
Merge pull request #1366 from pi-hole/css-cleanup
...
CSS cleanup
2020-05-30 08:31:34 +03:00
XhmikosR
876e7d8bd9
Use minified daterangepicker builds.
...
The official distribution doesn't include minified files, so just minify the files ourselves.
It's in maintenance mode anyway.
Commands for future reference:
* cleancss --compatibility ie9 -O1 specialComments:0 -o daterangepicker.min.css daterangepicker.css
* terser daterangepicker.js --compress typeofs=false --mangle --source-map url=daterangepicker.min.js.map -o daterangepicker.min.js
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-30 08:26:44 +03: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
XhmikosR
a25cb8a838
Reduce CSS duplication a bit
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-29 07:39:50 +03: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
b20b6797c1
HTML hidden attribute does not need a value.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 19:03:02 +03:00
DL6ER
170e9d37a7
Add custom checkboxes.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-12 22:49:33 +02:00
DL6ER
b23afb4516
Dark mode for Long-term Query Log and Lists
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-12 22:44:55 +02: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
DL6ER
2fdc676979
Add new CNAME-specific blocking modes [QUERY_GRAVITY_CNAME, QUERY_REGEX_CNAME, QUERY_BLACKLIST_CNAME] and show domain that was the reason for blocking during a CNAME inspection
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-01-29 22:19:26 +00:00
Ghalid
357cb17acf
Remove left text align for date range buttons
...
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
2019-12-20 16:59:41 -05:00
Ghalid
2a71df5bb8
Change "Click to select..." in Long term data pages to buttons instead of text inputs
...
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
2019-12-20 15:49:29 -05:00
Pascal Pischel
1c35c92985
Update db_queries.php
...
Changed "Chart" Icon to more like in react app
2019-10-23 22:47:08 +02:00
Pazekal90
70d859af80
Deleted Ionicons as dependency. Changed existing usage to fontawesome to get better performance in browser.
...
Signed-off-by: Pazekal90 <mail@pascal-pischel.de >
2019-10-03 20:24:54 +02:00
Donny Kurnia
8d18cfcd8f
update font-awesome class for clock icon in Fontawesome 5
...
Signed-off-by: Donny Kurnia <donnykurnia@gmail.com >
2019-06-04 16:13:01 +07:00
DL6ER
a975576616
Long-term data: Show date range only after user chose a valid range. Fixes #897
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-01-22 23:30:36 +01: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
DL6ER
7ee1874672
Optimize HTML and JS
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-08-24 14:25:02 +02:00
DL6ER
3169b5ba88
Add selection for query types on long term DB query log page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-08-24 14:09:08 +02:00
Mark Drobnak
1e96f5d6dd
Merge branch 'devel' into mobile-query-log2
2018-01-12 11:03:48 -05:00
Mcat12
081f0bb98c
Add timeout warning to database pages
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-07 14:04:38 -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
Mcat12
295639f77b
Fix unknown variable in db_queries.php
...
Probably the result of a copy-paste from queries.php to db_queries.php
2017-08-02 21:21:19 -04:00
DL6ER
40ae7fb0ca
Add long-term graph page ( #542 )
...
* Add api_db.php?getGraphData
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Add new DB Graph page
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Adjust x-axis format
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Tweaks to long term stats (#543 )
* add maxDate to Datepicker
* remove `GO` Button from datepicker input, instead hook into the apply event to update the graphs/charts when the date range is selected
* :codacy:
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Fix comment + another :codacy:
* Remove duplicated code
* Add click callback to DB graph that sends the user to the DB query log page. This required some re-write of the DB queries page.
* Remove uneeded global variable
* Remove minDate and MaxDate as it is causing issues on fresh installs
* Oh :codacy: ...
2017-07-08 23:42:21 +02:00
DL6ER
9f7fb18f31
Long-term statistics implementation (using FTL's database) ( #521 )
...
* - Add DB Top Lists
- Add DB Query Log
- Add DB API
* Allow to select only queries that are equal/newer than the oldest entry in the database
2017-06-29 20:57:09 +02:00