Removed alert_header (#3836)

This is a very minor UX change. The current "No Alert rules" present
table row has the `alert_header` class attached. This changes the cursor
and some other stuff and makes sense with the populated table but less
sense with the unpopulated table. So removing it the latter case.
This commit is contained in:
James Turnbull 2018-02-14 01:15:39 -05:00 committed by Julius Volz
parent 1fe05d40e4
commit d127a21071
2 changed files with 4 additions and 4 deletions

View file

@ -131,7 +131,7 @@ func webUiTemplates_baseHtml() (*asset, error) {
return a, nil return a, nil
} }
var _webUiTemplatesAlertsHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\xcf\x6f\xe3\x2a\x10\xbe\xe7\xaf\x18\x59\x3d\xbc\x27\xbd\x04\xa9\xc7\x27\xe2\x55\xd5\xcb\x1e\xda\x6a\xd5\x76\x7b\xad\x08\x4c\x6a\xba\x14\x2c\x20\x69\x23\x96\xff\x7d\x05\xd8\xa9\xe3\xd8\xbb\x7b\xb1\x0c\x33\x7c\xf3\x7d\xf3\x2b\x04\x81\x5b\xa9\x11\xaa\x06\x99\xa8\x62\x5c\x00\x50\x25\xf5\x0f\xf0\x87\x16\xd7\x95\xc7\x0f\x4f\xb8\x73\x15\x58\x54\xeb\xca\xf9\x83\x42\xd7\x20\xfa\x0a\x1a\x8b\xdb\x75\x15\x02\xb4\xcc\x37\xdf\x2c\x6e\xe5\x07\xc4\x48\x9c\x67\x5e\xf2\xf4\x86\x30\x85\xd6\xbb\x15\x77\xee\xcb\x7e\x1d\x02\x6c\x76\x52\x89\x27\xb4\x4e\x1a\x0d\x31\x56\x75\x0a\xe6\xb8\x95\xad\x07\x67\xf9\x3c\xd8\xeb\x11\xeb\x75\x0e\x8a\x92\x02\x54\x2f\x42\x40\x2d\x62\x5c\x2c\x3e\xb5\x71\xa3\x3d\x6a\x9f\xe4\x51\x21\xf7\xc0\x15\x73\x6e\x9d\xaf\x99\xd4\x68\x97\x5b\xb5\x93\xa2\xf0\x69\x2e\xeb\xab\x1c\x8b\x92\xe6\x32\xdf\x78\xb6\x51\xd8\xbf\x29\x87\xfc\x5d\x6e\x8c\x15\x68\x51\x74\x47\x6e\x94\x62\xad\xc3\x02\x94\x1e\x6e\x8c\x38\x94\xff\x10\x2e\xb2\x82\x07\xcf\x3c\x3e\x9a\x7b\xf3\x7e\x9d\xf0\xe0\xff\x35\xac\xae\x26\x0c\xb9\x10\xe9\x99\x65\xfa\x05\x3b\x1f\xa9\x5f\xee\x77\x0a\x7b\x63\x41\xe5\x5e\xee\xb1\x30\x2e\x68\x83\x8b\xa3\x23\xf5\xb6\x17\x10\x82\xd4\x02\x3f\x60\x9a\xcf\x2a\x5f\xc4\x08\xd9\xfa\x9c\x9a\x02\x6d\xa7\xa7\x00\x89\x9a\xca\x1e\x4b\x72\xa3\x97\xbc\xc1\xbd\x35\x7a\x29\xcc\xbb\x4e\x75\x90\x35\xd0\x4d\x1d\xc2\xea\x8e\xbd\x61\x8c\x94\x6c\x6a\xf8\x27\x04\x85\x1a\x4e\xd8\xa6\x20\xf9\xf8\x2f\x25\x5e\xf4\x21\x28\xf1\xb6\x3e\x67\x5d\xe8\x08\xf4\x4c\x2a\x37\xe2\x73\x3c\x00\xa4\xea\x0e\xcf\x00\xb4\xb5\x58\x53\x6e\x04\x26\x4a\x5f\x1f\x6f\x6f\x1e\xb4\x6c\x5b\xf4\x83\x4e\x4b\x24\xb3\x07\x25\xc9\x7b\x88\x47\x46\x80\x21\xc8\xed\x58\xc6\xd0\xff\x6f\x7b\xa5\x31\x7b\xb4\xc7\xbe\xd1\x02\xb5\x43\xd1\x25\x1d\x15\xbe\xa1\xf6\xee\x39\x9b\xab\x91\x9e\xcf\x9c\x8c\x2c\xc9\xd6\xd4\x37\x6c\x83\xca\x51\xe2\x9b\x29\x6b\xae\xee\x9c\xb1\x74\x0e\x3c\x48\xcd\x67\x7d\x9e\x98\xda\x4d\x18\x87\x55\xeb\x13\x55\x3a\x77\x3e\x57\x59\xcb\x79\x0c\x31\xbe\x1a\x60\xa9\x24\xee\x3f\xb8\xd8\x27\x16\xb9\xdb\x8b\xdc\xd5\x2d\x6b\x47\xd8\x1d\x9c\x6b\x99\xee\xf3\x95\x5f\x43\xfe\x2e\x5b\x2b\xdf\x98\x3d\x54\x75\x08\x05\x35\xc6\x34\x1a\x05\x39\xc6\x8a\x92\xf4\x72\x8a\x4a\x59\x2e\xa3\x30\xe4\x9c\x76\x9e\x94\x61\xf8\x5c\xdc\x52\xe2\x65\x08\xdd\xa4\xc1\x4f\x18\xce\x61\x19\xc2\x18\x21\x2d\x3e\x7c\x96\x5a\x48\xce\xbc\xb1\x90\xf6\xf0\x72\xd7\xb6\x68\x39\x73\x98\x68\xf7\x93\xda\x31\x9d\xa3\x10\x42\xbf\x11\xfc\xea\xfb\xe3\x75\xf2\x9f\x75\x7c\x2a\xe2\xcf\x3d\xa6\xca\x3b\xce\x03\x25\xb9\x5d\x4f\x87\xe5\xd4\x69\x7a\xce\x43\x40\xe5\x70\x6a\x55\xfd\x66\x07\x9d\x90\xb9\x33\x25\x89\x52\xbf\x80\x4d\x0b\x12\xca\xe2\x17\x7f\x8e\x7c\xe4\x47\xc9\x71\x5b\x1f\x95\x74\xd3\xdf\xbb\xfd\x0a\x00\x00\xff\xff\x72\xec\xcc\x1d\x2c\x07\x00\x00") var _webUiTemplatesAlertsHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\x4d\x6f\xe4\x28\x10\xbd\xf7\xaf\x28\x59\x39\xec\x4a\xdb\x8d\x94\xe3\x8a\xf6\x2a\xca\x65\x0f\x49\x34\x4a\x32\xb9\x46\x34\x54\xc7\x64\x08\x58\x40\x77\xd2\x62\xf8\xef\x23\xc0\x76\x1c\xb7\xad\x99\x8b\x65\xa8\xe2\xd5\x7b\xf5\x15\x82\xc0\xbd\xd4\x08\x55\x83\x4c\x54\x31\xae\x00\xa8\x92\xfa\x07\xf8\x53\x8b\xdb\xca\xe3\x87\x27\xdc\xb9\x0a\x2c\xaa\x6d\xe5\xfc\x49\xa1\x6b\x10\x7d\x05\x8d\xc5\xfd\xb6\x0a\x01\x5a\xe6\x9b\x6f\x16\xf7\xf2\x03\x62\x24\xce\x33\x2f\x79\x7a\x43\x98\x42\xeb\xdd\x86\x3b\xf7\xdf\x71\x1b\x02\xec\x0e\x52\x89\x27\xb4\x4e\x1a\x0d\x31\x56\x75\x0a\xe6\xb8\x95\xad\x07\x67\xf9\x32\xd8\xeb\x80\xf5\xba\x04\x45\x49\x01\xaa\x57\x21\xa0\x16\x31\xae\x56\x9f\xda\xb8\xd1\x1e\xb5\x4f\xf2\xa8\x90\x47\xe0\x8a\x39\xb7\xcd\xd7\x4c\x6a\xb4\xeb\xbd\x3a\x48\x51\xf8\x34\x97\xf5\x55\x8e\x45\x49\x73\x99\x6f\x3c\xdb\x29\xec\xdf\x94\x43\xfe\xae\x77\xc6\x0a\xb4\x28\xba\x23\x37\x4a\xb1\xd6\x61\x01\x4a\x0f\x77\x46\x9c\xca\x7f\x08\x17\x59\xc1\x83\x67\x1e\x1f\xcd\xbd\x79\xbf\x4e\x78\xf0\xef\x16\x36\x57\x33\x86\x5c\x88\xf4\xcc\x32\xfd\x82\x9d\x8f\xd4\x2f\xf7\x07\x85\xbd\xb1\xa0\x72\x2f\x8f\x58\x18\x17\xb4\xd1\xc5\xe0\x48\xbd\xed\x05\x84\x20\xb5\xc0\x0f\x98\xe7\xb3\xc9\x17\x31\x42\xb6\x3e\xa7\xa6\x40\xdb\xe9\x29\x40\xa2\xa6\xb2\xc7\x92\xdc\xe8\x35\x6f\xf0\x68\x8d\x5e\x0b\xf3\xae\x53\x1d\x64\x0d\x74\x57\x87\xb0\xb9\x63\x6f\x18\x23\x25\xbb\x1a\xfe\x0a\x41\xa1\x86\x2f\x6c\x53\x90\x7c\xfc\x9b\x12\x2f\xfa\x10\x94\x78\x5b\x9f\xb3\x2e\x74\x04\x7a\x26\x95\x9b\xf0\x19\x0e\x00\xa9\xba\xe3\x33\x00\x6d\x2d\xd6\x94\x1b\x81\x89\xd2\xff\x8f\xb7\x37\x0f\x5a\xb6\x2d\xfa\x51\xa7\x25\x92\xd9\x83\x92\xe4\x3d\xc6\x23\x13\xc0\x10\xe4\x7e\x2a\x63\xec\xff\xa7\xbd\xd2\x98\x23\xda\xa1\x6f\xb4\x40\xed\x50\x74\x49\x47\x85\x6f\xa8\xbd\x7b\xce\xe6\x6a\xa2\xe7\x33\x27\x13\x4b\xb2\x35\xf5\x0d\xdb\xa1\x72\x94\xf8\x66\xce\x9a\xab\xbb\x64\x2c\x9d\x03\x0f\x52\xf3\x45\x9f\x27\xa6\x0e\x33\xc6\x71\xd5\xfa\x44\x95\xce\x5d\xce\x55\xd6\x72\x1e\x43\x4c\xaf\x46\x58\x2a\x89\xfb\x07\x2e\x8e\x89\x45\xee\xf6\x22\x77\x73\xcb\xda\x09\x76\x07\xe7\x5a\xa6\xfb\x7c\xe5\xd7\x90\xbf\xeb\xd6\xca\x37\x66\x4f\x55\x1d\x42\x41\x8d\x31\x8d\x46\x41\x8e\xb1\xa2\x24\xbd\x9c\xa3\x52\x96\xcb\x24\x0c\x39\xa7\x9d\x27\x65\x1c\x3e\x17\xb7\x94\x78\x1d\x42\x37\x69\xf0\x13\xc6\x73\x58\x86\x30\x46\x48\x8b\x0f\x9f\xa5\x16\x92\x33\x6f\x2c\xa4\x3d\xbc\x3e\xb4\x2d\x5a\xce\x1c\x26\xda\xfd\xa4\x76\x4c\x97\x28\x84\xd0\x6f\x04\xbf\xf9\xfe\x78\x9d\xfc\x17\x1d\x9f\x8a\xf8\x73\x8f\xb9\xf2\x4e\xf3\x40\x49\x6e\xd7\xaf\xc3\xf2\xd5\x69\x7e\xce\x43\x40\xe5\x70\xbc\xaa\x16\xc7\x1b\xe0\xce\x94\x7c\x49\xfd\x02\x36\xed\x42\x28\x3b\x5e\xfc\x3e\xc8\x40\x85\x92\x61\x31\x0f\xa4\xbb\x41\xef\xdd\x7e\x05\x00\x00\xff\xff\xcc\xbc\xdc\x09\x17\x07\x00\x00")
func webUiTemplatesAlertsHtmlBytes() ([]byte, error) { func webUiTemplatesAlertsHtmlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@ -146,7 +146,7 @@ func webUiTemplatesAlertsHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "web/ui/templates/alerts.html", size: 1836, mode: os.FileMode(420), modTime: time.Unix(1509461234, 0)} info := bindataFileInfo{name: "web/ui/templates/alerts.html", size: 1815, mode: os.FileMode(420), modTime: time.Unix(1518537083, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -226,7 +226,7 @@ func webUiTemplatesRulesHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "web/ui/templates/rules.html", size: 989, mode: os.FileMode(420), modTime: time.Unix(1518500411, 0)} info := bindataFileInfo{name: "web/ui/templates/rules.html", size: 989, mode: os.FileMode(420), modTime: time.Unix(1518537083, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }

View file

@ -44,7 +44,7 @@
</td> </td>
</tr> </tr>
{{else}} {{else}}
<tr class="alert_header"> <tr>
<td> <td>
No alerting rules defined No alerting rules defined
</td> </td>