prometheus/web/templates/databases.html

33 lines
864 B
HTML
Raw Normal View History

2013-05-14 05:50:02 -07:00
{{define "head"}}<!-- nix -->{{end}}
{{define "content"}}
2013-07-24 03:37:51 -07:00
<div class="container-fluid">
<h2>Database Information</h2>
2013-08-05 08:31:49 -07:00
{{range $database := .Current }}
<h3>{{$database.Name}}</h3>
2013-07-24 03:37:51 -07:00
<table class="table table-bordered table-condensed table-hover literal_output">
<tbody>
<tr>
2013-08-05 08:31:49 -07:00
<th>Location</th>
<td>{{$database.Location}}</td>
2013-07-24 03:37:51 -07:00
</tr>
<tr>
2013-08-05 08:31:49 -07:00
<th>Purpose</th>
<td>{{$database.Purpose}}</td>
2013-07-24 03:37:51 -07:00
</tr>
<tr>
2013-08-05 08:31:49 -07:00
<th>Size</th>
<td>{{$database.Size}}</td>
2013-07-24 03:37:51 -07:00
</tr>
2013-08-05 08:31:49 -07:00
{{range $subject, $state := $database.Supplemental }}
2013-07-24 03:37:51 -07:00
<tr>
2013-08-05 08:31:49 -07:00
<th>{{$subject}}</th>
<td><pre>{{$state}}</pre></td>
2013-07-24 03:37:51 -07:00
</tr>
2013-08-05 08:31:49 -07:00
{{end}}
2013-07-24 03:37:51 -07:00
</tbody>
</table>
{{end}}
2013-05-14 05:50:02 -07:00
</div>
{{end}}