DL6ER
f084fa1991
Merge pull request #1091 from pi-hole/text
...
Use `text()` for the token
2019-12-17 15:49:05 +01:00
XhmikosR
f486935eb8
Use text() for the token
...
We don't need any HTML.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-17 15:57:50 +02:00
Adam Warner
d966c7f534
Merge pull request #1073 from XhmikosR/js-2
...
Assorted JS tweaks
2019-12-16 19:21:42 +00:00
Adam Warner
6864aacca3
Merge pull request #1082 from pi-hole/header
...
header: hide `hostname` on small devices
2019-12-16 19:21:34 +00:00
XhmikosR
4b06680ba8
header: hide hostname on small devices
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-16 21:15:49 +02:00
XhmikosR
9c1846885a
Clean up JS
...
* remove unused variables/functions
* use the dot notation
* use explicit coercion
* remove unneeded else
* use `textContent` instead of `innerHTML`
* cache a few `getElementById` calls
* fix a couple of undefined variables
* various assorted lint tweaks
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-16 20:36:40 +02:00
XhmikosR
97bc779299
db_graph.js: Fix IE 11
...
IE doesn't support `Array.includes()`
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-16 19:29:24 +02:00
DL6ER
8c20ac58b9
Merge pull request #1072 from pi-hole/js
...
settings.js: fix object shorthand
2019-12-16 12:57:45 +01:00
DL6ER
3391580416
Merge pull request #1065 from pkolmann/devel
...
I have a different service running on FTL default port and so FTL ser…
2019-12-16 12:57:14 +01:00
DL6ER
52f5be0c8f
Merge pull request #992 from trimalcione/devel
...
Add DHCP leases export/import from teleporter
2019-12-16 11:22:28 +01:00
DL6ER
5388927f52
Merge pull request #1078 from pi-hole/tweak/domainlist_table
...
Change web interface to use domainlist table
2019-12-16 01:19:41 +01:00
trimalcione
03326ebe09
fix DHCP tab syncing after telereporter import
...
Signed-off-by: trimalcione <okchtioui@gmail.com >
2019-12-16 00:37:23 +01:00
XhmikosR
d91b605563
settings.js: fix object shorthand
...
This broke IE
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-11 00:30:08 +02:00
Philipp Kolmann
87ba9740f1
remove debug output
...
Signed-off-by: Philipp Kolmann <philipp@kolmann.at >
2019-12-10 21:14:09 +01:00
XhmikosR
7031d19d25
Remove unneeded escape characters
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 21:50:42 +02:00
XhmikosR
81357eb5b0
Change the no JavaScript text as per the suggestions
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 21:36:58 +02:00
XhmikosR
0cac6dc0b4
Update scripts/pi-hole/php/header.php
...
Co-Authored-By: Adam Warner <me@adamwarner.co.uk >
2019-12-09 21:36:58 +02:00
XhmikosR
0dc918e2ef
loginpage.php: use kbd since it makes more sense
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 21:36:58 +02:00
XhmikosR
0dc67fd516
loginpage.php: fix a few validation errors.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 21:36:58 +02:00
XhmikosR
d65b5be5e2
A few CSS tweaks.
...
Add utilities classes and fix a few CSS issues.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 21:36:58 +02:00
XhmikosR
5275faacb1
Lowercase hex colors.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:53:21 +02:00
XhmikosR
3c6ad4cb76
Fix a couple of HTML validation errors.
...
Also add width and height attributes in a few cases.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:53:13 +02:00
XhmikosR
f0469d1954
Move common tags together
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:53:05 +02:00
XhmikosR
b4a7d92d8c
Remove type="text/css` from stylesheet
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:55 +02:00
XhmikosR
d94ea9e8fe
Get rid of js/header.js.
...
Wrap the code in `noscript instead. Also move its CSS in `head`.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:49 +02:00
XhmikosR
cc9acd4018
Add lang="en"
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:41 +02:00
XhmikosR
0eeb71aa86
Fix meta viewport.
...
It's bad practice not allowing the user to zoom
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:34 +02:00
XhmikosR
32342cb567
Lowercase doctype and utf-8.
...
Same functionality, better compression.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:23 +02:00
XhmikosR
bc8fe9ba5b
Use code instead of samp.
...
Now it's styled.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:15 +02:00
XhmikosR
d0fa5c0da4
Remove unneeded end tags.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:52:06 +02:00
DL6ER
59cdd7e148
Remove debug output.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-12-08 23:01:02 +00:00
DL6ER
a42b5b38cf
Reinstall lost database query instruction.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-12-08 23:00:38 +00:00
Adam Warner
258ea04432
Add a class for better readability of list type within the code
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2019-12-08 18:47:30 +00:00
DL6ER
3a0a596b11
Implement necessary changes due to switching from individual to a common domainlist.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-12-08 17:42:01 +00:00
Adam Warner
a9852b8762
Merge pull request #1064 from XhmikosR/patch-4
...
Remove unused variables
2019-12-08 14:31:16 +00:00
Adam Warner
6a8eab92aa
Merge pull request #1061 from XhmikosR/devel
...
Wrap API token in `code`
2019-12-08 14:18:31 +00:00
XhmikosR
37c849ce2b
Remove unused variables
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-07 11:49:49 +02:00
Philipp Kolmann
e3fd40dbf4
I have a different service running on FTL default port and so FTL service was not properly started. I searched quite a long time to discover why the Dashboard never loaded and finally found the reason.
...
This patch counts empty lines and dies properly with a JSON error. This fixed my issue.
Also I have pi-hole running with apache2 and so no /var/log/lighttpd/error.log exists.
Fix: Try apache2 logging location and if not found then write log to a /tmp file.
Signed-off-by: Philipp Kolmann <philipp@kolmann.at >
2019-12-07 10:44:12 +01:00
XhmikosR
dbed9e8d02
Wrap API token in code
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-07 09:56:50 +02:00
DL6ER
ac4a1d0a61
Remove more dead code
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-12-04 20:46:08 +00:00
DL6ER
0cf3934b87
Merge branch 'patch-1' of https://github.com/WaLLy3K/AdminLTE into WaLLy3K-patch-1
2019-12-04 20:43:20 +00:00
trimalcione
6c04b8cb39
add DHCP static leases import from teleporter
...
Signed-off-by: trimalcione <okchtioui@gmail.com >
2019-12-02 16:21:19 +01:00
Adam Warner
54610496a1
Merge pull request #1035 from Mograine/master
...
Add ability to manage custom DNS records
2019-11-29 13:28:56 +00:00
Mograine
ee7edb5fab
Add feedback to users
...
Signed-off-by: Mograine <ghiot.pierre@gmail.com >
2019-11-27 00:40:43 +01:00
Adam Warner
e23e8ce5ee
Merge pull request #1046 from LinusCDE/devel
...
Remove remaining absolute paths
2019-11-25 19:20:54 +00:00
Adam Warner
fff357acee
Merge branch 'devel' into noopener
2019-11-25 19:18:03 +00:00
corbolais
61f02236eb
add: dhcp.leases to teleporter exported tar.gz
...
Signed-off-by: corbolais <corbolais@gmail.com >
2019-11-25 16:05:04 +01: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
XhmikosR
a95b2d34da
Update header.php
...
Use the https pi-hole.net URL
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-11-23 14:35:47 +02:00
Linus
b2f9fd0211
Remove remaining absolute paths
...
Signed-off-by: Linus <wendefelix1998@gmail.com >
2019-11-18 16:13:08 +01:00