prometheus/web/ui
James Turnbull 816d755956 Added "No rules" to Web UI (#3834)
When you have no alerting rules defined you get a screen sharing this
information in the WebUI. If no rules are defined then you instead see
an empty white screen. This adds a "No rules" defined `else` clause and
a `Rules` header to the page.
2018-02-13 14:51:34 +07:00
..
static Fix: Improve typeahead on /graph page (#3742) 2018-02-02 19:16:29 +01:00
templates Added "No rules" to Web UI (#3834) 2018-02-13 14:51:34 +07:00
bindata.go Added "No rules" to Web UI (#3834) 2018-02-13 14:51:34 +07:00
README.md Minor fixups to web/ui/README.md 2015-11-12 02:54:14 +01:00

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.