mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-14 18:11:58 +00:00
commit
0719b8940e
@ -83,7 +83,7 @@ func templateDefaultTmpl() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "template/default.tmpl", size: 12743, mode: os.FileMode(420), modTime: time.Unix(1452020083, 0)}
|
||||
info := bindataFileInfo{name: "template/default.tmpl", size: 12743, mode: os.FileMode(420), modTime: time.Unix(1454668352, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
@ -182,7 +182,6 @@ type bintree struct {
|
||||
Func func() (*asset, error)
|
||||
Children map[string]*bintree
|
||||
}
|
||||
|
||||
var _bintree = &bintree{nil, map[string]*bintree{
|
||||
"template": &bintree{nil, map[string]*bintree{
|
||||
"default.tmpl": &bintree{templateDefaultTmpl, map[string]*bintree{}},
|
||||
@ -235,3 +234,4 @@ func _filePath(dir, name string) string {
|
||||
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||||
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,9 @@ header #logo a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.gen-link button {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#top-nav a {
|
||||
color: #bbb;
|
||||
@ -53,10 +56,12 @@ header #logo a {
|
||||
.alert-group {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.alert-item .expand, .silence-item .expand {
|
||||
.alert-item .details {
|
||||
float: left;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.alert-item .expand, .silence-item .expand {
|
||||
opacity: .4;
|
||||
}
|
||||
.alert-item:hover .expand, .silence-item:hover .expand {
|
||||
|
@ -1,7 +1,10 @@
|
||||
<div class="alert-item" ng-controller="AlertCtrl">
|
||||
<div class="overview group">
|
||||
<button class="expand" ng-show="showDetails" ng-click="toggleDetails()" type="primary" small>–</button>
|
||||
<button class="expand" ng-hide="showDetails" ng-click="toggleDetails()" type="primary" small>+</button>
|
||||
<div class="btn-group details expand">
|
||||
<button ng-show="showDetails" ng-click="toggleDetails()" type="primary" small>–</button>
|
||||
<button ng-hide="showDetails" ng-click="toggleDetails()" type="primary" small>+</button>
|
||||
<a class=" gen-link" ng-href="{{ alert.generatorURL }}"><button type="primary" small>Source</button></a>
|
||||
</div>
|
||||
|
||||
<div class="labels left">
|
||||
<span ng-repeat="(name, value) in alert.labels | orderBy:name">
|
||||
|
106
ui/bindata.go
106
ui/bindata.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user