DL6ER
4eb9a4cf29
Port dashboard landing page to v6.0 API
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-01-31 20:41:12 +01:00
DL6ER
4cf7a82713
First steps into the v6.0 world. Login and logout is now possible and all pages load without PHP errors (even when they are mostly empty until we added all the new API methods)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-01-31 20:10:53 +01:00
RD WebDesign
302a402277
Avoid caching issues using last modified time
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-13 23:10:15 -03:00
Adam Warner
4c8084c06c
git pu
2022-09-02 22:04:22 +01:00
RD WebDesign
d50c6bfc63
New check warnings logic
...
Changes:
- Show warning message on docker, if a new image is available;
- Never show the warning for Nightly or Dev images;
- In docker, never show individual component update warnings;
- simplified footer (logic moved to upgrade_checker file).
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-08-26 17:46:07 -03:00
RD WebDesign
22a19e5403
Move all "version check" code to update_checker.php
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-08-26 17:46:07 -03:00
RD WebDesign
2785775049
Check versions using the new file
...
- change the arrays
- use a function to compare versions
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-08-26 17:46:07 -03:00
Christian König
34daa633cc
Change docker upgrade link in footer
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-08-19 15:53:11 +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
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
Peter Dave Hello
66c2a9c6d5
footer.php: Improve Pi-Hole update instruction for Docker image
...
Running `pihole -up` in the Docker image release is not allowed, and
will receive this prompt msg: `Function not supported in Docker images`,
should display a different prompt message for Docker image release.
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org >
2022-02-13 16:54:09 +08:00
Adam Warner
d0ceca674d
Prevent potential execution of arbitary code through the PIHOLE_DOCKER_TAG variable and AUTHORIZED_HOSTNAMES
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2022-02-11 23:21:04 +00:00
Adam Warner
bb4cafcb7c
Merge pull request #2021 from Iksas/safari-css-animation-fix
...
Decrease resource usage of CSS animations
2022-02-11 17:23:30 +00:00
Iksas
369170105a
improve efficiency of the lookatme animation
...
Signed-off-by: Iksas <Iksas@users.noreply.github.com >
2022-01-22 15:12:30 +01:00
Peter Dave Hello
ddd48b1eb3
footer.php: Add the Docker Hub tags link to "Docker Tag"
...
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org >
2022-01-22 18:37:19 +08:00
Adam Warner and DL6ER
bce2476d78
Display Docker Tag in footer if the PIHOLE_DOCKER_TAG environment variable is detected ( #1933 )
...
* If `PIHOLE_DOCKER_TAG` is set in the environment then display it as Docker Tag in the versions footer. Else, don't.
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
* Update scripts/pi-hole/php/footer.php
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com >
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com >
2021-10-23 17:55:07 +02:00
yubiuser
3889c0733f
Add forgotton target _blank
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-12 12:30:45 +02:00
XhmikosR
26ec74a75a
footer.php: move FTL before Web Interface
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2021-07-31 21:13:01 +03:00
Sean F Quinn
774f95f3fa
Fixes pi-hole/AdminLTE#1796
...
Signed-off-by: Sean F Quinn <sean@esqew.com >
2021-05-06 14:02:09 -04:00
Jean-Philippe Doyle
854dab6204
Add update command & documentation link
...
Signed-off-by: Jean-Philippe Doyle <jeanphilippe.doyle@hooktstudios.com >
2021-02-25 00:10:47 -05:00
Adam Warner
8007925cd2
give the two radio buttons in custom select each an ID, and exclude them when theming radio buttons
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-09-18 09:24:33 +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
yubiuser
52d3c33c0f
Revert "Add 'seconds' to custom disable timeout modal"
...
This reverts commit c15a8ecde2 .
Signed-off-by: yubiuser <ckoenig@posteo.de >
2020-08-14 20:47:22 +02:00
yubiuser
c15a8ecde2
Add 'seconds' to custom disable timeout modal
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2020-08-03 11:42:41 +02:00
XhmikosR
36eb877a31
Tweak footer.php
...
* add a new row for the version info
* add links to the current tags
* make the updates URLs go to the latest GitHub release
* color the heart icon red
* remove "Version" from links; the tags are prefixed with "v"
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-25 21:22:18 +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
XhmikosR
b2bc0cb211
Streamline button classes and display.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-03-06 17:44:28 +02:00
XhmikosR
d0fa5c0da4
Remove unneeded end tags.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:06 +02:00
XhmikosR
e68e7719fc
Specify rel=noopener for external links.
...
See https://developers.google.com/web/tools/lighthouse/audits/noopener for more information
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-11-24 23:00:02 +02:00
Mcat12
79c7c893ac
Move footer script back to footer
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-11-10 13:55:37 -05:00
Mcat12
500b3b774c
Move dependency scripts to header
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-11-10 13:54:33 -05:00
DL6ER
f5f4e57454
Also hide the long details if only the FTL branch is set
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-12-04 21:51:44 +01:00
DL6ER
6e6151c9cd
Adding branch/version display for FTL
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-12-04 21:50:14 +01:00
WaLLy3K
c6b98655b1
Link to pi-hole.net/donate instead of PayPal
...
* Give users the option to choose their preferred donation method
* Use the heart symbol as the icon
Signed off by WaLLy3K <wally3k@pi-hole.net >
2017-10-08 00:54:56 +11:00
WaLLy3K
619f115660
Remove GitHub link in footer
2017-10-07 23:42:14 +11:00
TheME
8ab2148437
footer.php: elegantize 'Disable Custom time' modal
2017-08-27 21:24:02 +02:00
DL6ER
849b987ad9
Move update checker from header into footer ( #553 )
...
* Move update checker from header into footer
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Remove version output in dropdown menu.
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-07-27 23:13:33 +01:00
TheME
ceac8cf2d1
footer.php: edited as discussed
2017-06-04 18:41:04 +02:00
TheME
6b1ecfc31c
footer.php: improve and clean up
...
move animation-stylesheet to pi-hole.css (Have you noticed that there is even a text- and text-shadow animation set, but for webkit-browsers only)
added <!-- Version Infos -->
correct continuous hide of version info (AdminLTEs classed widths as `xs` > `sm` > `md` > `lg`)
display Donate-text alwas in one line (do not wrap in between when version info string gets very long)
2017-06-04 12:12:27 +02:00
DL6ER
49fcaed05a
Fix typo
2017-06-03 16:56:41 +02:00
DL6ER
2f218ba9eb
Major overhaul of update checker - checks only every 30 minutes to reduce number of GitHub API requests
2017-06-03 16:40:25 +02:00
TheME
cee8ea22e9
open links in new tab
2017-05-19 20:06:56 +02:00
DL6ER
30b7b0d63a
Show FTL version and update notification (if available) in footer
2017-03-26 13:42:29 +02:00
Adam Warner
80ad3bac4d
Merge pull request #406 from pi-hole/customDisable
...
Custom disable time
2017-02-19 02:02:31 +00:00
DL6ER
4f70973cbc
EUPL license ( #402 )
...
* Move whole project to EUPL, copy MIT license to scripts/vendor/ and style/vendor/
* Added header to main PHP files
* Modified scripts in scripts/pi-hole/php
* Added header to scripts/pi-hole/js files
* Added license header to our custom style script
* Slight reformulation
2017-02-18 14:20:51 +01:00
Promofaux
4bfcb3e750
formatting
2017-02-17 22:10:39 +00:00
Promofaux
ff5cf63aaf
Move modal dialog to footer.php so it works from anywhere
2017-02-17 21:01:54 +00:00
Antony Bailey
b65544639d
Set Github logo in footer to be link to Github Org
2017-02-15 21:15:15 +00:00
DL6ER
e5a9826078
Moved more private files out of the root directory
2016-12-21 21:10:21 +01:00
DL6ER
e188cb6fbc
Revert "Merge pull request #267 from pi-hole/folderStructure"
...
This reverts commit fba3d10fa4 , reversing
changes made to 4ee75f4167 .
2016-12-21 17:16:52 +01:00