forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.html
51 lines (47 loc) · 1.45 KB
/
global.html
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
---
layout: default
title: Global Devices
---
<h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign standard_global = site.templates | where: "standard", "global" | sort_natural: 'title' %}
{% assign standard = standard_global %}
<h3>Plugs, Sockets & Power Strips</h3>
<table id="Devices" width="80%">
<tbody>
{% assign plug = standard | where: "category", "plug" | sort_natural: 'title' %}
{% for template in plug %}
{% include tablerow.html %}
{% endfor %}
</tbody>
</table>
<!-- ###################################################################### -->
<h3>Lights</h3>
<table id="Devices" width="80%">
<tbody>
{% assign light = standard | where: "category", "light" | sort_natural: 'title' %}
{% for template in light %}
{% include tablerow.html %}
{% endfor %}
</tbody>
</table>
<!-- ###################################################################### -->
<h3>Switches & Dimmers</h3>
<table id="Devices" width="80%">
<tbody>
{% assign switch = standard | where: "category", "switch" | sort_natural: 'title' %}
{% for template in switch %}
{% include tablerow.html %}
{% endfor %}
</tbody>
</table>
<!-- ###################################################################### -->
<h3>Miscellaneous</h3>
<table id="Devices" width="80%">
<tbody>
{% assign misc = standard | where: "category", "misc" | sort_natural: 'title' %}
{% for template in misc %}
{% include tablerow.html %}
{% endfor %}
</tbody>
</table>