static

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package static embeds the serve-mode web UI's static assets (compiled CSS and self-hosted fonts) into the binary at build time, so the single binary serves the UI offline without needing the web/static directory on disk.

The embed directive cannot reach up out of its own directory tree, so it lives here inside web/static rather than in internal/web (mirrors stillwater's web/static/embed.go). internal/web wraps FS into the HTTP handler.

Index

Constants

This section is empty.

Variables

FS holds every static asset under web/static except Go sources. The css directory carries the Tailwind output (output.css) plus its sources; fonts carries the woff2 files and their OFL license texts; js carries the vendored htmx runtime (htmx.min.js, 0BSD) and Chart.js (chart.umd.min.js, MIT, pinned v4.4.9) plus the dashboard chart init (chart-init.js) and their license texts.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL