Merge pull request #247 from prometheus/feature/database-statistics-exposition

Include forgotten databases.html.
This commit is contained in:
Matt T. Proud 2013-05-14 05:54:32 -07:00
commit 23a85654c7

View file

@ -0,0 +1,39 @@
{{define "head"}}<!-- nix -->{{end}}
{{define "content"}}
<div class="grouping_box">
<h2>Database Information</h2>
{{range .States}}
<div class="grouping_box">
<h3>{{.Name}}</h3>
<table class="literal_output">
<tbody>
<tr>
<th>Path</th>
<td>{{.Path}}</td>
</tr>
<tr>
<th>Last Refreshed</th>
<td>{{.LastRefreshed}}</td>
</tr>
<tr>
<th>Type</th>
<td>{{.Type}}</td>
</tr>
<tr>
<th>Approximate Size</th>
<td>{{.ApproximateSize}}</td>
</tr>
<tr>
<th>Low Level Status</th>
<td><pre>{{.LowLevelStatus}}</pre></td>
</tr>
<tr>
<th>SSTable Status</th>
<td><pre>{{.SSTablesStatus}}</pre></td>
</tr>
</tbody>
</table>
</div>
{{end}}
{{end}}