Commit Graph

26 Commits

Author SHA1 Message Date
XhmikosR
1728aa4153 disabled and checked are boolean attributes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-04 10:08:26 +03:00
XhmikosR
2dd128fbfb Revert the defer addition for now
There are still cases we are getting TypeErrors. We should try again after grouping our assets together in all pages.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-03 07:52:28 +03:00
DL6ER
58616bc8af Remove remaining hard-coded /admin/ paths in the webinterface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 21:43:57 +02:00
XhmikosR
1acb80536b Refactor assets loading
* move fonts first
* move CSS and JS along with the rest
* move default auto theme media checks to the HEAD instead of imports

Also, use `script defer`. This makes the JS files non-blocking.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 07:08:37 +02:00
yubiuser
847719abc3 Updated run gravity message when importing config in Teleporter (#3312) 2025-03-09 23:05:46 +01:00
Justin Mui
33a97e9763 Update settings-teleporter.lp
Updated the "Please run gravity" message when importing config in Teleporter to the correct name of the Update Gravity page.

Signed-off-by: Justin Mui <jmui@jmui.net>
2025-03-09 16:34:53 -05:00
DL6ER
a5e2c627a4 Move the decision whether we are showing the no-HTTPS warning from server-side (where no https may be used when a reverse proxy is used) to user-side where this is more definite
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 19:58:57 +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
yubiuser
4c21641663 Unify vendor file location
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:12:11 +01:00
Dominik
5b1b54195a Add selective Teleporter options (#2999) 2024-04-07 20:35:27 +02:00
RD WebDesign
6f65368759 Settings Page - Apply small adjustments
- consistent indentation and widths for fields and labels
- use class `form-control` to format every form field
- add some line breaks to improve readability

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-04-02 21:28:26 -03:00
DL6ER
88fb2fc3ca Add selective Teleporter options
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-02 22:00:29 +02:00
Dominik
7d51f40274 Tweak settings level and add changed-only toggle (#2882) 2024-03-17 20:35:47 +01:00
DL6ER
5f8102fd66 Use MIME type instead of explicit filetype endings during the file selection of the Teleporter input field. Even when the latter should be fine according to the standards, Safari (and, in general, any browser on Mac) seems to ignore this and support only mimetype-based selections. This is backed by several similar reports on Stackoverflow over the past couple of years.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-28 17:59:52 +01:00
DL6ER
2f44fc63cc Merge branch 'development-v6' into tweak/settings_changed_only
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 10:14:49 +01:00
Adam Warner
3b0359cab5 Add support for legacy Teleporter archives (#2858)
Add support for legacy Teleporter archives
2024-01-11 08:29:16 +00:00
DL6ER
ceb1118c0b Add settings level and only-changed settings toggle
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 13:10:18 +01:00
RD WebDesign
3e86cbd9ad Replace some P elements with DIV
P element can't be parent of P or UL elements. DIV element can.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 00:27:21 -03:00
DL6ER
c0dd62fdbd There is no API token any longer, leaking the password hash in a public place is probably safe (you should still prevent this from happening)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-20 19:59:36 +01:00
DL6ER
84d177e7b3 Also accept .tar.gz archives
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-20 19:54:36 +01:00
DL6ER
db3fcb4fb9 Show extra info alert on successful import to remind users they should run gravity's update
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-03 18:52:08 +01:00
DL6ER
da1fb92915 Restore Teleporter functionality. Concerning compatibility, https://caniuse.com/url tells us it can be used iny any sufficiently recent browser except IE and Opera Mini
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-11 22:37:23 +02:00
RD WebDesign
b26dcf36b8 Settings pages: move level selector from top bar and add page titles
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-19 00:39:35 -03:00
DL6ER
a85f0b3518 Show warning on login page when connection is not end-to-end encrypted
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-28 14:28:15 +02:00
DL6ER
4f8dbb9c56 Fix teleporter buttons being cropped in boxed layout
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-28 08:29:25 +02:00
DL6ER
9c1085d7ed Implement settings-teleporter.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-10 11:01:31 +02:00