github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/pkg/manager/html/vms.html (about)

     1  {{/*
     2  Copyright 2024 syzkaller project authors. All rights reserved.
     3  Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     4  */}}
     5  
     6  <table class="list_table">
     7  	<caption>VM Info:</caption>
     8  	<thead>
     9  	<tr>
    10  		<th><a onclick="return sortTable(this, 'Name', textSort)" href="#">Name</a></th>
    11  		<th><a onclick="return sortTable(this, 'State', textSort)" href="#">State</a></th>
    12  		<th><a onclick="return sortTable(this, 'Since', timeSort)" href="#">Since</a></th>
    13  		<th><a onclick="return sortTable(this, 'Machine Info', timeSort)" href="#">Machine Info</a></th>
    14  		<th><a onclick="return sortTable(this, 'Status', timeSort)" href="#">Status</a></th>
    15  	</tr>
    16  	</thead>
    17  	<tbody>
    18  	{{range $vm := $.VMs}}
    19  	<tr>
    20  		<td>{{$vm.Name}}</td>
    21  		<td>{{$vm.State}}</td>
    22  		<td>{{formatDuration $vm.Since}}</td>
    23  		<td>{{optlink $vm.MachineInfo "info"}}</td>
    24  		<td>{{optlink $vm.DetailedStatus "status"}}</td>
    25  	</tr>
    26  	{{end}}
    27  	</tbody>
    28  </table>