XhmikosR
ae13014565
Adapt to the new rules.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-04-10 18:34:47 +00:00
DL6ER
a64810e00e
Merge branch 'release/v5.0' into devel
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-04-08 12:25:18 +02:00
DL6ER
a99bfeaa6c
Set hostname to italic unknown if not available
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-03-12 19:27:08 +00:00
DL6ER
d89b13cf6c
Hide mock hardware addresses
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-03-12 19:25:43 +00:00
DL6ER
4228d88336
xo does neither like const nor let. Use var everywhere.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-02-03 23:16:49 +01:00
DL6ER
86f56ee5df
Make IP addresses links that send to the Query Log.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-02-03 22:51:15 +01:00
Ghalid
d93f1a22cb
Remove autocorrect in search boxes on groups
...
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
2020-01-19 13:12:57 -05:00
Ghalid
050fdb1c34
Merge branch 'devel' into patch-1
...
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
2020-01-19 12:49:36 -05:00
XhmikosR
704c352277
Format JS code
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-01-02 19:42:18 +02:00
XhmikosR
25af37509e
length cannot be negative
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-29 10:13:50 +02:00
Ghalid
1df9c4049b
There should only be one search input on each page so there doesn't need to be an array anyway, remove arrow functions as per https://github.com/pi-hole/AdminLTE/pull/1100\#pullrequestreview-335618314
...
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
Remove const
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
2019-12-21 14:51:34 -05:00
Ghalid
40d7e1498e
Disable autocorrect in search boxes
...
Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com >
2019-12-21 12:06:48 -05: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
5275faacb1
Lowercase hex colors.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2019-12-09 16:53:21 +02:00
Adam Warner
b7d3ddd2b0
Merge branch 'devel' into release/v4.3.2
2019-09-22 00:58:42 +01:00
DL6ER
83013993cd
Also show "N/A" if the name column is NULL
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-09-12 21:05:50 -04:00
DL6ER
a027715247
Move ip-address-sorting into its own file
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-09-12 21:05:49 -04:00
DL6ER
f830bfbc7b
Add IP address sorting for the network table, based on https://datatables.net/plug-ins/sorting/ip-address
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-09-12 21:05:48 -04:00
DL6ER
c8086b4239
Check fields against null before trying to obtain their lengths.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-09-12 21:05:47 -04:00
DL6ER
f0458e518a
Disable ordering by IP address as this is not really meaningful if we have multiple IPs in each row
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-06-14 19:19:53 +02:00
DL6ER
425b6ba5a7
Show at only the three most recent IP addresses for each device. The hover text of contains all IP addresses.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-06-14 19:17:52 +02:00
DL6ER
0e2d30dd11
Also show "N/A" if the name column is NULL
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-05-30 12:48:53 +02:00
DL6ER
dddc791052
Move ip-address-sorting into its own file
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-05-30 12:44:09 +02:00
DL6ER
5f79025cc9
Add IP address sorting for the network table, based on https://datatables.net/plug-ins/sorting/ip-address
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-05-30 12:30:55 +02:00
DL6ER
09eb4f5dc3
Check fields against null before trying to obtain their lengths.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-05-30 12:24:43 +02:00
Adam Warner
0d0d44939d
Set "orderable" to false on last column, as sorting does not work here!
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2019-05-02 21:58:14 +01:00
DL6ER
d07eafc964
Review comments
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-01-07 18:56:56 +01:00
DL6ER
496af21131
Javascript optimizations
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-01-06 20:56:06 +01:00
DL6ER
93b4513980
Display vendor information for devices where available
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-12-31 00:23:09 +01:00
DL6ER
cfc3cba10c
Make the client column clickable and send the user to the correspondignly filtered Query Log page on click
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-12-29 20:48:07 +01:00
DL6ER
67b67de4a9
Add "uses Pi-hole" column
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-12-28 12:15:16 +01:00
DL6ER
7030a33d26
Use localized integers for numbers
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-12-27 15:14:45 +01:00
DL6ER
aa38b98ebc
Add network details page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-12-27 15:07:59 +01:00