Documentation ¶
Overview ¶
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
Index ¶
- func AddNode() templ.Component
- func Alert(status, message string) templ.Component
- func BaseLayout(m Meta, cmp templ.Component) templ.Component
- func BlankLayout(cmp templ.Component) templ.Component
- func DtPagination(url, hxTarget string, q interface{}, p paging.Pagination) templ.Component
- func DtRefreshInterval(url, hxTarget, interval string, q interface{}) templ.Component
- func DtReload(url, hxTarget string, q interface{}) templ.Component
- func DtRowCount(currentPage, rowsPerPage, totalRows int) templ.Component
- func DtRowPerPage(url, hxTarget string, rowsPerPage int, q interface{}) templ.Component
- func DtThSort(url, hxTarget, title, expectedSort, sortBy, sortDir string, q interface{}) templ.Component
- func EmbedAssets() fiber.Handler
- func Home() templ.Component
- func ModalLayout(title string, cmp templ.Component) templ.Component
- func Node(data monero.Node) templ.Component
- func NodeDetails(data monero.Node, logs monero.FetchLogs, q monero.QueryLogs, ...) templ.Component
- func RemoteNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryNodes, ...) templ.Component
- func TableLogs(hxPath string, data monero.FetchLogs, q monero.QueryLogs, p paging.Pagination) templ.Component
- func TableNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryNodes, ...) templ.Component
- type Meta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DtPagination ¶
func DtPagination(url, hxTarget string, q interface{}, p paging.Pagination) templ.Component
func DtRefreshInterval ¶
func DtRowCount ¶
func DtRowPerPage ¶
func DtThSort ¶
func DtThSort(url, hxTarget, title, expectedSort, sortBy, sortDir string, q interface{}) templ.Component
Sort TH table
URL: Where the URL to get the results is HxTarget: Where the results will be displayed Title: The title of the column ExpectedSort: The expected sort, used to determine the sort direction indicator SortBy: The current sort by SortDir: The current sort direction Q: The current query
func EmbedAssets ¶
func EmbedAssets() fiber.Handler
func NodeDetails ¶
func RemoteNodes ¶
func RemoteNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryNodes, p paging.Pagination) templ.Component
func TableNodes ¶
func TableNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryNodes, p paging.Pagination) templ.Component
Types ¶
Click to show internal directories.
Click to hide internal directories.