27 lines
861 B
HTML
27 lines
861 B
HTML
<table>
|
|
<tr>
|
|
<th>Hersteller</th>
|
|
<th>Modell</th>
|
|
<th>DSA Ports</th>
|
|
<th>Radios</th>
|
|
<th>Schnittstellen</th>
|
|
<th>Empfohlen</th>
|
|
</tr>
|
|
{{ range $device := where .Page.Pages "Params.hardware" "!=" nil }}
|
|
{{ $hw := $device.Params.hardware }}
|
|
<tr>
|
|
<td>{{ $hw.manufacturer }}</td>
|
|
<td><a href="{{ $device.RelPermalink }}">{{ $hw.model }}</a></td>
|
|
<td>{{ where $hw.interface "features" "intersect" (slice "dsa") | len }}</td>
|
|
<td>{{ where $hw.interface "type" "in" (slice "2ghz" "5ghz") | len }}</td>
|
|
<td>
|
|
{{ range $type := slice "sfp" "rj45" "2ghz" "5ghz" }}
|
|
{{ $n := (where $hw.interface "type" "in" (slice $type) | len) }}
|
|
{{ if gt $n 0 }}{{ $n }}x<code>{{ $type }}</code>{{ end }}
|
|
{{ end }}
|
|
</td>
|
|
<td>{{ cond $hw.recommended (emojify ":heavy_check_mark:") (emojify ":x:") }}</td>
|
|
</tr>
|
|
{{ end }}
|
|
</table>
|