2013-04-02 17:14:02 +00:00
|
|
|
{{define "head"}}<!-- nix -->{{end}}
|
|
|
|
|
2013-03-27 16:40:01 +00:00
|
|
|
{{define "content"}}
|
|
|
|
<h2>Status</h2>
|
2013-02-12 12:15:40 +00:00
|
|
|
<div class="grouping_box">
|
|
|
|
{{.Status}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>Configuration</h2>
|
|
|
|
<div class="grouping_box">
|
|
|
|
<pre>
|
|
|
|
{{.Config}}
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>Rules</h2>
|
|
|
|
<div class="grouping_box">
|
|
|
|
{{.Rules}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2>Targets</h2>
|
2013-02-22 20:07:35 +00:00
|
|
|
<div class="grouping_box">
|
|
|
|
<ul>
|
|
|
|
{{range $job, $pool := .TargetPools}}
|
|
|
|
<li>{{$job}}
|
|
|
|
<ul>
|
|
|
|
{{range $pool.Targets}}
|
|
|
|
<li>
|
2013-03-21 11:07:13 +00:00
|
|
|
<a href="{{.Address}}">{{.Address}}</a> (State: {{.State}}, Base Labels: {{.BaseLabels}})
|
2013-02-22 20:07:35 +00:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
2013-02-12 12:15:40 +00:00
|
|
|
</div>
|
2013-03-27 16:40:01 +00:00
|
|
|
{{end}}
|