~emersion/drmdb

ref: a85c27af65ce9e831bcaf14da813dc24b495d376 drmdb/public/capabilities.html -rw-r--r-- 1.5 KiB
a85c27afSimon Ser Filter capabilities by driver name a month ago
                                                                                
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{{template "head" "Capabilities"}}

<div style="margin: 0">
  <h1>DRM database capabilities</h1>

  <p><a href="/">Back to index</a></p>

  <h2>Driver capabilities</h2>

  <table>
      <thead>
          <tr>
              <th>Capability</th>
              {{range .Drivers}}
              <th><a href="?driver={{.}}" title="Only show {{.}} capabilities">{{.}}</a></th>
              {{end}}
          </tr>
      </thead>
      <tbody>
          {{range $name, $drivers := .Caps}}
          <tr>
              <td class="pre">{{$name}}</td>
              {{range $.Drivers}}
              {{if index $drivers .}}
              <td>{{index $drivers .}}</td>
              {{else}}
              <td></td>
              {{end}}
              {{end}}
          </tr>
          {{end}}
      </tbody>
  </table>

  <h2>Client capabilities</h2>

  <table>
      <thead>
          <tr>
              <th>Client capability</th>
              {{range .Drivers}}
              <th><a href="?driver={{.}}" title="Only show {{.}} capabilities">{{.}}</a></th>
              {{end}}
          </tr>
      </thead>
      <tbody>
          {{range $name, $drivers := .ClientCaps}}
          <tr>
              <td class="pre">{{$name}}</td>
              {{range $.Drivers}}
              {{if index $drivers .}}
              <td class="status-supported"></td>
              {{else}}
              <td class="status-unsupported"></td>
              {{end}}
              {{end}}
          </tr>
          {{end}}
      </tbody>
  </table>
</div>

{{template "foot"}}