about summary refs log tree commit diff stats
path: root/frontend/templates/blocks/packages.gotmpl
blob: cce97a09f0f73b7004ea75ad49694b3afa5db18c (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
29
30
{{- define "hits" }}
  <table>
    <thead>
      <tr>
        <th scope="col">Attribute</th>
        <th scope="col">Name</th>
        <th scope="col">Description</th>
      </tr>
    </thead>
    <tbody>
      {{- range . }}
        {{- with .Data }}
          <tr>
            <td>
              {{- with .Attribute }}
                <a href="{{ . }}" class="open-dialog">{{ . }}</a>
              {{- end }}
            </td>
            <td>
              {{ .Name }}
            </td>
            <td>
              {{ .Description }}
            </td>
          </tr>
        {{- end }}
      {{- end }}
    </tbody>
  </table>
{{- end }}