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
This commit is contained in:
James Turnbull 2018-03-09 05:19:09 -05:00 committed by Julius Volz
parent 56ed29fbf7
commit c3f4f2204f
4 changed files with 72 additions and 88 deletions

View file

@ -126,7 +126,7 @@ func webUiTemplates_baseHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/_base.html", size: 2955, mode: os.FileMode(420), modTime: time.Unix(1517034277, 0)}
info := bindataFileInfo{name: "web/ui/templates/_base.html", size: 2955, mode: os.FileMode(420), modTime: time.Unix(1513664664, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -146,7 +146,7 @@ func webUiTemplatesAlertsHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/alerts.html", size: 2533, mode: os.FileMode(420), modTime: time.Unix(1519911031, 0)}
info := bindataFileInfo{name: "web/ui/templates/alerts.html", size: 2533, mode: os.FileMode(420), modTime: time.Unix(1520297719, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -166,7 +166,7 @@ func webUiTemplatesConfigHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/config.html", size: 175, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/templates/config.html", size: 175, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -186,7 +186,7 @@ func webUiTemplatesFlagsHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/flags.html", size: 433, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/templates/flags.html", size: 433, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -206,7 +206,7 @@ func webUiTemplatesGraphHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/graph.html", size: 2296, mode: os.FileMode(420), modTime: time.Unix(1517034277, 0)}
info := bindataFileInfo{name: "web/ui/templates/graph.html", size: 2296, mode: os.FileMode(420), modTime: time.Unix(1514278535, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -226,7 +226,7 @@ func webUiTemplatesRulesHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/rules.html", size: 989, mode: os.FileMode(420), modTime: time.Unix(1519329727, 0)}
info := bindataFileInfo{name: "web/ui/templates/rules.html", size: 989, mode: os.FileMode(420), modTime: time.Unix(1518537069, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -246,7 +246,7 @@ func webUiTemplatesServiceDiscoveryHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/service-discovery.html", size: 2528, mode: os.FileMode(420), modTime: time.Unix(1519919461, 0)}
info := bindataFileInfo{name: "web/ui/templates/service-discovery.html", size: 2528, mode: os.FileMode(420), modTime: time.Unix(1520297719, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -266,12 +266,12 @@ func webUiTemplatesStatusHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/status.html", size: 2034, mode: os.FileMode(420), modTime: time.Unix(1520343824, 0)}
info := bindataFileInfo{name: "web/ui/templates/status.html", size: 2034, mode: os.FileMode(420), modTime: time.Unix(1520481515, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _webUiTemplatesTargetsHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x56\x51\x6f\xdb\x36\x10\x7e\xf7\xaf\x38\x68\xc6\xb0\x01\x95\x85\xf6\x31\x93\x35\x60\x5b\x81\x0e\xc8\xb6\xac\x69\xf7\xb0\x97\x82\x12\xcf\x16\x13\x86\xd4\xc8\x93\x17\x83\xe5\x7f\x1f\x48\x4a\xb2\x6c\xc7\x59\xb3\x87\x3d\xc4\xd0\x91\x77\x1f\xef\x3b\x7e\xbc\x8b\x73\x1c\x37\x42\x21\x64\x2d\x32\x9e\x79\xbf\x28\xa5\x50\xf7\x40\xfb\x0e\xd7\x19\xe1\x23\x15\x8d\xb5\x19\x18\x94\xeb\xcc\xd2\x5e\xa2\x6d\x11\x29\x83\xd6\xe0\x66\x9d\x39\x07\x1d\xa3\xf6\xc6\xe0\x46\x3c\x82\xf7\x85\x25\x46\xa2\x09\x31\x05\x31\xb3\x45\xb2\xab\xc6\xda\xef\x77\x6b\xe7\xa0\xee\x85\xe4\x7f\xa0\xb1\x42\x2b\xf0\x3e\xab\x16\xa5\x6d\x8c\xe8\x08\xac\x69\x2e\x63\xdd\x1d\xa0\xee\x2e\x21\x95\x45\x42\xaa\x16\xce\xa1\xe2\xde\x2f\x16\x8b\x03\xb5\x46\x2b\x42\x45\x81\x1d\x40\xc9\xc5\x0e\x1a\xc9\xac\x5d\xc7\x0d\x26\x14\x9a\x7c\x23\x7b\xc1\xb3\x6a\x01\x00\x50\xb6\xaf\xab\x0f\xe9\xc4\xb2\x68\x5f\x0f\x8b\xb3\xb0\x8d\x90\x84\xc6\x0e\xee\x50\xd6\x3d\x91\x56\x43\xcd\x92\x91\x8d\xbe\x43\xea\x50\x93\x0a\x7f\x79\x67\xc4\x03\x33\x7b\xe8\x55\x8b\x4c\x52\xbb\xcf\x07\x8f\x11\x2d\x00\x8a\x31\x7a\x2b\xf7\x5d\x2b\x1a\xad\x60\xfa\xca\x7b\xd5\xb4\xd8\xdc\x23\x0f\xb4\x45\x05\xbf\x29\x39\x83\x83\x3b\x5d\xdb\x01\xa9\x2c\x52\x32\x03\x83\x82\x8b\x5d\xb5\x88\xdf\xce\x19\xa6\xb6\x08\xcb\x3b\x5d\xbf\x82\x65\xa7\xb5\x84\xab\x35\xac\x12\xed\x1b\xad\xa5\x8d\xc5\x0a\x9e\xcb\x11\xf9\x6a\x0d\xaa\x7f\x78\x37\x58\x31\xe8\xe0\x44\x9a\x58\xc4\x90\xa8\xa6\xbd\xb3\xca\x11\xab\x25\xe6\x53\xd9\x27\xce\x65\xfb\x66\x74\xb9\xd3\xf5\xa7\xa0\x45\x34\xce\x89\x0d\x48\x82\x29\x81\x74\x88\xf7\xc0\x43\xf2\x66\xb8\xea\x79\xe1\x18\x08\x1e\x21\x72\xe7\x02\x37\xef\x47\xa5\x7e\x75\xb4\x58\x8d\x5f\xf0\xcd\x81\xa0\xf7\xc5\x48\xc4\x7b\xe8\xbb\x6f\xcb\x82\xcd\xb0\xbf\xe4\x96\xf1\xb1\x63\x8a\x23\xcf\x23\xd1\xd3\x4b\xcf\x2a\xdb\xea\xbf\x41\xa2\xb5\xc7\x57\x13\x2e\xa7\x7d\x33\x7d\xa7\xe0\x79\xc9\x60\x2a\x1c\x47\x65\x91\x0f\x76\xad\x0d\x47\x33\x99\x96\x8c\xe8\x26\xab\xd5\xbb\x59\x85\x03\x6c\x28\xeb\xbc\xcc\x1c\x89\x09\x39\x57\x5e\xf0\x32\x73\x33\x86\x55\x6f\x15\xef\xb4\x50\x54\x16\xd4\x9e\xef\xde\x12\x23\x7c\x7a\xeb\x9a\xd5\x28\xed\xa5\x3d\x4b\x70\xdb\x18\xd6\x5d\x08\x7e\x6b\x8c\x36\xa7\x5b\x65\x31\x4f\x30\xec\x22\xe3\x73\x92\xb5\xe6\xfb\x83\x3d\x09\x7d\xa6\xd6\x8b\x44\xa7\xe2\xe0\xc0\x37\x3b\xf6\x88\x02\x1b\x1b\xdf\xea\xe3\xfb\x6b\xf8\x0c\x5b\xa9\x6b\x26\x3f\xbe\xbf\x4e\xaa\x0a\xab\xab\xdb\xa6\xc5\x07\xf4\xfe\xaa\x28\x86\x95\x77\xda\x92\xf7\x83\x71\xc3\xa8\xf5\x3e\x88\xab\xac\xcd\xe9\x09\x53\xc2\x32\x94\xee\x15\x2c\x77\x4c\xf6\x68\xe3\xeb\x0c\xc1\xbf\xf7\x68\xf6\x70\xc4\xe4\x24\x50\x8c\x41\x21\x66\x08\x7f\xc2\x1f\xa0\xb4\x1d\x53\x23\xe5\x78\x1c\xc4\xdf\x83\x5c\x9d\x4b\x69\x78\x1f\x18\x27\x2c\xef\xb3\xb2\x08\x91\xa7\x99\x87\x14\x52\xef\xfd\xf7\xd5\xb2\x20\x7e\xb1\xfa\xa1\xef\xe3\x79\xe9\xe7\xd9\x32\x89\x86\x20\xfe\xe6\xce\xc1\x2a\x35\x25\xf8\x0c\xe9\x29\x7f\xd0\x3f\x06\x3f\xf0\x1e\x22\xd8\x27\xa1\xb8\x68\x18\x69\x03\x61\xa4\xe5\x7d\xd7\xa1\x69\x98\x3d\x3f\x25\xa4\x3b\xa0\x9d\x11\x79\x8a\xf6\xb3\x44\x62\xed\xec\xf3\x4c\x9a\xde\x58\x6d\xf2\x28\x37\x34\x19\x70\x46\x2c\x27\xbd\xdd\xca\x30\x7f\xb5\x96\x24\xba\x0c\x48\x50\xb0\x87\xed\x96\x1e\xe4\x9a\x4c\x8f\xc9\xd4\x46\x6c\x85\x62\x32\x1f\xbc\xca\xba\xfa\x01\x37\xda\x60\x98\xda\x21\x05\xa1\xb6\x57\x65\x51\x57\x93\x44\xee\x83\x44\xa2\xa4\x7e\x12\xb6\x09\x7d\x02\x79\x7a\xaa\xab\x5f\x58\xe7\x7d\xd0\xa5\x73\x4b\xdc\x25\x09\x85\xba\xd2\x83\x0c\x02\x5e\xde\x7b\xbf\xfe\xfa\xaf\x5e\xd3\x77\xd1\xc1\xfb\xd1\x38\xed\xc5\x87\x7a\x26\x0d\x45\x09\xc7\x0e\x95\x4e\x82\xd5\xe1\x44\x08\xed\x28\x7b\x4e\xd4\x47\xaf\x21\x66\x95\x40\xff\x37\x61\x4b\x8b\x2f\x3b\x8b\xe3\x86\xf5\x92\xb2\x4a\x69\x85\x2f\x7b\x31\xff\x41\x68\x96\x72\x1b\x5b\xe9\xd9\x0d\xc4\x29\xba\x0a\xcd\x36\xf5\xda\xd5\xcf\xf6\x4f\x34\xda\xfb\x5f\x71\x17\x67\x68\x64\xe6\x9c\x15\xaa\xc1\xb9\xa3\xf7\xc0\xb6\xfa\xc5\xaf\x17\x43\xd7\x3e\x17\xfd\x21\x8d\xd8\xd6\xcf\x39\x5f\x7a\xde\x69\xd6\x9f\xbe\xe3\xd8\x6b\x67\x68\x4f\x17\xf8\x4b\x92\x3f\x1e\x28\xa7\x11\x65\x71\x34\x50\xca\x22\xce\xd6\xa3\x7f\xa8\x52\x18\xa0\xe2\xa9\x2d\x0f\xcb\x23\xd2\x3f\x01\x00\x00\xff\xff\x4d\x7a\x70\x17\x62\x0b\x00\x00")
var _webUiTemplatesTargetsHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x56\x5f\x8f\xdb\x36\x0c\x7f\xcf\xa7\x20\xbc\x60\xd8\x80\x3a\x46\xfb\xd8\xd9\x1e\xf6\xa7\x40\x07\x74\x43\xd7\xeb\xed\x61\x2f\x85\x6c\x31\xb1\xee\x14\xc9\x93\xe8\xec\x02\x57\xdf\x7d\x90\xe4\x7f\x49\x2e\xb7\xde\x1e\xf6\x12\x84\x12\x49\xfd\x48\xfe\x48\xba\xef\x39\x6e\x85\x42\x48\x1a\x64\x3c\x71\x6e\x95\x4b\xa1\xee\x81\x8e\x2d\x16\x09\xe1\x03\x65\xb5\xb5\x09\x18\x94\x45\x62\xe9\x28\xd1\x36\x88\x94\x40\x63\x70\x5b\x24\x7d\x0f\x2d\xa3\xe6\xbd\xc1\xad\x78\x00\xe7\x32\x4b\x8c\x44\xed\x6d\x32\x62\x66\x87\x64\x37\xb5\xb5\xdf\x1f\x8a\xbe\x87\xaa\x13\x92\xff\x81\xc6\x0a\xad\xc0\xb9\xa4\x5c\xe5\xb6\x36\xa2\x25\xb0\xa6\xbe\xee\xeb\x6e\x76\x75\x77\xcd\x53\x9e\x45\x4f\xe5\xaa\xef\x51\x71\xe7\x56\xab\xd5\x1c\x5a\xad\x15\xa1\x22\x1f\x1d\x40\xce\xc5\x01\x6a\xc9\xac\x2d\xc2\x05\x13\x0a\x4d\xba\x95\x9d\xe0\x49\xb9\x02\x00\xc8\x9b\x97\xe5\xc7\xf8\x62\x9e\x35\x2f\x87\x43\x6f\x26\x78\x91\xd8\x46\xff\x3d\xdc\x26\xa3\x9f\x8a\x54\xba\x33\xba\x6b\x13\xe0\x8c\x58\x4a\x7a\xb7\x93\x58\x24\x55\x47\xa4\x95\x1d\xfc\x02\xe4\x92\x55\x28\x17\x56\xe0\x2d\x5b\x23\xf6\xcc\x1c\x81\xd5\x24\x0e\x38\x29\x03\xe4\x42\xb5\x1d\x0d\xb5\x30\x8c\x0b\x9d\x80\x62\x7b\x5f\x98\x11\x80\x47\xc4\xa4\x4c\xa7\x03\xd6\x91\xae\xf5\xbe\x95\x48\x58\x24\x7a\xbb\x4d\xa0\x6e\xb0\xbe\x47\x5e\xc2\x0f\x52\x8e\x40\xb2\x80\xe4\x8b\x70\x3d\x1f\x50\xa7\x1a\x64\x92\x9a\xe3\x53\xb0\x4a\xb8\x1d\xd5\x2e\x41\xe5\x19\x17\x87\x72\x15\x2e\xfa\xde\x30\xb5\x43\x58\xdf\xe9\xea\x05\xac\x5b\xad\x25\xbc\x2e\x60\x13\x8b\xf0\x5e\x6b\x69\x43\x61\xbd\xe6\x7a\xf0\xe8\x15\x54\xb7\x7f\x3b\x48\xc1\x68\x56\x22\x4d\x2c\xf8\x90\xa8\xa6\xbb\xb9\xca\x43\x1a\x88\x55\x12\xd3\x89\x22\x73\x11\x9b\x57\xa3\xca\x9d\xae\x3e\xf9\xbe\x41\xd3\xf7\x62\x0b\x92\x60\x02\x10\x1f\x71\x0e\xb8\x07\x6f\x06\x5a\x2e\x73\xc9\x42\xae\xee\x74\x95\xf6\xbd\x8f\xcd\xb9\xb1\xab\xbe\x3a\x39\x2c\xc7\x7f\xf0\xcd\x1c\xa0\x73\xd9\x18\x88\x73\xd0\xb5\xdf\xe6\x19\x5b\xf8\x8e\xc4\x1b\x0a\x15\x85\x64\x8e\x2b\xd4\x04\xf0\xa1\x65\x8a\x23\x4f\x43\xa0\x70\x51\x75\x4f\x74\x90\x68\x6d\x9e\x45\x0f\x53\x02\xb2\xe6\xd5\xf4\x3f\x1a\x2f\x53\x06\x53\xe2\x38\x2a\x8b\x7c\x90\x2b\x6d\x38\x9a\x49\xb4\x64\x44\x3b\x49\x8d\x3e\x2c\x32\xec\xdd\xfa\xb4\x2e\xd3\xcc\x91\x98\x90\x76\xa1\xe3\xb5\xcc\x52\x0c\x66\xe5\x1b\xc5\x5b\x2d\x14\xe5\x19\x35\x97\xb7\x37\xc4\x08\x1f\xbf\x7a\xe7\xc9\x67\xaf\xdd\x59\x82\x9b\xda\xb0\xf6\x8a\xf1\x1b\x63\xb4\x39\xbf\xca\xb3\x25\x40\x7f\x8b\x8c\x2f\x83\xac\x34\x3f\xce\xf2\x44\xf4\x05\x5b\xaf\x06\x3a\x25\x07\x87\x78\x93\x53\x8d\x40\xb0\x71\x48\x6f\x6e\x3f\xbc\x83\xcf\xb0\x93\xba\x62\xf2\xf6\xc3\xbb\xc8\x2a\x7f\xba\xb9\xa9\x1b\xdc\xa3\x73\xaf\xb3\x6c\x38\x79\xab\x2d\x39\x37\x08\xef\x19\x35\xce\x79\x72\xe5\x95\x39\x7f\x61\x02\x1c\xfa\xf6\x05\xac\x0f\x4c\x76\x68\x43\x77\x7a\xe3\xdf\x3b\x34\x47\x38\x89\xe4\xcc\x50\x8c\x46\xde\x66\x30\x7f\x44\x1f\x20\xb7\x2d\x53\x63\xc8\x71\x5a\x85\xdf\x99\xae\x7d\x1f\x61\x38\xe7\x23\x8e\xbe\x9c\x4b\xf2\xcc\x5b\x9e\x23\xf7\x10\xe2\x9e\xf8\xf7\xd3\x3c\x23\x7e\x35\xfb\x7e\x47\xe1\x65\xea\x97\x68\x99\x44\x43\x10\x7e\xd3\xbe\x87\x4d\x1c\x4a\xf0\x19\x62\x2b\x7f\xd4\x3f\x79\x3d\x70\x0e\x82\xb3\x4f\x42\x71\x51\x33\xd2\x06\xfc\xfa\x4d\xbb\xb6\x45\x53\x33\x7b\xf9\x8a\x87\x3b\x78\xbb\x08\xe4\xb1\xb0\x9f\x0c\x24\xe4\xce\x3e\x1d\x49\xdd\x19\xab\x4d\x1a\xe8\x86\xe6\x6c\xd7\x91\xd6\x92\x44\x9b\x00\x09\xf2\xf2\x70\xdd\xd0\x5e\x16\x64\x3a\x8c\xa2\x36\x62\x27\x14\x93\xe9\xa0\x95\x57\xe5\x8f\xb8\xd5\x06\xfd\x17\x86\x87\x20\xd4\xee\x75\x9e\x55\xe5\x44\x91\x7b\x4f\x91\x40\xa9\x9f\x85\xad\xfd\x9c\x40\x1e\x5b\x75\xf3\x2b\x6b\x9d\xf3\xbc\xec\xfb\x35\x1e\x22\x85\x7c\x5e\x69\x2f\x3d\x81\xd7\xf7\xce\x15\x5f\xff\xd5\x69\xfa\x2e\x28\x38\x37\x0a\xe7\xb3\x78\xce\x67\xe4\x50\xa0\x70\x98\x50\xf1\x25\xd8\xcc\x2f\x82\x1f\x47\xc9\x53\xa4\x3e\xe9\x86\x80\x2a\x3a\xfd\xdf\x88\x2d\x2d\x3e\xef\x2d\x8e\x5b\xd6\x49\x4a\x4a\xa5\x15\x3e\xaf\x63\xfe\x03\xd1\x2c\xa5\x36\x8c\xd2\x8b\x0a\x84\x2d\xba\xf1\xc3\x36\xce\xda\xcd\x2f\xf6\x4f\x34\xda\xb9\xdf\xf0\x10\x76\x68\x88\xac\xef\xad\x50\x35\x2e\x15\x9d\x03\xb6\xd3\xcf\xee\x5e\xf4\x53\xfb\x92\xf4\x33\x8c\x30\xd6\x2f\x63\xbe\xd6\xde\x71\xd7\x9f\xf7\x71\x98\xb5\x0b\x6f\x8f\x27\xf8\x4b\xc0\x9f\x2e\x94\x73\x8b\x3c\x3b\x59\x28\x79\x16\x76\xeb\xf0\xf9\x1a\x3f\xa8\xa2\x19\xa0\xe2\x71\x2c\x0f\xc7\xa3\xa7\x7f\x02\x00\x00\xff\xff\x5b\x88\x7f\x6f\x0e\x0c\x00\x00")
func webUiTemplatesTargetsHtmlBytes() ([]byte, error) {
return bindataRead(
@ -286,12 +286,12 @@ func webUiTemplatesTargetsHtml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/templates/targets.html", size: 2914, mode: os.FileMode(420), modTime: time.Unix(1517034277, 0)}
info := bindataFileInfo{name: "web/ui/templates/targets.html", size: 3086, mode: os.FileMode(420), modTime: time.Unix(1520524547, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _webUiStaticCssAlertsCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x8e\xd1\x6a\xf3\x30\x0c\x85\xef\xf3\x14\x82\x5e\x27\x98\xa6\xfc\x7f\x97\x3c\xcc\x70\x2d\x79\x11\xf5\xa4\x22\x2b\x94\x6d\xec\xdd\x47\xeb\xe6\x62\xb0\xc1\xf0\xdd\x39\x9f\x75\xbe\x21\x16\x32\x7f\x5e\x28\x22\x19\x7c\x74\x00\x69\xb5\xaa\x36\xc1\x45\x59\x9c\x6c\xee\x3e\xbb\xee\x41\x21\x79\xe4\x52\xef\x18\x72\xbd\x94\xf8\x36\x81\xa8\x50\x83\x32\x17\x27\xab\x70\x5a\xdd\x55\x86\xba\xe8\xb5\x8f\x22\xea\xd1\x59\xa5\x7d\x03\x38\xc5\x74\x7e\x31\x5d\x05\xfb\xa4\xe5\xb6\x74\x5d\xd8\x69\x6e\xa5\x1a\x92\x6d\xc5\x2e\xe2\xed\x7d\xab\x2c\x22\xaf\x75\x82\xd0\xd2\x8d\x1c\xc7\xb1\x05\x59\xc5\xfb\xca\xef\x34\x41\x18\x8e\xf4\xfa\x27\xb5\x81\x6b\x9f\x16\x4a\x67\xc2\x87\xe5\x76\x37\xe7\x3c\xff\xa2\xbd\xdb\x1f\xff\x85\xa7\xf0\xa3\xf8\x3e\x1c\xf0\xff\xe1\xbe\xfd\x15\x00\x00\xff\xff\x9a\xb4\x31\xec\x62\x01\x00\x00")
var _webUiStaticCssAlertsCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x8e\xd1\x6a\xc3\x30\x0c\x45\xdf\xf3\x15\x82\x3e\x27\x98\xb6\x6c\x5d\xf2\x31\xc3\xb5\xe4\x45\xd4\x93\x8a\xac\x50\xb6\xb1\x7f\x1f\x99\x9b\x87\xc1\x06\xc3\x6f\xf7\x1e\xeb\x9e\x21\x16\x32\x7f\x9e\x29\x22\x19\x7c\x74\x00\x69\xb1\xaa\x36\xc2\x55\x59\x9c\x6c\xea\x3e\xbb\xee\x4e\x21\x79\xe4\x52\xbf\x31\xe4\x7a\x2d\xf1\x6d\x04\x51\xa1\x06\x65\x2e\x4e\x56\xe1\xbc\xb8\xab\x0c\x75\xd6\x5b\x1f\x45\xd4\xa3\xb3\x4a\xfb\x06\x70\x8e\xe9\xf2\x62\xba\x08\xf6\x49\xcb\xba\x74\x9b\xd9\x69\x6a\xa5\x1a\x92\x6d\xc5\x2e\xe2\xfa\x7e\x54\x16\x91\x97\x3a\x42\x68\xe9\x46\x1e\x0e\x87\x16\x64\x15\xef\x2b\xbf\xd3\x08\x61\x38\xd1\xeb\xbf\xd4\x06\xae\x7d\x9a\x29\x5d\x08\xef\x96\xdb\xdd\x9c\xf3\xf4\x87\xf6\x6e\x7f\x7a\x08\x4f\xe1\x57\xf1\x7d\x38\xe2\xe3\x71\xdd\xfe\x0a\x00\x00\xff\xff\xed\xcc\x2c\x5d\x61\x01\x00\x00")
func webUiStaticCssAlertsCssBytes() ([]byte, error) {
return bindataRead(
@ -306,7 +306,7 @@ func webUiStaticCssAlertsCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/css/alerts.css", size: 354, mode: os.FileMode(420), modTime: time.Unix(1519908292, 0)}
info := bindataFileInfo{name: "web/ui/static/css/alerts.css", size: 353, mode: os.FileMode(420), modTime: time.Unix(1520524540, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -326,7 +326,7 @@ func webUiStaticCssGraphCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/css/graph.css", size: 3021, mode: os.FileMode(420), modTime: time.Unix(1517034277, 0)}
info := bindataFileInfo{name: "web/ui/static/css/graph.css", size: 3021, mode: os.FileMode(420), modTime: time.Unix(1514278535, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -346,7 +346,7 @@ func webUiStaticCssProm_consoleCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/css/prom_console.css", size: 2883, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/css/prom_console.css", size: 2883, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -366,7 +366,7 @@ func webUiStaticCssPrometheusCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/css/prometheus.css", size: 356, mode: os.FileMode(420), modTime: time.Unix(1519677297, 0)}
info := bindataFileInfo{name: "web/ui/static/css/prometheus.css", size: 356, mode: os.FileMode(420), modTime: time.Unix(1520297719, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -386,12 +386,12 @@ func webUiStaticCssRulesCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/css/rules.css", size: 190, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/css/rules.css", size: 190, mode: os.FileMode(420), modTime: time.Unix(1518500319, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _webUiStaticCssTargetsCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x52\xed\x6e\x9c\x30\x10\xfc\x7f\x4f\x61\xe9\x14\xa9\x95\x02\x72\x81\x5c\x53\x78\x98\x6a\xcd\x2e\xd8\x3d\xd7\x46\xeb\x45\xf4\x43\x7d\xf7\x8a\xaf\x36\xe4\xae\x55\x84\xf8\xe1\x99\xd1\xcc\xec\xda\xb6\xc8\xbf\x44\xf3\xd9\x12\x20\xb1\xfa\x79\x52\x4a\xa9\x2e\x06\xc9\x92\xfb\x41\xb5\x2a\xf4\xf0\xad\xf9\x0b\x4e\xe4\x7a\x2b\xb5\x32\xd1\xe3\x0a\xb7\x23\xa7\xc8\xb5\x1a\xa2\x0b\x42\xdc\x9c\x7e\x9d\x4e\xb6\xc8\x11\x42\x4f\xac\x60\x73\x6c\xa3\x9f\x45\xdc\x9b\x77\x45\x55\x3c\xaa\xcb\xd3\xfc\xbf\x5f\xd4\x79\xe7\xbc\x10\x27\x65\x46\x91\x18\xf2\x31\x58\x02\x2f\xf6\x7b\x26\xc0\x3d\x49\xda\x3c\x0c\xb4\xd7\x9e\xe3\x18\x30\xdb\xec\x26\xeb\x84\xd6\x1a\x26\x32\x12\xef\xc4\x19\x70\xfe\x0e\x14\x03\xba\x31\xd5\x4a\x37\x2f\x1b\x9d\xcb\xb2\x6c\x5e\x0f\xad\xf3\x67\xfa\xfa\xb6\x6e\xb9\x4b\x59\x6b\xa9\xbd\x12\x1e\x47\x3d\x77\x5d\xd7\xfc\xa3\xf7\xb9\x78\xbe\xe8\x4f\xfa\x6e\xf3\x42\x57\xf8\xb1\x5a\xc3\x05\x8c\xa7\xac\x8d\x41\xc0\x05\xe2\xbd\xc4\x71\x2d\x03\x20\xba\xd0\xcf\xad\xcb\xb9\xf5\xcd\x2c\x97\x1d\xbd\xbf\x88\xc3\xbd\x56\x5a\xdf\x8f\x5e\xce\x5b\xe2\xe4\x50\x6c\xad\x3e\x68\xfd\xf0\x3f\xb1\xb0\x92\x7d\x29\x76\xf3\x87\x51\xe2\x1a\x3b\x45\xc6\x6c\x62\x18\x6a\x65\x98\xe0\x9a\xcd\xc0\x0b\x6a\x01\x77\x0e\xbc\x5f\x92\x04\x73\x0a\xb8\x3c\xb5\x47\x25\x98\x7b\x30\xe4\xd3\xb1\x56\xf1\xf4\xb0\x6b\x93\x80\xd0\x26\x4c\x92\xa5\x96\x61\xb8\x19\xe2\x8f\x9a\x98\x23\xbf\x32\x2b\x57\xfa\x77\x00\x00\x00\xff\xff\xc7\xbd\x5f\x00\x25\x03\x00\x00")
var _webUiStaticCssTargetsCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x91\xcb\x4e\xf3\x30\x10\x85\xf7\x79\x8a\x91\x7e\x55\xfa\x91\x1a\x2b\xa4\x97\x45\xfa\x1a\xec\xd1\x38\x33\x24\x06\x63\x47\xe3\x09\x41\xa0\xbe\x3b\x6a\xe2\x72\x29\x15\x8b\x2c\x72\xe6\x9b\x73\xe6\xc8\x7d\x6d\x1e\xa3\xbd\xef\x19\x89\x05\xde\x0b\x00\x80\x87\x18\xb4\x4c\xee\x8d\x1b\xa8\xab\xe1\xf5\xf0\x25\x4e\xec\xba\x5e\x1b\xb0\xd1\xd3\x22\xb7\xa3\xa4\x28\x0d\x0c\xd1\x05\x65\x39\x14\xc7\xa2\xe8\x6b\x43\x18\x3a\x16\xc0\xec\xd8\x46\x7f\x82\xa4\xb3\xff\xeb\x6d\xbd\x86\xfd\xee\xf4\xdd\xcc\x34\xb9\x97\x7f\xa9\x8f\xd3\x1d\x4a\xc7\x9a\xc0\x58\x0d\x79\xcd\x46\x21\x96\x52\x90\xdc\x98\x1a\x98\x6f\x39\x16\x85\x51\xb4\x9e\xcb\x36\x06\x45\x17\x58\xc0\x8e\xaa\x31\x18\xcd\x0e\xcb\xf2\x80\x44\x2e\x74\x0d\x54\x66\xc3\xcf\x87\xcb\x66\x95\xd9\x9f\xd5\xcb\x98\x2b\x85\xb7\x55\x75\x3d\x7a\xfe\xcf\x89\x93\x23\xed\x1b\xb8\xad\xaa\xd5\x5f\xb0\x0a\x28\xe5\x95\x3e\xfb\xe3\xa8\x71\x89\x9d\xa2\x50\x39\x09\x0e\x0d\x58\x61\x7c\x2a\x4f\xc2\xb7\xd1\x2c\x9e\x67\xe8\xfd\x9c\xa4\x64\x38\xd0\xfc\x06\x6b\x50\x32\x1e\x2d\xfb\xf4\xf3\xac\x7a\xb7\x3a\xb3\x49\x51\x39\x83\x49\xcb\xd4\x0a\x0e\xbf\x4a\x7c\xd2\x2c\x12\xe5\xc2\x6c\xb3\x8c\x3f\x02\x00\x00\xff\xff\xf6\xd3\x07\xe2\x3e\x02\x00\x00")
func webUiStaticCssTargetsCssBytes() ([]byte, error) {
return bindataRead(
@ -406,7 +406,7 @@ func webUiStaticCssTargetsCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/css/targets.css", size: 805, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/css/targets.css", size: 574, mode: os.FileMode(420), modTime: time.Unix(1520524887, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -426,7 +426,7 @@ func webUiStaticImgAjaxLoaderGif() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/img/ajax-loader.gif", size: 847, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/img/ajax-loader.gif", size: 847, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -446,7 +446,7 @@ func webUiStaticImgFaviconIco() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/img/favicon.ico", size: 15086, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/img/favicon.ico", size: 15086, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -466,7 +466,7 @@ func webUiStaticJsAlertsJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/js/alerts.js", size: 1135, mode: os.FileMode(420), modTime: time.Unix(1519907633, 0)}
info := bindataFileInfo{name: "web/ui/static/js/alerts.js", size: 1135, mode: os.FileMode(420), modTime: time.Unix(1520297719, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -486,7 +486,7 @@ func webUiStaticJsGraphGraph_templateHandlebar() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/js/graph/graph_template.handlebar", size: 6343, mode: os.FileMode(420), modTime: time.Unix(1517034277, 0)}
info := bindataFileInfo{name: "web/ui/static/js/graph/graph_template.handlebar", size: 6343, mode: os.FileMode(420), modTime: time.Unix(1514278535, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -506,7 +506,7 @@ func webUiStaticJsGraphIndexJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/js/graph/index.js", size: 32838, mode: os.FileMode(420), modTime: time.Unix(1519329727, 0)}
info := bindataFileInfo{name: "web/ui/static/js/graph/index.js", size: 32838, mode: os.FileMode(420), modTime: time.Unix(1520297719, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -526,12 +526,12 @@ func webUiStaticJsProm_consoleJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/js/prom_console.js", size: 22477, mode: os.FileMode(420), modTime: time.Unix(1499247906, 0)}
info := bindataFileInfo{name: "web/ui/static/js/prom_console.js", size: 22477, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _webUiStaticJsTargetsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x55\x4d\x6f\xdb\x38\x10\xbd\xeb\x57\x0c\x08\x1f\x28\xc0\x16\x82\xbd\x7a\x7d\x58\x2c\x16\xd8\xf6\xd2\x43\xd2\x73\x40\x93\x63\x91\x0d\x4d\x1a\xe4\xa8\x4d\x10\xf8\xbf\x17\xa4\xa8\x2f\xdb\x49\xda\xea\x28\xce\xcc\x9b\xf7\xe6\x71\x78\xe8\x9c\x24\xe3\x1d\x90\x6f\x5b\x8b\x9f\xfd\xfe\x41\xec\x2d\xf2\x7d\x47\xe4\xdd\x1a\xa2\xf6\x9d\x55\xff\x3d\x9f\x84\x53\xf5\x6b\x05\x60\x0e\x50\x0e\x1b\x8b\xae\x25\x0d\xbb\xdd\x0e\xee\x6a\x78\x85\x80\xd4\x05\xb7\x85\x73\x55\xe2\x16\xc9\x90\xb2\x01\x4a\x6e\xc0\xa3\xff\x8e\xff\x5a\x11\x23\x67\xd2\x5b\x2b\x4e\x11\xd5\x86\x12\x38\xab\x1b\xa1\x54\x39\xc3\x9c\x3d\x3b\xd2\x74\xb4\x9c\x45\xed\x7f\x80\xc5\x18\x59\xbd\xad\x00\xce\x80\x36\xe2\x3b\x10\x57\x65\x26\x84\x6b\xf4\x19\xc4\xd1\x07\x2c\x10\x89\x55\x29\x7d\x12\x01\x1d\x45\xce\x9a\x9c\xb2\x91\xde\x91\x30\x0e\x03\xab\x9b\x83\x71\x8a\xb3\xa1\x54\x2f\xeb\x52\x89\x6d\x75\xae\xaa\x51\x78\xe3\x0c\xf1\x5e\x9d\x15\x67\x05\x80\x44\x68\x91\x22\xab\x1b\x69\x8d\x7c\xe2\x63\x34\x1f\x74\x94\xde\x45\x82\x0c\xf3\x60\xc8\x22\xec\x60\xc5\x49\x9b\x98\x52\x7c\xc4\x48\x9c\xe9\xbf\xc6\x7e\x44\xa2\x4c\x14\x38\x33\x2a\xf1\xc9\x35\xd2\x8c\x86\x24\x2d\xe2\x5b\x7a\x0c\x90\x00\xd6\x4b\x61\xef\xc9\x07\xd1\x62\x13\x91\x3e\x11\x1e\xf9\xd4\xc3\x1a\x46\x9d\x7b\xcd\xd2\x77\x61\xac\x82\xb7\x06\x0a\x1d\x96\xa0\x32\xbd\xdb\xed\x5c\x4e\xee\x77\xba\x19\xa9\x7c\xdc\xce\x41\xd8\x38\xf6\x93\xc6\xdd\x8b\xb4\xe2\xac\xf9\xe6\xf7\x8f\x1a\x85\xc2\x00\x49\x46\x14\x52\xcf\x06\xf2\xb8\x06\x6b\xdc\xd3\x72\x2e\x52\x48\x8d\x2a\x43\xdc\x93\xa0\x34\x9d\x45\xb7\x6d\xe9\x76\xc5\x73\xee\x6c\x34\xa5\x85\xa4\xc5\x75\x91\xdd\x6e\xc1\x69\x54\xe2\x36\xa9\x26\x9a\xbd\x35\xae\x8d\x83\xad\xd8\xfb\x3c\x0f\xc6\x12\x86\x38\x98\xbc\x73\x1a\x85\x25\xfd\xb2\x79\xcb\x8d\x1c\x97\xac\xfb\xc4\xec\x44\x2c\x16\x2e\x48\xfd\xb9\x91\x97\xa7\x8d\xd4\xc6\xaa\x80\x8e\x33\xb3\xb0\x65\x0a\x9d\x99\xa0\xb5\x2f\x27\x9d\xfe\x6d\x3a\x27\x35\xca\xa7\x44\x7f\xe2\x9f\xa3\x17\xf7\xfd\x66\x42\x89\x4e\xdf\xec\xfe\x4f\xa1\x39\x10\xf6\xe4\x36\xa7\x60\x8e\x22\xbc\x4c\xb6\x29\x9a\x4c\x59\x26\x6e\xc6\xba\xa5\xef\x5e\xc5\xeb\x8d\x90\x0d\x93\xb6\xc9\xd7\x41\xd1\x6b\xdf\xbf\xc9\x37\x83\xfc\x2a\xd7\x1b\x04\x3e\xe2\x3c\x93\xe7\x82\xeb\x02\xe3\x4f\xe8\xfe\x63\xed\x85\xd1\xe6\x7b\xaf\x44\xa4\xfb\x33\x66\x0f\x6b\x70\xfa\xd1\xa4\x30\x7e\x23\x75\xd4\xf2\x46\x81\xe2\xb6\xf8\x7f\x1f\x91\x2d\x37\x2b\xd9\x6f\xc4\xbc\x1c\xfb\x7b\x27\x13\x47\x56\x37\xc6\x29\x7c\xfe\x72\xe0\x4c\x09\xd7\x26\x2e\xf0\x37\xdc\x6d\xcb\x63\x36\x96\x4b\x4f\xdd\xa2\x9e\x36\x0a\x79\x9d\xde\xbd\x73\x55\xad\x78\x5a\xe8\xf5\xb6\xfa\x19\x00\x00\xff\xff\x16\x00\xb8\x4b\x5a\x07\x00\x00")
var _webUiStaticJsTargetsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x54\x41\x6f\xdb\x3c\x0c\xbd\xfb\x57\x10\xfa\x72\x90\x81\xd4\x28\xbe\xe3\x32\x1f\x86\x61\xc0\xb6\xcb\x0e\xed\xce\x85\x62\x31\x96\x56\x45\x0a\x2c\x7a\xeb\x50\xe4\xbf\x0f\xb4\x65\xd5\x4e\xbc\x0e\xcd\x31\x22\x1f\xdf\x7b\x7c\xf4\xa1\xf7\x0d\xd9\xe0\x81\x42\xdb\x3a\xfc\x1a\xf6\xf7\x6a\xef\x50\xee\x7b\xa2\xe0\xb7\x10\x4d\xe8\x9d\xfe\xf4\x74\x52\x5e\x97\xcf\x05\x80\x3d\x40\x7a\xac\x1c\xfa\x96\x0c\xd4\x75\x0d\xb7\x25\x3c\x43\x87\xd4\x77\x7e\x07\xe7\x22\xd5\x2d\x9a\x81\xbb\x01\x52\x6f\x87\xc7\xf0\x13\x3f\x3a\x15\xa3\x14\x4d\x70\x4e\x9d\x22\xea\x1b\xe2\xe1\xa2\xac\x94\xd6\xe9\x0d\x87\xee\xd9\x93\xa1\xa3\x93\x22\x9a\xf0\x0b\x1c\xc6\x28\xca\x5d\x01\x70\x06\x74\x11\x5f\x19\x71\x05\xf3\x32\xe1\x7a\xfa\x6c\xc4\x31\x74\x98\x46\xb0\xaa\x04\x7d\x52\x1d\x7a\x8a\x52\x54\x43\xcb\x4d\x13\x3c\x29\xeb\xb1\x13\x65\x75\xb0\x5e\x4b\x31\x41\x8d\xb6\x2e\x9d\xd8\x15\xe7\xa2\xc8\xc6\xf3\x98\x0f\xce\xc9\x87\x2d\x64\x98\xd1\xac\x8d\x7c\xf9\xa3\xe2\x32\xb9\xd2\xfa\xdd\x1b\x54\x8e\xcc\xef\x15\x80\x26\xf8\x48\x60\xe3\xe7\xb1\x02\xea\x25\xe4\xc8\xd4\xfc\xcf\x6e\x10\x75\x52\x34\x6c\x88\x28\x2b\xeb\x35\x3e\x7d\x3b\x48\xa1\x95\x6f\x59\x14\xbc\x87\xdb\x5d\x5a\x6a\x86\xe3\x95\x2f\xf0\x8c\xd5\x28\x4b\xde\xff\x9c\xa4\xf5\x96\xe4\x24\x48\x24\x03\x49\x75\x2d\x12\xcf\x6a\x9c\x6d\x1e\x65\xae\x96\x53\x4e\x46\xee\x83\x8d\xf7\x96\x1c\x0e\xe4\xc9\xd8\xc8\x2d\x21\x62\xa4\x44\x7d\x54\xa1\xb2\x08\xab\x79\x5f\x03\x06\xd3\x9d\x9a\x8c\x8a\x7f\xdb\xf7\x34\x12\xc0\x85\x46\xb9\x3b\x0a\x9d\x6a\xb1\x8a\x48\x5f\x08\x8f\xf2\x85\xc3\x16\x72\x8e\xc6\x4c\xf0\xef\xe2\x70\xd2\xbc\x2d\x50\xd7\x63\x2a\x4a\xe9\x5c\xa7\x73\x99\xcc\xb7\xb0\xc9\x52\xfe\x4d\xe7\xa0\x5c\xcc\x7c\x38\xce\xa3\x49\x1b\x29\xaa\x1f\x61\xff\x60\x50\x69\xec\x80\x6d\x44\xd5\x98\xd9\x42\x1e\xb6\xe0\xac\x7f\x5c\xee\xa5\x51\x8d\x41\x3d\x8c\xb8\x23\x45\xbc\x9d\x05\xdb\x36\xb1\xdd\xc8\xa1\x77\xb6\x9a\x44\x81\xbd\xb8\x06\xa9\xeb\x85\xa6\xec\xc4\xba\xa8\x2a\xda\xbd\xb3\xbe\x8d\x53\xac\xc4\xab\x3a\xff\xe3\x73\xb9\x1f\x83\x07\xef\xac\x3f\xf5\xc4\xf9\x33\x9c\xf1\xac\xf7\x2a\x7f\x5c\x3e\xcb\xde\x6a\xc6\xa6\x2a\xa6\xaf\x9c\xbb\xc9\xe9\xce\x02\x36\xab\x9f\x8a\xc1\xe9\x74\xff\xd7\x51\x99\xa3\xf6\xd3\x95\xbf\x1d\x3b\x7f\x20\x2e\x4c\x39\x17\xc5\x46\xf2\x71\x96\xbb\xe2\x4f\x00\x00\x00\xff\xff\xc2\x4b\xd1\xaf\x06\x06\x00\x00")
func webUiStaticJsTargetsJsBytes() ([]byte, error) {
return bindataRead(
@ -546,7 +546,7 @@ func webUiStaticJsTargetsJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/js/targets.js", size: 1882, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/js/targets.js", size: 1542, mode: os.FileMode(420), modTime: time.Unix(1520524547, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -566,7 +566,7 @@ func webUiStaticVendorBootstrap331CssBootstrapThemeMinCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/css/bootstrap-theme.min.css", size: 19835, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/css/bootstrap-theme.min.css", size: 19835, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -586,7 +586,7 @@ func webUiStaticVendorBootstrap331CssBootstrapMinCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/css/bootstrap.min.css", size: 113498, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/css/bootstrap.min.css", size: 113498, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -606,7 +606,7 @@ func webUiStaticVendorBootstrap331FontsGlyphiconsHalflingsRegularEot() (*asset,
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.eot", size: 20335, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.eot", size: 20335, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -626,7 +626,7 @@ func webUiStaticVendorBootstrap331FontsGlyphiconsHalflingsRegularSvg() (*asset,
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.svg", size: 62926, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.svg", size: 62926, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -646,7 +646,7 @@ func webUiStaticVendorBootstrap331FontsGlyphiconsHalflingsRegularTtf() (*asset,
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.ttf", size: 41280, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.ttf", size: 41280, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -666,7 +666,7 @@ func webUiStaticVendorBootstrap331FontsGlyphiconsHalflingsRegularWoff() (*asset,
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.woff", size: 23320, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/fonts/glyphicons-halflings-regular.woff", size: 23320, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -686,7 +686,7 @@ func webUiStaticVendorBootstrap331JsBootstrapMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/js/bootstrap.min.js", size: 35601, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/js/bootstrap.min.js", size: 35601, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -706,7 +706,7 @@ func webUiStaticVendorBootstrap331JsNpmJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/js/npm.js", size: 484, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap-3.3.1/js/npm.js", size: 484, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -726,7 +726,7 @@ func webUiStaticVendorBootstrap3TypeaheadBootstrap3TypeaheadMinJs() (*asset, err
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js", size: 7856, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js", size: 7856, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -746,7 +746,7 @@ func webUiStaticVendorEonasdanBootstrapDatetimepickerBootstrapDatetimepickerMinC
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.css", size: 7771, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.css", size: 7771, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -766,7 +766,7 @@ func webUiStaticVendorEonasdanBootstrapDatetimepickerBootstrapDatetimepickerMinJ
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.js", size: 48881, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.js", size: 48881, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -786,7 +786,7 @@ func webUiStaticVendorFuzzyFuzzyJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/fuzzy/fuzzy.js", size: 5669, mode: os.FileMode(420), modTime: time.Unix(1499247906, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/fuzzy/fuzzy.js", size: 5669, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -806,7 +806,7 @@ func webUiStaticVendorJsJqueryHotkeysJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/js/jquery.hotkeys.js", size: 4490, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/js/jquery.hotkeys.js", size: 4490, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -826,7 +826,7 @@ func webUiStaticVendorJsJqueryMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/js/jquery.min.js", size: 86671, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/js/jquery.min.js", size: 86671, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -846,7 +846,7 @@ func webUiStaticVendorJsJquerySelectionJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/js/jquery.selection.js", size: 12881, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/js/jquery.selection.js", size: 12881, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -866,7 +866,7 @@ func webUiStaticVendorMomentMomentTimezoneWithDataMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/moment/moment-timezone-with-data.min.js", size: 184190, mode: os.FileMode(420), modTime: time.Unix(1511992584, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/moment/moment-timezone-with-data.min.js", size: 184190, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -886,7 +886,7 @@ func webUiStaticVendorMomentMomentMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/moment/moment.min.js", size: 61281, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/moment/moment.min.js", size: 61281, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -906,7 +906,7 @@ func webUiStaticVendorMustacheMustacheMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/mustache/mustache.min.js", size: 9528, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/mustache/mustache.min.js", size: 9528, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -926,7 +926,7 @@ func webUiStaticVendorRickshawRickshawMinCss() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/rickshaw.min.css", size: 6102, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/rickshaw.min.css", size: 6102, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -946,7 +946,7 @@ func webUiStaticVendorRickshawRickshawMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/rickshaw.min.js", size: 76322, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/rickshaw.min.js", size: 76322, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -966,7 +966,7 @@ func webUiStaticVendorRickshawVendorD3LayoutMinJs() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/vendor/d3.layout.min.js", size: 17514, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/vendor/d3.layout.min.js", size: 17514, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@ -986,7 +986,7 @@ func webUiStaticVendorRickshawVendorD3V3Js() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/vendor/d3.v3.js", size: 144718, mode: os.FileMode(420), modTime: time.Unix(1486888537, 0)}
info := bindataFileInfo{name: "web/ui/static/vendor/rickshaw/vendor/d3.v3.js", size: 144718, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}

View file

@ -8,18 +8,8 @@ h2.danger a {
color: rgb(242, 65, 65);
}
.filters button.unhealthy-targets {
background-color: white;
border-color: #adadad;
border-radius: 0;
color: #333;
font-size: 0.8em;
}
.filters button.unhealthy-targets.is-checked {
color: #fff;
background-color: #286090;
border-color: #204d74;
div#showTargets .btn {
border-radius: 0px;
}
.table-container button.targets {

View file

@ -10,6 +10,15 @@ function toggleJobTable(button, shouldExpand){
button.parents(".table-container").find("table").toggle(shouldExpand);
}
function showAll(_, container) {
$(container).show();
}
function showUnhealthy(_, container) {
const isHealthy = $(container).find("h2").attr("class").indexOf("danger") < 0;
if (isHealthy) { $(container).hide(); }
}
function init() {
$("button.targets").click(function () {
const tableTitle = $(this).closest("h2").find("a").attr("id");
@ -30,33 +39,15 @@ function init() {
}
});
$(".filters button.unhealthy-targets").click(function(e) {
const button = $(e.target);
const icon = $(e.target).children("i");
if (icon.hasClass("glyphicon-unchecked")) {
icon.removeClass("glyphicon-unchecked")
.addClass("glyphicon-check btn-primary");
button.addClass("is-checked");
$(".table-container").each(showUnhealthy);
} else if (icon.hasClass("glyphicon-check")) {
icon.removeClass("glyphicon-check btn-primary")
.addClass("glyphicon-unchecked");
button.removeClass("is-checked");
$("#showTargets :input").change(function() {
const target = $(this).attr("id");
if (target === "all-targets") {
$(".table-container").each(showAll);
} else if (target === "unhealthy-targets") {
$(".table-container").each(showUnhealthy);
}
});
}
function showAll(_, container) {
$(container).show();
}
function showUnhealthy(_, container) {
const isHealthy = $(container).find("h2").attr("class").indexOf("danger") < 0;
if (isHealthy) { $(container).hide(); }
}
$(init);

View file

@ -7,11 +7,14 @@
{{define "content"}}
<div class="container-fluid">
<h1>Targets</h1>
<div class="filters">
<button type="button" class="targets btn btn-primary unhealthy-targets">
<i class="glyphicon glyphicon-unchecked"></i> Only unhealthy jobs
</button>
</div>
<div id="showTargets" class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
<input type="radio" name="targets" id="all-targets" autocomplete="off" checked> All
</label>
<label class="btn btn-primary">
<input type="radio" name="targets" id="unhealthy-targets" autocomplete="off"> Unhealthy
</label>
</div>
{{range $job, $pool := .TargetPools}}
{{$healthy := numHealthy $pool}}