Commit Graph

10 Commits

Author SHA1 Message Date
XhmikosR
7e2b48adcc Remove unneeded console.log
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 10:39:13 +03:00
XhmikosR
bf4ba1b5b9 Use $ instead of jQuery.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-27 11:56:02 +03:00
DL6ER
a0bd88c7ef Add proper IP sorting to the groups->client table. Also implement subnet (CIDR notation) support into our existing IP sorting algorithm. This fixes #1268.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-11 23:53:24 +02:00
XhmikosR
ae13014565 Adapt to the new rules.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-10 18:34:47 +00:00
DL6ER
fa6033ab56 Sort by first IP if multiple IPs are available for a given device.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-01-20 19:03:00 +01:00
XhmikosR
704c352277 Format JS code
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-01-02 19:42:18 +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
DL6ER
611db2b4a9 Add source URL to the JS file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-05-30 17:27:31 +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