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
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
rdwebdesign
3d2a6f8fa9
Applying the same CSS colors used on the dashboard to db_grahps.php
...
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br >
2021-12-02 04:22:49 -03:00
Christian König
23828df3db
Use theme gridColor and ticksColor in long time graph
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2021-11-19 19:35:01 +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
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
Adam Warner
dd678da9c6
Merge pull request #1376 from pi-hole:deduplicate-js
...
Deduplicate js
2020-05-29 23:09:59 +01:00
XhmikosR
7f71f1d5fe
Move objectToArray() to utils.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-29 11:11:32 +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
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
b7d74ff772
Reinstall loading overlay on long-term graphs page (shown only if data has been requested).
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-12 22:50:29 +02:00
DL6ER
8468f129eb
Dark mode optimizations for Query Log and Long-term graphics
...
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
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
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
Mcat12
db68782f62
Replace fa-refresh with fa-sync
...
Font Awesome 5 replaced the refresh icon from 4 with fa-sync:
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes
Fixes #941
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2019-05-19 14:16:55 -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
Mcat12
081f0bb98c
Add timeout warning to database pages
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-07 14:04:38 -05: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