forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (87 loc) · 3.74 KB
/
index.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
layout: page
title: Tasmota Device Templates Repository
---
<div class="container">
<div class="row">
<div class="column column-60">
<h3>Tasmota Device Templates Repository</h3>
</div>
<div class="column colum-40">
<span style="vertical-align: text-bottom;"><strong>{% assign counter = 0 %}{% for item in site.templates %}{% assign counter=counter | plus:1 %}{% endfor %}{{ counter }}</strong> supported devices submitted by you!</span>
</div>
</div>
<div class="row">
<div class="column">
<strong>Are you into ZigBee too? We have a ZigBee oriented site at <a href="http://zigbee.blakadder.com/">Zigbee Device Compatibility Repository</a></strong>
<p>
</div>
</div>
<div class="row">
<div class="column">
<h4>Devices by type:</h4>
<a class="button button-grey" href="bulb.html">BULBS</a>
<a class="button button-grey" href="plug.html">PLUGS</a>
<a class="button button-grey" href="light.html">LIGHTS</a>
<a class="button button-grey" href="switch.html">SWITCHES</a>
<a class="button button-grey" href="misc.html">MISCELLANEOUS</a>
<a class="button button-black" href="new.html">Add new template</a>
<BR><br>
<a class="button button-red" href="unsupported.html">UNSUPPORTED DEVICES</a>
<a class="button button-black" href="new-unsupported.html">Add unflashable device</a>
</div>
<div class="column">
<h4>Devices by electrical standard:</h4>
{% assign category = site.templates | where: "category", "plug" %}
{% assign standard_group = category | map: 'standard' | join: ',' | split: ',' | uniq | sort_natural %}
{% for std in standard_group %}
<a class="button button-grey" href="{{ std }}.html">{{ std | upcase }}</a>
{% endfor %}
<br>
{% assign category = site.templates | where: "category", "bulb" %}
{% assign standard_group = category | map: 'standard' | join: ',' | split: ',' | uniq | sort_natural %}
{% for std in standard_group %}
<a class="button button-grey" href="{{ std }}.html">{{ std | upcase }}</a>
{% endfor %}
<br>
<a class="button button-grey" href="all.html">ALL DEVICES</a>
<br>
<span style="font-size:0.6em;">See <a href="https://www.worldstandards.eu/electricity/spread-plug-types-map/" target="_blank">world map of plugs</a> and <a href="https://www.bulbs.com/learning/basechart.aspx" target="_blank">light bulb base list</a> for more information.</span>
</div>
</div>
<div>
</div>
<div class="row">
<div class="column">
<h4>Recently added devices:</h4>
{% assign sorted = site.templates | sort: "date_added" | reverse %}
{% for template in sorted limit:13 %}
<li><a class="menu" href="{{site.baseurl}}{{ template.url }}">{{ template.title | truncate: 30 }}
{% assign standard_list = template.standard %}
{% for item_standard in standard_list %}
{{ item_standard | upcase }}
{% endfor %}
{{ template.type }}
{% if template.category contains 'bulb'%}
Bulb
{% endif %}
</a>
</li>
{% endfor %}
</div>
<div class="column">
<h4>Recently added unsupported:</h4>
{% assign sorted = site.unsupported | sort: "date_added" | reverse %}
{% for unsupported in sorted limit:10 %}
<li><a class="menu" href="{{site.baseurl}}{{ unsupported.url }}">{{ unsupported.title | truncate: 30 }}
{% assign standard_list = unsupported.standard %}
{% for item_standard in standard_list %}
{{ item_standard | upcase }}
{% endfor %}
{{ unsupported.type }}
</a>
</li>
{% endfor %}
</div>
</div>
<span style="font-size:0.6em;">As an Amazon Associate I earn from qualifying purchases from provided device links.</span>