prometheus/web/ui
Karsten Weiss 5f5d77848e Fix 'predefined escaper "html" disallowed in template' in `/targets` (#3046) (#3050)
Issue #3046 is triggered by html/template changes in go1.9.

See https://tip.golang.org/pkg/html/template. Quote:

//   To ease migration to Go 1.9 and beyond, "html" and "urlquery" will
//   continue to be allowed as the last command in a pipeline. However, if the
//   pipeline occurs in an unquoted attribute value context, "html" is
//   disallowed. Avoid using "html" and "urlquery" entirely in new templates.

The commit also includes a trivial whitespace fix.
2017-08-11 18:31:46 +01:00
..
static Allow to collapse jobs at `/targets` page (#2628) 2017-08-09 17:10:30 +02:00
templates Fix 'predefined escaper "html" disallowed in template' in `/targets` (#3046) (#3050) 2017-08-11 18:31:46 +01:00
README.md Minor fixups to web/ui/README.md 2015-11-12 02:54:14 +01:00
bindata.go Fix 'predefined escaper "html" disallowed in template' in `/targets` (#3046) (#3050) 2017-08-11 18:31:46 +01:00

README.md

The ui package contains static files and templates used in the web UI. For easier distribution they are statically compiled into the Prometheus binary using the go-bindata tool (c.f. Makefile).

During development it is more convenient to always use the files on disk to directly see changes without recompiling. Set the environment variable DEBUG=1 and compile Prometheus for this to work. This is for development purposes only.

After making changes to any file, run make assets before committing to update the generated inline version of the file.