aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/manager/html/vms.html
blob: 027233abb83263aa1a872b98bb42932c8c0905bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{/*
Copyright 2024 syzkaller project authors. All rights reserved.
Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
*/}}

<table class="list_table">
	<caption>VM Info:</caption>
	<thead>
	<tr>
		<th><a onclick="return sortTable(this, 'Name', textSort)" href="#">Name</a></th>
		<th><a onclick="return sortTable(this, 'State', textSort)" href="#">State</a></th>
		<th><a onclick="return sortTable(this, 'Since', timeSort)" href="#">Since</a></th>
		<th><a onclick="return sortTable(this, 'Machine Info', timeSort)" href="#">Machine Info</a></th>
		<th><a onclick="return sortTable(this, 'Status', timeSort)" href="#">Status</a></th>
	</tr>
	</thead>
	<tbody>
	{{range $vm := $.VMs}}
	<tr>
		<td>{{$vm.Name}}</td>
		<td>{{$vm.State}}</td>
		<td>{{formatDuration $vm.Since}}</td>
		<td>{{optlink $vm.MachineInfo "info"}}</td>
		<td>{{optlink $vm.DetailedStatus "status"}}</td>
	</tr>
	{{end}}
	</tbody>
</table>