mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
Add TotalAccHours to project and user lists
This commit is contained in:
parent
616095fe66
commit
9f42f5b28f
@ -45,6 +45,7 @@
|
|||||||
totalJobs
|
totalJobs
|
||||||
totalWalltime
|
totalWalltime
|
||||||
totalCoreHours
|
totalCoreHours
|
||||||
|
totalAccHours
|
||||||
}
|
}
|
||||||
}`,
|
}`,
|
||||||
variables: { jobFilters }
|
variables: { jobFilters }
|
||||||
@ -166,6 +167,18 @@
|
|||||||
<Icon name="sort-numeric-down" />
|
<Icon name="sort-numeric-down" />
|
||||||
</Button>
|
</Button>
|
||||||
</th>
|
</th>
|
||||||
|
<th scope="col">
|
||||||
|
Total Accelerator Hours
|
||||||
|
<Button
|
||||||
|
color={sorting.field == "totalAccHours"
|
||||||
|
? "primary"
|
||||||
|
: "light"}
|
||||||
|
size="sm"
|
||||||
|
on:click={(e) => changeSorting(e, "totalAccHours")}
|
||||||
|
>
|
||||||
|
<Icon name="sort-numeric-down" />
|
||||||
|
</Button>
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -205,6 +218,7 @@
|
|||||||
<td>{row.totalJobs}</td>
|
<td>{row.totalJobs}</td>
|
||||||
<td>{row.totalWalltime}</td>
|
<td>{row.totalWalltime}</td>
|
||||||
<td>{row.totalCoreHours}</td>
|
<td>{row.totalCoreHours}</td>
|
||||||
|
<td>{row.totalAccHours}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{:else}
|
{:else}
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user