mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
Show number of short jobs per cluster on start page
Fixes ClusterCockpit/cc-frontend#21
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<th>Name</th>
|
||||
<th>Running Jobs</th>
|
||||
<th>Total Jobs</th>
|
||||
<th>Short Jobs in past 24h</th>
|
||||
<th>Jobs</th>
|
||||
{{if .User.IsAdmin}}
|
||||
<th>System View</th>
|
||||
@@ -22,6 +23,7 @@
|
||||
<td>{{.Name}}</td>
|
||||
<td>{{.RunningJobs}}</td>
|
||||
<td>{{.TotalJobs}}</td>
|
||||
<td>{{.RecentShortJobs}}</td>
|
||||
<td><a href="/monitoring/jobs/?cluster={{.Name}}">Jobs</a></td>
|
||||
<td><a href="/monitoring/systems/{{.Name}}">System View</a></td>
|
||||
<td><a href="/monitoring/analysis/{{.Name}}">Analysis View</a></td>
|
||||
@@ -33,6 +35,7 @@
|
||||
<td>{{.Name}}</td>
|
||||
<td>{{.RunningJobs}}</td>
|
||||
<td>{{.TotalJobs}}</td>
|
||||
<td>{{.RecentShortJobs}}</td>
|
||||
<td><a href="/monitoring/jobs/?cluster={{.Name}}">Jobs</a></td>
|
||||
</tr>
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user