Commit Graph

12 Commits

Author SHA1 Message Date
XhmikosR
d3619bb5d5 interfaces: switch to vanilla JS and refactor code to reduce complexity/improve readability
Only the bstreeview plugin is using jQuery.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-28 08:26:06 +03:00
XhmikosR
756239a6dd xo: enable strict mode
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 20:50:12 +03:00
XhmikosR
f8a0a1d4ec Tighten xo rules
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 07:53:13 +03:00
DL6ER
b524a2f4b6 Always use document.body.dataset.apiurl instead of the intermediate const apiUrl
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 22:00:16 +02:00
DL6ER
5f3bcdac3c Merge branch 'development' into new/web_prefix
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-09 20:15:59 +01:00
RD WebDesign
90f71a442e Use an arrow to indicate child interfaces
- Add and format the arrow
- Remove the icon used to indent child interfaces (the arrow is enough)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-08 14:28:10 -03:00
DL6ER
4ee9c83d9c Sort interfaces:
- interfaces that do not depend on others (and have no children) are placed at the top of the treeview
 - interfaces that do have children get them directly assigned below them

Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 18:42:06 +01:00
DL6ER
0af76428f5 Show state, not carrier behind interface in the Pi-hole interface overview
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 04:24:11 +01:00
DL6ER
a7f1ca7800 Allow path prefix multiplexing the dashboard and API. See https://github.com/pi-hole/FTL/pull/2319 for further details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-02 20:20:10 +01:00
RD WebDesign
9d49c618b9 Tweak margin and padding to achieve better indentation alignment
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-01-27 17:21:49 -03:00
yubiuser
b7b9227b3a Fix max-depth error
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-12-07 16:09:47 +01:00
yubiuser
1e922a8b29 Move all files from /scripts/pi-hole/ to /scripts/
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:22:09 +01:00