cc-backend/templates/home.tmpl

28 lines
866 B
Cheetah
Raw Normal View History

{{define "content"}}
<div class="row">
2022-02-15 10:03:09 +01:00
<div class="col">
2021-12-09 16:27:48 +01:00
<h2>Clusters</h2>
<table class="table">
<thead>
<tr>
2021-12-17 15:49:22 +01:00
<th>Name</th>
2021-12-09 16:27:48 +01:00
<th>Jobs</th>
<th>System View</th>
2022-02-03 10:42:15 +01:00
<th>Analysis View</th>
2021-12-09 16:27:48 +01:00
</tr>
</thead>
<tbody>
{{range .Infos.clusters}}
<tr>
2021-12-17 15:49:22 +01:00
<td>{{.Name}}</td>
<td><a href="/monitoring/jobs/?cluster={{.Name}}">Jobs</a></td>
<td><a href="/monitoring/systems/{{.Name}}">System View</a></td>
2022-02-03 10:42:15 +01:00
<td><a href="/monitoring/analysis/{{.Name}}">Analysis View</a></td>
2021-12-09 16:27:48 +01:00
</tr>
{{end}}
</tbody>
</table>
</div>
</div>
{{end}}