Skip to main content

Crate fedimint_ui_common

Crate fedimint_ui_common 

Source

Modules§

assets
auth

Structs§

LoginInput
UiState
Generic state for both setup and dashboard UIs

Constants§

CONNECTIVITY_CHECK_ROUTE
LOGIN_ROUTE
ROOT_ROUTE

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 UserAuth extractor’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
single_card_layout_with_version
Variant of single_card_layout that renders a version footer at the bottom of the page.
version_footer
Renders the version line shown at the bottom of guardian admin pages. version_hash is rendered next to the version in monospace when present.