prometheus/web/ui
Simon Pasquier cf6890a3a8
web/ui: bump jQuery to 3.5.1 for the legacy UI (#7447)
jQuery prior to 3.4.0 is affected by an Object.prototype pollution
vulnerability (CVE-2019-11358). Even though our code doesn't seem to be
vulnerable to the issue, lets upgrade to the latest jQuery release so we
don't have to bother.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-06-24 16:14:28 +02:00
..
react-app REACT UI: CollapsibleAlertPanel - value field more friendly human readable (scientific notation -> number) (#7426) 2020-06-23 20:10:56 +02:00
static web/ui: bump jQuery to 3.5.1 for the legacy UI (#7447) 2020-06-24 16:14:28 +02:00
templates web/ui: bump jQuery to 3.5.1 for the legacy UI (#7447) 2020-06-24 16:14:28 +02:00
README.md Update more web/ui/README.md bits for new UI (#6197) 2019-10-25 10:19:21 +02:00
assets_generate.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
doc.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
ui.go Fix golint issues. 2020-03-23 20:38:43 +01:00

README.md

The ui directory contains static files and templates used in the web UI. For easier distribution they are statically compiled into the Prometheus binary using the vfsgen library (c.f. Makefile).

During development it is more convenient to always use the files on disk to directly see changes without recompiling. To make this work, remove the builtinassets build tag in the flags entry in .promu.yml, and then make build (or build Prometheus using go build ./cmd/prometheus).

This will serve all files from your local filesystem. This is for development purposes only.