Serge Bazanski | 7762831 | 2023-02-15 23:33:22 +0100 | [diff] [blame] | 1 | {{ template "base.html" .Base }} |
| 2 | <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 -}} |
| 28 | {{- template "fragment_tag.html" $tag -}} |
| 29 | {{- end -}} |
| 30 | </td> |
| 31 | </tr> |
| 32 | {{ end -}} |
| 33 | </table> |
Tim Windelschmidt | f984e1e | 2023-04-19 23:12:38 +0200 | [diff] [blame] | 34 | <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 Bazanski | 7762831 | 2023-02-15 23:33:22 +0100 | [diff] [blame] | 46 | <p class="small faint mono"> |
| 47 | {{ .NMachines }} rows, rendered in {{ .RenderTime }}. Query: {{ .Query }} |
| 48 | </p> |