Link to running-only jobs from home; Update frontend

This commit is contained in:
Lou Knauer 2022-03-10 16:01:09 +01:00
parent a448868f9c
commit 78bbddbd68
2 changed files with 6 additions and 9 deletions

@ -1 +1 @@
Subproject commit 415335f616f36e5c0785aee1a63eacb1803a57c9 Subproject commit eae185a9f6c006b61657df6897447f9a0761b42f

View File

@ -6,10 +6,9 @@
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Running Jobs</th> <th>Running Jobs (short ones not listed)</th>
<th>Total Jobs</th> <th>Total Jobs</th>
<th>Short Jobs in past 24h</th> <th>Short Jobs in past 24h</th>
<th>Jobs</th>
{{if .User.IsAdmin}} {{if .User.IsAdmin}}
<th>System View</th> <th>System View</th>
<th>Analysis View</th> <th>Analysis View</th>
@ -21,10 +20,9 @@
{{range .Infos.clusters}} {{range .Infos.clusters}}
<tr> <tr>
<td>{{.Name}}</td> <td>{{.Name}}</td>
<td>{{.RunningJobs}}</td> <td><a href="/monitoring/jobs/?cluster={{.Name}}&state=running">{{.RunningJobs}} jobs</a></td>
<td>{{.TotalJobs}}</td> <td><a href="/monitoring/jobs/?cluster={{.Name}}">{{.TotalJobs}} jobs</a></td>
<td>{{.RecentShortJobs}}</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/systems/{{.Name}}">System View</a></td>
<td><a href="/monitoring/analysis/{{.Name}}">Analysis View</a></td> <td><a href="/monitoring/analysis/{{.Name}}">Analysis View</a></td>
</tr> </tr>
@ -33,10 +31,9 @@
{{range .Infos.clusters}} {{range .Infos.clusters}}
<tr> <tr>
<td>{{.Name}}</td> <td>{{.Name}}</td>
<td>{{.RunningJobs}}</td> <td><a href="/monitoring/jobs/?cluster={{.Name}}&state=running">{{.RunningJobs}} jobs</a></td>
<td>{{.TotalJobs}}</td> <td><a href="/monitoring/jobs/?cluster={{.Name}}">{{.TotalJobs}} jobs</a></td>
<td>{{.RecentShortJobs}}</td> <td>{{.RecentShortJobs}}</td>
<td><a href="/monitoring/jobs/?cluster={{.Name}}">Jobs</a></td>
</tr> </tr>
{{end}} {{end}}
{{end}} {{end}}