prometheus/web
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
..
api api: add flag to skip head on snapshots 2018-03-08 13:07:12 +01:00
ui Refactor/redesign Unhealthy checkbox on Targets page (#3913) 2018-03-09 11:19:09 +01:00
federate.go *: implement query params 2018-02-13 12:17:22 +01:00
federate_test.go use httptest.NewRequest, remove http.ReadRequest (#3557) 2017-12-07 23:52:50 +08:00
web.go Add golang runtime information to status page. (#3914) 2018-03-07 15:14:46 +00:00
web_test.go fatalf is not thread safe so using panic instead (#3680) 2018-01-13 10:37:38 +00:00