aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/manager/html/vms.html
blob: 35c9d6c8c6722c205c5f6c0cc97008c1aad280e0 (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
{{/*
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>
	<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>
	{{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}}
</table>