blob: b31f9b6a40b7673a4631c7bcaf51caee7e0be3b6 [file] [log] [blame]
Tim Windelschmidt93b6fad2023-05-04 16:35:17 +02001{{ template "base.gohtml" .Base }}
Serge Bazanski77628312023-02-15 23:33:22 +01002<h2>Machine List</h2>
3<p>
4 Click on a Machine ID to explore it further. Commonly viewed tags are expanded.
5</p>
6<table>
7 <tr>
8 <th>Machine ID</th>
9 <th>Work</th>
10 <th>Backoffs</th>
11 <th>Tags</th>
12 </tr>
13 {{ range .Machines -}}
14 <tr>
15 <td class="mono"><a href="/machine/{{ .ID }}">{{ .ID }}</a></td>
16 <td>
17 {{- range $process, $work := .Work -}}
18 <b><a href="/session/{{ $work.SessionID }}">{{ $process }}</a></b>
19 {{- end -}}
20 </td>
21 <td>
22 {{- range $process, $backoff := .Backoffs -}}
23 <b>{{ $backoff.Process }}</b>(<span class="small">{{ summarizeError .Cause }}</span>)
24 {{- end -}}
25 </td>
26 <td>
27 {{- range $name, $tag := .Tags -}}
Tim Windelschmidt93b6fad2023-05-04 16:35:17 +020028 {{- template "fragment_tag.gohtml" $tag -}}
Serge Bazanski77628312023-02-15 23:33:22 +010029 {{- end -}}
30 </td>
31 </tr>
32 {{ end -}}
33</table>
Tim Windelschmidtf984e1e2023-04-19 23:12:38 +020034<table>
35 <tr>
36 {{ range $name, $count := .TagCount -}}
37 <th>{{ $name }}</th>
38 {{ end -}}
39 </tr>
40 <tr>
41 {{ range $name, $count := .TagCount -}}
42 <td>{{ $count }}</td>
43 {{ end -}}
44 </tr>
45</table>
Serge Bazanski77628312023-02-15 23:33:22 +010046<p class="small faint mono">
47 {{ .NMachines }} rows, rendered in {{ .RenderTime }}. Query: {{ .Query }}
48</p>