ui: fix alert template

This commit is contained in:
Fabian Reinartz 2017-05-10 15:30:10 +02:00
parent 9b175d48cb
commit 9a9211845e
2 changed files with 8 additions and 8 deletions

View File

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

View File

@ -35,7 +35,7 @@
{{end}}
</td>
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator text-uppercase">{{.State}}</span></td>
<td>{{.ActiveAt.Time.UTC}}</td>
<td>{{.ActiveAt.UTC}}</td>
<td>{{.Value}}</td>
</tr>
{{end}}