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
43 lines (40 loc) · 1.29 KB
/
Copy pathorg.html
File metadata and controls
43 lines (40 loc) · 1.29 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
{% 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}}</h1>
</header>
<article class="post-content">
{{ 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}} {{pid.title}}</td>
</tr>
{% endfor %}
</table>
</article>
</div>
</div>
</div>
</div>
{% include footer.html %}
</body>
</html>