prometheus/web/ui
James Turnbull c3f4f2204f Refactor/redesign Unhealthy checkbox on Targets page (#3913)
* Added only healthy to Targets

This adds a "Only heathly" button to supplement the "Only unhealthy"
button. The two are mutually exclusive.

I've also added a red/green text color to the buttons.

Arguably this could be a toggle instead if folks think this is
worthwhile... Happy to modify it.

* Moved functions above init

* Simplifed code and made prettier

* Appeased codeacy

* Made buttons square
2018-03-09 11:19:09 +01:00
..
static Refactor/redesign Unhealthy checkbox on Targets page (#3913) 2018-03-09 11:19:09 +01:00
templates Refactor/redesign Unhealthy checkbox on Targets page (#3913) 2018-03-09 11:19:09 +01:00
README.md Place Service Discovery labels inline (#3872) 2018-02-24 19:44:37 +00:00
bindata.go Refactor/redesign Unhealthy checkbox on Targets page (#3913) 2018-03-09 11:19:09 +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 run make assets for this to work. This will put go-bindata in DEBUG mode where it serves from your local filesystem. This is for development purposes only.

After making changes to any file, run make assets (without the DEBUG=1) before committing to update the generated inline version of the file.