Modules§
Structs§
- Login
Input - UiState
- Generic state for both setup and dashboard UIs
Constants§
Functions§
- card_
layout 🔒 - check_
tcp_ 🔒connect - common_
head - connectivity_
check_ handler - Handler that checks internet connectivity by attempting TCP connections
to well-known anycast IPs and returns an HTML fragment.
Manually checks auth cookie to avoid
UserAuthextractor’s redirect, which would cause htmx to swap the entire login page into the widget. - connectivity_
widget - Fixed-position div that loads the connectivity status fragment via htmx.
- copiable_
text - Renders a readonly input with a copy-to-clipboard button using Bootstrap’s input-group pattern.
- dashboard_
layout - login_
form - login_
submit_ response - single_
card_ layout