Merge pull request #840 from prometheus/fix-scrape-errors-ui

Fix blown-up scrape error display in web UI.
This commit is contained in:
Julius Volz 2015-06-24 17:55:01 +02:00
commit 9607b8bbdb
3 changed files with 3 additions and 4 deletions

View file

@ -12,7 +12,6 @@ th.job_header {
.state_indicator {
padding: 0 4px 0 4px;
text-transform: uppercase;
}
.literal_output td {

View file

@ -36,7 +36,7 @@
<span class="label label-primary">{{$label}}="{{$value}}"</span>
{{end}}
</td>
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator">{{.State}}</span></td>
<td><span class="alert alert-{{ .State | alertStateToClass }} state_indicator text-uppercase">{{.State}}</span></td>
<td>{{.ActiveSince.Time.UTC}}</td>
<td>{{.Value}}</td>
<td><a href="#" class="silence_alert_link">Silence&hellip;</a></td>

View file

@ -55,7 +55,7 @@
{{end}}
</td>
<td>
<span class="alert alert-{{ .Status.Health | healthToClass }} state_indicator">
<span class="alert alert-{{ .Status.Health | healthToClass }} state_indicator text-uppercase">
{{.Status.Health}}
</span>
</td>
@ -76,7 +76,7 @@
</td>
<td>
{{if .Status.LastError}}
<span class="alert alert-danger target_status_alert">{{.Status.LastError}}</span>
<span class="alert alert-danger state_indicator">{{.Status.LastError}}</span>
{{end}}
</td>
</tr>