forked from pidcodes/pidcodes.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.html
More file actions
49 lines (45 loc) · 1.51 KB
/
org.html
File metadata and controls
49 lines (45 loc) · 1.51 KB
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
{% include data.html %}
{% assign urlparts = page.url|split:"/" %}
{% assign orgname = urlparts[2] %}
{% assign ourpids = pids|where:"owner",orgname %}
<!DOCTYPE html>
<html>
{% include head.html %}
<body class="{% if site.animated %}animated fade-in-down{% endif %}">
<div class="site-wrap">
{% include header.html %}
<div class="post p2 p-responsive wrap" role="main">
<div class="measure">
<div class="post">
<header class="post-header">
<h1 class="h2">{{page.title|xml_escape}}</h1>
</header>
<article class="post-content">
{% if page.site %}
<table>
<tr><th>Site</th><td><a href="{{page.site}}">{{page.site|xml_escape}}</a></td></tr>
</table>
{% endif %}
{{ content }}
<h2>Allocated PIDs</h2>
<table>
<thead>
<tr><th>VID</th><th>PID</th><th>Device</th></tr>
</thead>
{% for pid in ourpids %}
{% assign pidurlparts = pid.url|split:"/" %}
<tr>
<th><a href="/{{pidurlparts[1]}}/">{{pidurlparts[1]}}</a></th>
<th><a href="{{pid.url}}">{{pidurlparts[2]}}</a></th>
<td>{{page.title|xml_escape}} {{pid.title|xml_escape}}</td>
</tr>
{% endfor %}
</table>
</article>
</div>
</div>
</div>
</div>
{% include footer.html %}
</body>
</html>