Documentation
¶
Overview ¶
Package web holds the server-rendered templates and static assets for the read-only UI. No JavaScript, no build step.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FaviconSVG []byte
View Source
var StyleCSS []byte
Functions ¶
func Pages ¶ added in v1.11.0
func Pages() []string
Pages lists the page template names, for tests that render each one.
func Render ¶
Render executes the named page template with the shared layout.
func TemplateSource ¶ added in v1.13.2
TemplateSource returns a template's raw text, for tests that inspect the markup rather than the rendered output — an accessibility rule about labels and ids is a property of the source, and holds whatever data a page is given.
Types ¶
This section is empty.
Source Files
¶
- web.go
Click to show internal directories.
Click to hide internal directories.