~emersion/drmdb

ref: bd3e1f90e7eaa1c7c0c91f817df19705f39c02ef drmdb/public/property.html -rw-r--r-- 977 bytes
bd3e1f90Simon Ser Filter properties by driver name 8 months 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
{{template "head" (printf "Property: %s" .Name)}}

<h1>DRM database property: <code>{{.Name}}</code></h1>

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

<h2>Details</h2>

<dl>
    <dt>Name</dt>
    <dd><code>{{.Name}}</code></dd>

    <dt>Flags</dt>
    {{if len .Flags}}
    <dd>{{join .Flags ", "}}</dd>
    {{else}}
    <dd class="muted">&lt;none&gt;</dd>
    {{end}}

    <dt>Type</dt>
    <dd>{{.Prop.Type}}</dd>

    <dt>Attached to</dt>
    <dd>{{.ObjectType}}</dd>

    <dt>Specification</dt>
    {{if .Spec}}
    <dd class="pre">{{.Spec}}</dd>
    {{else}}
    <dd class="muted">&lt;none&gt;</dd>
    {{end}}
</dl>

{{if .Doc}}
<h2>Documentation</h2>

<p><pre>{{.Doc}}</pre></p>
{{end}}

<h2>Driver support</h2>

<div class="driver-support">
{{range $name, $ok := .Drivers}}
  <div>
    {{if $ok}}
    <span class="status-supported"></span>
    {{else}}
    <span class="status-unsupported"></span>
    {{end}}
    {{$name}}
  </div>
{{end}}
</div>

{{template "foot"}}