package static

import "github.com/purpleidea/mgmt/engine/resources/http_server_ui/static"

Package static contains some optional embedded data which can be useful if we are running from an entirely offline, internet-absent scenario.

Index

Constants

const (
	// HTTPServerUIIndexBootstrapCSS is the path to the bootstrap css file
	// when embedded, relative to the parent directory.
	HTTPServerUIIndexBootstrapCSS = "static/bootstrap.min.css"

	// HTTPServerUIIndexBootstrapJS is the path to the bootstrap js file
	// when embedded, relative to the parent directory.
	HTTPServerUIIndexBootstrapJS = "static/bootstrap.bundle.min.js"
)
const (
	// HTTPServerUIStaticEmbedded specifies whether files have been
	// embedded.
	HTTPServerUIStaticEmbedded = false
)

Variables

var (
	// HTTPServerUIIndexStaticBootstrapCSS is the embedded data. It is empty
	// here.
	HTTPServerUIIndexStaticBootstrapCSS []byte

	// HTTPServerUIIndexStaticBootstrapJS is the embedded data. It is empty
	// here.
	HTTPServerUIIndexStaticBootstrapJS []byte
)

Source Files

noembed.go static.go

Version
v0.0.0-20250609011654-777ea6115b20 (latest)
Published
Jun 9, 2025
Platform
linux/amd64
Last checked
6 days ago

Tools for package owners.