Documentation
¶
Overview ¶
templ: version: v0.3.977
Code generated by scripts/gen_assets.sh; DO NOT EDIT.
templ: version: v0.3.977
Index ¶
- Constants
- func FilterGuide(fields []core.Field) templ.Component
- func FormatValue(record *core.Record, column string) templ.Component
- func FormatValueWithCopy(record *core.Record, column string) templ.Component
- func InlineCopyButton(recordId string) templ.Component
- func LandingMarkdown(collections []string, prefix string) string
- func LandingPage(collections []string, prefix string) string
- func LandingView(collections []string, prefix string) templ.Component
- func Markdown(records []*core.Record, columns []string, params ServerParams) string
- func SingleRecordMarkdown(record *core.Record, columns []string) string
- func SortIcon(direction string) templ.Component
- func Static(filename string) (content string, contentType string, err error)
- func TablePage(collection string, records []*core.Record, columns []string, ...) string
- func TableRow(record *core.Record, columns []string) templ.Component
- func TableRowHTML(record *core.Record, columns []string) string
- func TableView(collection string, records []*core.Record, columns []string, prefix string, ...) templ.Component
- type SEOData
- type ServerParams
Constants ¶
const ( StyleHash = "style.f39fe0c776d13ff8.css" TableJSHash = "table.9f088e59066d2987.js" TanstackHash = "tanstack-table.esm.611d637e1af96e21.js" )
Static asset filenames with content hashes for cache busting.
Variables ¶
This section is empty.
Functions ¶
func FormatValue ¶
FormatValue renders the field value with appropriate formatting
func FormatValueWithCopy ¶
FormatValueWithCopy renders the field value with a copy button
func InlineCopyButton ¶
Inline copy button for ID column - replaces dropdown with simple copy symbol
func LandingMarkdown ¶
LandingMarkdown generates a markdown landing page with documentation.
func LandingPage ¶
LandingPage generates a simple landing page listing collections using Templ.
func LandingView ¶
Landing Page Component
func Markdown ¶
func Markdown(records []*core.Record, columns []string, params ServerParams) string
Markdown generates a markdown table from records.
func SingleRecordMarkdown ¶
SingleRecordMarkdown generates markdown for a single record.
func TablePage ¶
func TablePage(collection string, records []*core.Record, columns []string, prefix, customCSS string, params ServerParams, fields []core.Field, seo SEOData) string
TablePage generates an interactive HTML table view using Templ.
func TableRowHTML ¶
TableRowHTML renders a single table row as HTML for realtime updates.